aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-04-15 20:53:00 -0500
committerRob Landley <rob@landley.net>2015-04-15 20:53:00 -0500
commit08f51b53be06671f4bd6f57467182fd2b081b2c4 (patch)
tree1e370d599dd22ff6f0648662fda07f1e516023d1 /lib
parent77d74244b4eb7e56fccf1f7c9a2a681beea1cc72 (diff)
downloadtoybox-08f51b53be06671f4bd6f57467182fd2b081b2c4.tar.gz
Put SELINUX in a a menu, and add config option for SMACK.
Diffstat (limited to 'lib')
-rw-r--r--lib/portability.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/portability.h b/lib/portability.h
index a10213e5..f23d4f6e 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -246,3 +246,7 @@ pid_t xfork(void);
#define is_selinux_enabled() 0
int getcon(void* con);
#endif
+
+#if CFG_TOYBOX_SMACK
+#include <sys/smack.h>
+#endif