From e9a5ef7cddcfcdb29b5aef3896931132b6fd5165 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 17 Apr 2012 16:05:03 +0200 Subject: selinux: unify systemd and udev code --- src/shared/label.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/shared/label.h') 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 #include -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); -- cgit v1.2.3-54-g00ecf