summaryrefslogtreecommitdiff
path: root/src/shared/smack-util.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-10-11 09:47:31 +0200
committerKay Sievers <kay@vrfy.org>2013-10-11 10:16:41 +0200
commit9a4e038c1519d836d217fac5df3722e6a02ea78d (patch)
tree62cdab0fa3da479f39317a049908ca9265d0040f /src/shared/smack-util.h
parentadcdb3747609962881301ed19636002dd34c05a0 (diff)
smack: minimize ifdef use, and move all labeling to smack-util.c
Diffstat (limited to 'src/shared/smack-util.h')
-rw-r--r--src/shared/smack-util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/smack-util.h b/src/shared/smack-util.h
index 7b950ea0cb..42895ff805 100644
--- a/src/shared/smack-util.h
+++ b/src/shared/smack-util.h
@@ -26,3 +26,7 @@
#include <stdbool.h>
bool use_smack(void);
+int smack_label_path(const char *path, const char *label);
+int smack_label_fd(int fd, const char *label);
+int smack_label_ip_in_fd(int fd, const char *label);
+int smack_label_ip_out_fd(int fd, const char *label);