summaryrefslogtreecommitdiff
path: root/libacl/acl_extended_file_nofollow.c
Commit message (Collapse)AuthorAgeFilesLines
* Update my email addressAndreas Gruenbacher2020-02-061-1/+1
|
* Rework config.h usageYury Usishchev2016-02-151-0/+1
| | | | | | | | | Move #include "config.h" from misc.h to every source file. It's incorrect to include it after a system header file because it does things like: Those must come before you include any system header file in order for them to work properly. It hasn't bitten us so far, but we still should fix the files to do the right thing.
* fix compilation with latest xattr gitBrice De Bruyne2015-04-271-1/+1
| | | | | | | | | | | | | The attr package has <attr/xattr.h> removed, but acl has not been adapted yet. I took the liberty to cook up this patch that includes <sys/xattr.h> instead of <attr/xattr.h> in affected c files and I added errno.h plus a define of ENOATTR to c files where needed. I also removed the AC_PACKAGE_NEED_ATTR_XATTR_H definition from package_attrdev.m4, and changed configure to skip this test. Further changes by Andreas: Move the ENOATTR check into libacl.h.
* Minor fixes to the previous commitAndreas Gruenbacher2011-04-041-2/+1
| | | | | | | | | | * Assign the new libacl version ACL_1.2 to acl_extended_file_nofollow so that package managers will end up with the appropriate dependencies. * Add a manpage entry for acl_extended_file_nofollow which sources ("links to") the acl_extended_file manpage. * Remove the prototype for getxattr/lgetxattr. * Whitespace cleanups.
* libacl: Add acl_extended_file_nofollow()Kamil Dudka2011-04-041-0/+34
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