chiark / gitweb /
Remove libidn checks/support
[elogind.git] / src / shared / smack-util.h
index fe624f5f46764d8d2561fd61b8a5692244a0b18f..50f55b1f4bd8cf2286f66f2ff7aaa33e7ce5226b 100644 (file)
 
 #include <stdbool.h>
 
-#define SMACK_FLOOR_LABEL "_"
-#define SMACK_STAR_LABEL  "*"
-
 bool mac_smack_use(void);
 
-int mac_smack_fix(const char *path);
+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_pid(pid_t pid, 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);