diff options
author | Kay Sievers <kay@vrfy.org> | 2013-10-11 09:47:31 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-01-09 19:39:13 -0500 |
commit | b49063901eaa5f883a7f2d3c0fa4968eed5589b4 (patch) | |
tree | bc3f47988967e78aedce10cc9bd46965057cbef0 /src/udev/smack-util.h | |
parent | b51ff2cd4aee8033f8d3f4bb8eb9eb7035737152 (diff) |
smack: minimize ifdef use, and move all labeling to smack-util.c
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/udev/smack-util.h')
-rw-r--r-- | src/udev/smack-util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/udev/smack-util.h b/src/udev/smack-util.h index d81e4aa403..88704894e7 100644 --- a/src/udev/smack-util.h +++ b/src/udev/smack-util.h @@ -22,3 +22,7 @@ #include <stdbool.h> 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); +int smack_label_ip_out_fd(int fd, const char *label); |