summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2011-04-04 12:43:39 +0200
committerAndreas Gruenbacher <agruen@linbit.com>2011-04-04 18:40:55 +0200
commit6bf5e24d48077db58b389e90558100fc121b8134 (patch)
treefc760711729113152560c1aae6b9e800d935d80f /include
parentcd31bafa745bb0603a26a39ad8d7e4abd2756c10 (diff)
downloadacl-6bf5e24d48077db58b389e90558100fc121b8134.tar.gz
libacl: Add acl_extended_file_nofollow()
This function calls lgetxattr() instead of getxattr(), which helps ls(1) to prevent unnecessary automatic mounts, which acl_extended_file() triggers. See the following bug report for more details: https://bugzilla.redhat.com/692982
Diffstat (limited to 'include')
-rw-r--r--include/libacl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libacl.h b/include/libacl.h
index 41ec48e..d6a6650 100644
--- a/include/libacl.h
+++ b/include/libacl.h
@@ -59,6 +59,7 @@ extern int acl_check(acl_t acl, int *last);
extern acl_t acl_from_mode(mode_t mode);
extern int acl_equiv_mode(acl_t acl, mode_t *mode_p);
int acl_extended_file(const char *path_p);
+int acl_extended_file_nofollow(const char *path_p);
int acl_extended_fd(int fd);
extern int acl_entries(acl_t acl);
extern const char *acl_error(int code);