summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-10-29 11:49:38 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-10-29 11:49:38 +0200
commit97ab15cc9eadc1aab563b87a0c92d559cd9e9a41 (patch)
treef0bfcae2120475b36a4fe451b95ad3b083bac2a0 /system.h
parenta792c55ffae23f483121401fe4ca6724abc57bb5 (diff)
downloadlibrpm-tizen-97ab15cc9eadc1aab563b87a0c92d559cd9e9a41.tar.gz
librpm-tizen-97ab15cc9eadc1aab563b87a0c92d559cd9e9a41.tar.bz2
librpm-tizen-97ab15cc9eadc1aab563b87a0c92d559cd9e9a41.zip
Add fsm and rpmfi machinery for file capabilities
- new rpmfiFCaps() API to retrieve the info from rpmfi set - fsm internals quite similar to selinux handling - plenty of #ifdef's, another possibility would be adding cap_foo dummies to system.h like for selinux
Diffstat (limited to 'system.h')
-rw-r--r--system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/system.h b/system.h
index 3818e12dd..8c2f8150f 100644
--- a/system.h
+++ b/system.h
@@ -229,6 +229,8 @@ void * _free(void * p)
#if WITH_CAP
#include <sys/capability.h>
+#else
+typedef void * cap_t;
#endif
#if WITH_ACL