ext2/3 updates for 2.5.44 (7/11): core acl support 1
PATCH 1/1 ext2/3 updates for 2.5.44 (7/11): core acl support 1
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/10/20 [email protected] 1.816
# Port of 0.8.50 acl patch to 2.5
#
# This patch (as well as the following two) implements core ACL support. # This set of convenience functions is used by the ext2/3 filesystem,
# and may be useful to other filesystems that wish to use "struct posix_acl" # as their internal representation of acl's. User mode tools which # support this interface may be found at http://acl.bestbits.at # -------------------------------------------- # # fs/Config.in | 5 # fs/Makefile | 1 # fs/posix_acl.c | 412 ++++++++++++++++++++++++++++++++++++++++++++++ # include/linux/posix_acl.h | 87 +++++++++ # 4 files changed, 505 insertions(+) # diff -Nru a/fs/Config.in b/fs/Config.in --- a/fs/Config.in Sun Oct 20 04:41:36 2002 +++ b/fs/Config.in Sun Oct 20 04:41:36 2002 @@ -195,6 +195,11 @@ fi fi
+# Posix ACL utility routines (for now, only ext2/ext3)
+if [ "$CONFIG_EXT2_FS_POSIX_ACL" = "y" -o "$CONFIG_EXT3_FS_POSIX_ACL" = "y" ]; then
+ define_bool CONFIG_FS_POSIX_ACL y
+fi
+
mainmenu_option next_comment
comment 'Partition Types'
source fs/partitions/Config.in
fs/Makefile +1 -0
@@ -31,6 +31,7 @@ obj-$(CONFIG_BINFMT_ELF) += binfmt_elf.o obj-$(CONFIG_FS_MBCACHE) += mbcache.o +obj-$(CONFIG_FS_POSIX_ACL) += posix_acl.o obj-$(CONFIG_QUOTA) += dquot.o obj-$(CONFIG_QFMT_V1) += quota_v1.o
fs/posix_acl.c new file +412 -0
412 lines not on this page · raw message
include/linux/posix_acl.h new file +87 -0
87 lines not on this page · raw message