summaryrefslogtreecommitdiffstats
path: root/src/sysusers/sysusers.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2020-05-26 19:49:26 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2020-05-27 18:54:25 +0200
commit2da3dc69e7e11e9d4fe03c1b33c6a99f74405a6c (patch)
tree9b843bb6b67a480f0430687fc4202cdc97447f53 /src/sysusers/sysusers.c
parentfileio: Refactor sync_rights to take fds as arguments (diff)
downloadsystemd-2da3dc69e7e11e9d4fe03c1b33c6a99f74405a6c.tar.xz
systemd-2da3dc69e7e11e9d4fe03c1b33c6a99f74405a6c.zip
fileio: Rename rename_and_apply_smack to rename_and_apply_smack_floor_label.
Diffstat (limited to 'src/sysusers/sysusers.c')
-rw-r--r--src/sysusers/sysusers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c
index 2cb8172103..6fbd5985d3 100644
--- a/src/sysusers/sysusers.c
+++ b/src/sysusers/sysusers.c
@@ -772,14 +772,14 @@ static int write_files(void) {
/* And make the new files count */
if (group) {
- r = rename_and_apply_smack(group_tmp, group_path);
+ r = rename_and_apply_smack_floor_label(group_tmp, group_path);
if (r < 0)
return r;
group_tmp = mfree(group_tmp);
}
if (gshadow) {
- r = rename_and_apply_smack(gshadow_tmp, gshadow_path);
+ r = rename_and_apply_smack_floor_label(gshadow_tmp, gshadow_path);
if (r < 0)
return r;
@@ -787,14 +787,14 @@ static int write_files(void) {
}
if (passwd) {
- r = rename_and_apply_smack(passwd_tmp, passwd_path);
+ r = rename_and_apply_smack_floor_label(passwd_tmp, passwd_path);
if (r < 0)
return r;
passwd_tmp = mfree(passwd_tmp);
}
if (shadow) {
- r = rename_and_apply_smack(shadow_tmp, shadow_path);
+ r = rename_and_apply_smack_floor_label(shadow_tmp, shadow_path);
if (r < 0)
return r;