chiark / gitweb /
core: introduce ConditionSecurity=audit
[elogind.git] / src / shared / smack-util.h
index 7b950ea0cb65619f64d1250acb1b059a839f4568..68778da38b69dd56851f1eeb4f4c0b1f68637433 100644 (file)
 
 #include <stdbool.h>
 
-bool use_smack(void);
+bool mac_smack_use(void);
+
+int mac_smack_fix(const char *path, bool ignore_enoent, bool ignore_erofs);
+
+int mac_smack_apply(const char *path, const char *label);
+int mac_smack_apply_fd(int fd, const char *label);
+int mac_smack_apply_ip_in_fd(int fd, const char *label);
+int mac_smack_apply_ip_out_fd(int fd, const char *label);