diff options
author | Ryan O'Hara <rohara@redhat.com> | 2006-05-22 10:08:35 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-05-22 10:08:35 -0400 |
commit | 639b6d79b8c20cce4079fb035640c65456324d1c (patch) | |
tree | ef3cf33f8b7f3d943ced0e461e1987cd34fc8c42 /include/linux/gfs2_ondisk.h | |
parent | d2f222e6310b073ae3d91b8d3d676621fae1314e (diff) |
[GFS2] selinux support
This adds support to GFS2 for selinux extended attributes. There is a
known bug in gfs2_ea_get() which is believed to be independant of this
patch. Further patches will follow once that bug is fixed in order to
make GFS2 use as much of the generic eattr infrastructure as possible.
Signed-off-by: Ryan O'Hara <rohara@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include/linux/gfs2_ondisk.h')
-rw-r--r-- | include/linux/gfs2_ondisk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h index 4356e3864643..3893aac4e3ae 100644 --- a/include/linux/gfs2_ondisk.h +++ b/include/linux/gfs2_ondisk.h | |||
@@ -311,8 +311,9 @@ struct gfs2_leaf { | |||
311 | #define GFS2_EATYPE_UNUSED 0 | 311 | #define GFS2_EATYPE_UNUSED 0 |
312 | #define GFS2_EATYPE_USR 1 | 312 | #define GFS2_EATYPE_USR 1 |
313 | #define GFS2_EATYPE_SYS 2 | 313 | #define GFS2_EATYPE_SYS 2 |
314 | #define GFS2_EATYPE_SECURITY 3 | ||
314 | 315 | ||
315 | #define GFS2_EATYPE_LAST 2 | 316 | #define GFS2_EATYPE_LAST 3 |
316 | #define GFS2_EATYPE_VALID(x) ((x) <= GFS2_EATYPE_LAST) | 317 | #define GFS2_EATYPE_VALID(x) ((x) <= GFS2_EATYPE_LAST) |
317 | 318 | ||
318 | #define GFS2_EAFLAG_LAST 0x01 /* last ea in block */ | 319 | #define GFS2_EAFLAG_LAST 0x01 /* last ea in block */ |