-
- Downloads
fileio: port write_string_file() to LabelOps, and thus add WRITE_STRING_FILE_LABEL flag
Given that we have the LabelOps abstraction these days, we can teach write_string_file() to use it, which means we can get rid of fileio-label.[ch] as a separate concept. (The only reason that fileio-label.[ch] exists independently of fileio.[ch] was that the former linekd to libselinux potentially, and thus had to be in src/shared/ while the other always was in src/basic/. But the LabelOps vtable provides us with a nice work-around)
Showing
- src/basic/fileio.c 60 additions, 17 deletionssrc/basic/fileio.c
- src/basic/fileio.h 1 addition, 5 deletionssrc/basic/fileio.h
- src/core/unit-serialize.c 0 additions, 1 deletionsrc/core/unit-serialize.c
- src/core/unit.c 1 addition, 2 deletionssrc/core/unit.c
- src/debug-generator/debug-generator.c 2 additions, 2 deletionssrc/debug-generator/debug-generator.c
- src/hostname/hostnamed.c 1 addition, 2 deletionssrc/hostname/hostnamed.c
- src/locale/localed-util.c 0 additions, 1 deletionsrc/locale/localed-util.c
- src/login/logind-dbus.c 10 additions, 13 deletionssrc/login/logind-dbus.c
- src/shared/dropin.c 2 additions, 2 deletionssrc/shared/dropin.c
- src/shared/fileio-label.c 4 additions, 17 deletionssrc/shared/fileio-label.c
- src/shared/fileio-label.h 0 additions, 8 deletionssrc/shared/fileio-label.h
- src/timedate/timedated.c 1 addition, 2 deletionssrc/timedate/timedated.c
- src/update-done/update-done.c 2 additions, 2 deletionssrc/update-done/update-done.c
Loading
Please register or sign in to comment