Posix ACL support for ext 2/3 filesystems (1/5)
PATCH 4/9 Posix ACL support for ext 2/3 filesystems (1/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
These patches require that the extended attribute patches be applied first.
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
#
# fs/Config.in | 5 # fs/Makefile | 1 # fs/posix_acl.c | 412 ++++++++++++++++++++++++++++++++++++++++++++++ # include/linux/posix_acl.h | 87 +++++++++
# 4 files changed, 505 insertions(+)
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/10/18 [email protected] 1.812
# 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 # -------------------------------------------- # diff -Nru a/fs/Config.in b/fs/Config.in --- a/fs/Config.in Fri Oct 18 14:27:31 2002 +++ b/fs/Config.in Fri Oct 18 14:27:31 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