diff options
Diffstat (limited to 'src/coredump/coredump.c')
-rw-r--r-- | src/coredump/coredump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c index 8b052dac26..9b7811ae54 100644 --- a/src/coredump/coredump.c +++ b/src/coredump/coredump.c @@ -186,7 +186,7 @@ static int fix_acl(int fd, uid_t uid) { return 0; /* Make sure normal users can read (but not write or delete) their own coredumps */ - r = add_acls_for_user(fd, uid); + r = fd_add_uid_acl_permission(fd, uid, /* read = */ true, /* write = */ false, /* execute = */ false); if (r < 0) return log_error_errno(r, "Failed to adjust ACL of coredump: %m"); #endif |