From 97ab15cc9eadc1aab563b87a0c92d559cd9e9a41 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 29 Oct 2008 11:49:38 +0200 Subject: 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 --- system.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system.h') 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 +#else +typedef void * cap_t; #endif #if WITH_ACL -- cgit v1.2.3