]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: translate internal ext4 acl to Posix ACL in ext2fs_xattr_[sg]et()
authorTheodore Ts'o <tytso@mit.edu>
Sun, 29 Jan 2017 03:34:16 +0000 (22:34 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Jan 2017 03:34:16 +0000 (22:34 -0500)
commit0ee1eaf70c257e08f87edc952e63bbfc95d5deba
tree0cddbdb29eb1d4951ff99ccda8e67dc299a76078
parent997e213ba44841b8523f15909c589d4d49190c1c
libext2fs: translate internal ext4 acl to Posix ACL in ext2fs_xattr_[sg]et()

ext2fs_xattr_[sg]et() will now translate the Posix ACL xattrs to and
from the internal ext4 attr format, since the callers of the libext2fs
are much more likely to want to use the public Posix ACL format.

For debugfs and those applications that want to see the on-disk
format, the new ext4fs_xattr_flags() function will allow those callers
to request the raw format.

Addresses-Launchpad-Bug: #1645232

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/xattrs.c
lib/ext2fs/Makefile.in
lib/ext2fs/ext2fs.h
lib/ext2fs/ext4_acl.h [new file with mode: 0644]
lib/ext2fs/ext_attr.c
lib/support/Makefile.in