summaryrefslogtreecommitdiff
path: root/src/shared/smack-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/smack-util.h')
-rw-r--r--src/shared/smack-util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/smack-util.h b/src/shared/smack-util.h
index 88704894e7..5e555def2b 100644
--- a/src/shared/smack-util.h
+++ b/src/shared/smack-util.h
@@ -19,9 +19,15 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#pragma once
+
#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);