5 #define IATTR_TAG 0x01000000
7 #define IATTR_ADMIN 0x00000001
8 #define IATTR_WATCH 0x00000002
9 #define IATTR_HIDE 0x00000004
10 #define IATTR_FLAGS 0x00000007
12 #define IATTR_BARRIER 0x00010000
13 #define IATTR_IUNLINK 0x00020000
14 #define IATTR_IMMUTABLE 0x00040000
19 #ifdef CONFIG_VSERVER_PROC_SECURE
20 #define IATTR_PROC_DEFAULT ( IATTR_ADMIN | IATTR_HIDE )
21 #define IATTR_PROC_SYMLINK ( IATTR_ADMIN )
23 #define IATTR_PROC_DEFAULT ( IATTR_ADMIN )
24 #define IATTR_PROC_SYMLINK ( IATTR_ADMIN )
27 #define vx_hide_check(c,m) (((m) & IATTR_HIDE) ? vx_check(c,m) : 1)
29 #endif /* __KERNEL__ */
33 #define FIOC_GETXFLG _IOR('x', 5, long)
34 #define FIOC_SETXFLG _IOW('x', 6, long)
36 #else /* _VX_INODE_H */
37 #warning duplicate inclusion
38 #endif /* _VX_INODE_H */