diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-10-26 14:18:17 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-10-26 14:18:17 +0200 |
commit | f4b5bd55db623f83d75d0d60432f48cf0a7d2ef5 (patch) | |
tree | 827f96163da744ad46f608a751cb65cc5076b557 /system.h | |
parent | 770a0f34c90b59460372da181895b3a2802113f1 (diff) | |
download | rpm-f4b5bd55db623f83d75d0d60432f48cf0a7d2ef5.tar.gz rpm-f4b5bd55db623f83d75d0d60432f48cf0a7d2ef5.tar.bz2 rpm-f4b5bd55db623f83d75d0d60432f48cf0a7d2ef5.zip |
Beginnings of acl (POSIX.1e draft 17) verification support
- if built with --with-acl, check that files and directories don't have
any extra acl's set
- for now, any acl beyond the regular unix permission set is reported as
file mode difference as the acl's cannot have been set by rpm itself
- patch from Andreas Gruenbacher, modified to use libacl instead of raw
xattrs for portability, BUT atm this uses non-portable acl_equiv_mode()
Linux libacl extension, the posix draft doesn't seem to have much in
the way of comparing entries :-/
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -231,6 +231,10 @@ void * _free(void * p) #include <sys/capability.h> #endif +#if WITH_ACL +#include <acl/libacl.h> +#endif + /** * Wrapper to free(3), permit NULL, return NULL. * For documenting cases where const is used to protect long-lived |