X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fsmack-util.h;h=50f55b1f4bd8cf2286f66f2ff7aaa33e7ce5226b;hp=fe624f5f46764d8d2561fd61b8a5692244a0b18f;hb=4968105790c65af58d4ab42bffa2a4bedc0be8ee;hpb=c80d766c8072dd0be311dcd31c17f9719775be44 diff --git a/src/shared/smack-util.h b/src/shared/smack-util.h index fe624f5f4..50f55b1f4 100644 --- a/src/shared/smack-util.h +++ b/src/shared/smack-util.h @@ -25,14 +25,12 @@ #include -#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);