diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-10-26 14:17:16 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-10-26 14:17:16 +0200 |
commit | 770a0f34c90b59460372da181895b3a2802113f1 (patch) | |
tree | b08aafa1f4a7f60100e0d5c34d03634207720126 /system.h | |
parent | ca40fafedb504ff0195e347886e96a0268b3f5db (diff) | |
download | rpm-770a0f34c90b59460372da181895b3a2802113f1.tar.gz rpm-770a0f34c90b59460372da181895b3a2802113f1.tar.bz2 rpm-770a0f34c90b59460372da181895b3a2802113f1.zip |
Beginnings of file capability (POSIX.1e draft 15) verification support
- add minimal bits and pieces to check for capabilities in files on verify
- for now, any capability set is a verification failure as the capability
cannot have been set by rpm itself
- patch from Andreas Gruenbacher, modified to use libcap instead of raw
xattrs for portability
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -227,6 +227,10 @@ void * _free(void * p) return NULL; } +#if WITH_CAP +#include <sys/capability.h> +#endif + /** * Wrapper to free(3), permit NULL, return NULL. * For documenting cases where const is used to protect long-lived |