chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: simplify cg_[all_]unified()
[elogind.git]
/
src
/
basic
/
fileio-label.c
diff --git
a/src/basic/fileio-label.c
b/src/basic/fileio-label.c
index 1443cefc1b8cc68bb49b9900a8c3b00379c4b183..7282670060eb4d883c04f62e3e0e8e8e41f07a8c 100644
(file)
--- a/
src/basic/fileio-label.c
+++ b/
src/basic/fileio-label.c
@@
-1,5
+1,3
@@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
/***
This file is part of systemd.
/***
This file is part of systemd.
@@
-20,9
+18,11
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include
"util.h"
-#include "selinux-util.h"
+#include
<sys/stat.h>
+
#include "fileio-label.h"
#include "fileio-label.h"
+//#include "fileio.h"
+#include "selinux-util.h"
int write_string_file_atomic_label(const char *fn, const char *line) {
int r;
int write_string_file_atomic_label(const char *fn, const char *line) {
int r;
@@
-38,8
+38,7
@@
int write_string_file_atomic_label(const char *fn, const char *line) {
return r;
}
return r;
}
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
int write_env_file_label(const char *fname, char **l) {
int r;
int write_env_file_label(const char *fname, char **l) {
int r;