diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-17 16:05:03 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-17 16:05:28 +0200 |
commit | e9a5ef7cddcfcdb29b5aef3896931132b6fd5165 (patch) | |
tree | ed40d27a53fcbee52aedad4531860aec6edb5c55 /src/shared/label.h | |
parent | 75e37ac5b125713c5ab6e1c4a9d62cfb62948c27 (diff) |
selinux: unify systemd and udev code
Diffstat (limited to 'src/shared/label.h')
-rw-r--r-- | src/shared/label.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/shared/label.h b/src/shared/label.h index ccf405bbe0..3f880e363a 100644 --- a/src/shared/label.h +++ b/src/shared/label.h @@ -26,7 +26,7 @@ #include <stdbool.h> #include <sys/socket.h> -int label_init(void); +int label_init(const char *prefix); void label_finish(void); int label_fix(const char *path, bool ignore_enoent); @@ -34,9 +34,8 @@ int label_fix(const char *path, bool ignore_enoent); int label_socket_set(const char *label); void label_socket_clear(void); -int label_fifofile_set(const char *path); -int label_symlinkfile_set(const char *path); -void label_file_clear(void); +int label_context_set(const char *path, mode_t mode); +void label_context_clear(void); void label_free(const char *label); |