X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fsmack-util.h;h=50f55b1f4bd8cf2286f66f2ff7aaa33e7ce5226b;hb=d896ac2d2fbce41a0b11a0618a685adeaf18b8fe;hp=3dc28dd727b8d70206811a2891a8ab619d924b3f;hpb=5dfc54615a1eacea18106383c964425cebd67c30;p=elogind.git diff --git a/src/shared/smack-util.h b/src/shared/smack-util.h index 3dc28dd72..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, 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);