summaryrefslogtreecommitdiff
path: root/src/shared/smack-util.h
diff options
context:
space:
mode:
authorƁukasz Stelmach <l.stelmach@samsung.com>2014-02-19 16:56:34 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-24 17:37:41 +0100
commitb9c1bc28eb538fa25ad03437489dab7434dcd592 (patch)
treea5e9f7e681a8bb1d8da2e0ef357194166b66925b /src/shared/smack-util.h
parente49d3c016751c03e544697656e8e596af8a664d7 (diff)
smack: rework security labeling for multiple frameworks
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 42895ff805..7370ae32b3 100644
--- a/src/shared/smack-util.h
+++ b/src/shared/smack-util.h
@@ -25,7 +25,11 @@
#include <stdbool.h>
+#define SMACK_FLOOR_LABEL "_"
+#define SMACK_STAR_LABEL "*"
+
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);