Skip to contentSkip to conversation

9/11 Ext2/3 Updates: Extended attributes, ACL, etc.

PATCH New [email protected] 1 participant 1 message Oct 29, 2002 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 9/11 Ext2/3 Updates: Extended attributes, ACL, etc.

Port 0.8.50 acl-xattr patch to 2.5 (harmonize header file with SGI/XFS)

This patch provides converts extended attributes passed in from user space to a generic Posix ACL representation.

fs/Makefile                     |    5 +-
fs/xattr_acl.c                  |   99 ++++++++++++++++++++++++++++++++++++++++
include/linux/posix_acl_xattr.h |   55 ++++++++++++++++++++++
include/linux/xattr_acl.h       |   50 ++++++++++++++++++++
4 files changed, 207 insertions(+), 2 deletions(-)
fs/Makefile +3 -2
diff -Nru a/fs/Makefile b/fs/Makefile
@@ -6,7 +6,8 @@
 # 
 
 export-objs :=	open.o dcache.o buffer.o bio.o inode.o dquot.o mpage.o aio.o \
-                fcntl.o read_write.o dcookies.o mbcache.o posix_acl.o
+                fcntl.o read_write.o dcookies.o mbcache.o posix_acl.o \
+		xattr_acl.o
 
 obj-y :=	open.o read_write.o devices.o file_table.o buffer.o \
 		bio.o super.o block_dev.o char_dev.o stat.o exec.o pipe.o \
@@ -31,7 +32,7 @@
 obj-$(CONFIG_BINFMT_ELF)	+= binfmt_elf.o
 
 obj-$(CONFIG_FS_MBCACHE)	+= mbcache.o
-obj-$(CONFIG_FS_POSIX_ACL)	+= posix_acl.o
+obj-$(CONFIG_FS_POSIX_ACL)	+= posix_acl.o xattr_acl.o
 
 obj-$(CONFIG_QUOTA)		+= dquot.o
 obj-$(CONFIG_QFMT_V1)		+= quota_v1.o
fs/xattr_acl.c new file +99 -0

99 lines not on this page · raw message

include/linux/posix_acl_xattr.h new file +55 -0

55 lines not on this page · raw message

include/linux/xattr_acl.h new file +50 -0

50 lines not on this page · raw message