diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-08-14 18:12:43 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-08-14 18:12:43 -0400 |
commit | 03070edd5c0f6ae55ed79b9fc1295af39844ff40 (patch) | |
tree | 047bc4cd7ebdb01cc4d6aa0bfb111ec5ce73f313 /src/shared/smack-util.h | |
parent | 28744043fbaca39dfc9fd1666a8557fd6d8a690f (diff) |
src/shared: import more code cleanups from upstream
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/smack-util.h')
-rw-r--r-- | src/shared/smack-util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/smack-util.h b/src/shared/smack-util.h index 88704894e7..5e555def2b 100644 --- a/src/shared/smack-util.h +++ b/src/shared/smack-util.h @@ -19,9 +19,15 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#pragma once + #include <stdbool.h> +#define SMACK_FLOOR_LABEL "_" +#define SMACK_STAR_LABEL "*" + 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); |