chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test-pty: silence a warning
[elogind.git]
/
src
/
shared
/
smack-util.h
diff --git
a/src/shared/smack-util.h
b/src/shared/smack-util.h
index 7b950ea0cb65619f64d1250acb1b059a839f4568..7370ae32b36c28e6beb638512c2bc343d984f9f2 100644
(file)
--- a/
src/shared/smack-util.h
+++ b/
src/shared/smack-util.h
@@
-25,4
+25,12
@@
#include <stdbool.h>
#include <stdbool.h>
+#define SMACK_FLOOR_LABEL "_"
+#define SMACK_STAR_LABEL "*"
+
bool use_smack(void);
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);