chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
label: fix systemd-udev labeling of /run directory.
[elogind.git]
/
src
/
shared
/
label.h
diff --git
a/src/shared/label.h
b/src/shared/label.h
index ccf405bbe06db116a124c01cf1c54da627645b0b..90b49ffbe0417878f1733226ba093187cf548531 100644
(file)
--- a/
src/shared/label.h
+++ b/
src/shared/label.h
@@
-26,7
+26,7
@@
#include <stdbool.h>
#include <sys/socket.h>
#include <stdbool.h>
#include <sys/socket.h>
-int label_init(
void
);
+int label_init(
const char *prefixes[]
);
void label_finish(void);
int label_fix(const char *path, bool ignore_enoent);
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_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);
void label_free(const char *label);