chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
basic: modernize conf-files.c a bit
[elogind.git]
/
src
/
basic
/
label.c
diff --git
a/src/basic/label.c
b/src/basic/label.c
index 82f10b21bd7142ed2adddd83a186afc67b28be0c..ed7be67b0be57a9145a7856e8f17c41b436be12d 100644
(file)
--- a/
src/basic/label.c
+++ b/
src/basic/label.c
@@
-19,10
+19,10
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include "label.h"
#include "selinux-util.h"
#include "smack-util.h"
#include "util.h"
#include "selinux-util.h"
#include "smack-util.h"
#include "util.h"
-#include "label.h"
int label_fix(const char *path, bool ignore_enoent, bool ignore_erofs) {
int r, q;
int label_fix(const char *path, bool ignore_enoent, bool ignore_erofs) {
int r, q;
@@
-58,6
+58,7
@@
int mkdir_label(const char *path, mode_t mode) {
return mac_smack_fix(path, false, false);
}
return mac_smack_fix(path, false, false);
}
+#if 0 /// UNNEEDED by elogind
int symlink_label(const char *old_path, const char *new_path) {
int r;
int symlink_label(const char *old_path, const char *new_path) {
int r;
@@
-78,3
+79,4
@@
int symlink_label(const char *old_path, const char *new_path) {
return mac_smack_fix(new_path, false, false);
}
return mac_smack_fix(new_path, false, false);
}
+#endif // 0