diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-11-27 22:24:33 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-11-27 23:32:32 -0500 |
commit | 5c3bde3fa8613e09e694198862ea9038566af422 (patch) | |
tree | 42871668b350263e3adabd20343e9c4e17425f82 /src/login/logind-dbus.c | |
parent | 564c44436cf64adc7a9eff8c17f386899194a893 (diff) |
journal: move the gist of server_fix_perms to acl-util.[hc]
Most of the function is moved to acl-util.c to make it possible to
add tests in subsequent commit.
Setting of the mode in server_fix_perms is removed:
- we either just created the file ourselves, and the permission be better right,
- or the file was already there, and we should not modify the permissions.
server_fix_perms is renamed to server_fix_acls to better reflect new
meaning, and made static because it is only used in one file.
Diffstat (limited to 'src/login/logind-dbus.c')
0 files changed, 0 insertions, 0 deletions