X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Flabel.c;h=3556377d2a903946182acc9f3725845e581bee9f;hp=82f10b21bd7142ed2adddd83a186afc67b28be0c;hb=1e2c11636861da69c5637e59afe207a11dd4f386;hpb=1cfc78c91965df340cdde100ad6cb3ed50b28927 diff --git a/src/basic/label.c b/src/basic/label.c index 82f10b21b..3556377d2 100644 --- a/src/basic/label.c +++ b/src/basic/label.c @@ -1,5 +1,3 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - /*** This file is part of systemd. @@ -19,10 +17,14 @@ along with systemd; If not, see . ***/ +#include +#include +#include + +#include "label.h" +#include "macro.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; @@ -58,6 +60,7 @@ int mkdir_label(const char *path, mode_t mode) { 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; @@ -78,3 +81,4 @@ int symlink_label(const char *old_path, const char *new_path) { return mac_smack_fix(new_path, false, false); } +#endif // 0