diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2020-05-26 19:49:26 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2020-05-27 18:54:25 +0200 |
commit | 2da3dc69e7e11e9d4fe03c1b33c6a99f74405a6c (patch) | |
tree | 9b843bb6b67a480f0430687fc4202cdc97447f53 /src/sysusers/sysusers.c | |
parent | fileio: Refactor sync_rights to take fds as arguments (diff) | |
download | systemd-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.c | 8 |
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; |