]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/coredump/coredump.c
coredump,journal: do not do ACL magic for processes of dynamic UIDs
[thirdparty/systemd.git] / src / coredump / coredump.c
index d3533790a10828ad54355f5c8bfd966ae27ddf3c..cf56a8ad2673481870d79277d3b9b001b8d2b9c1 100644 (file)
@@ -165,7 +165,7 @@ static int fix_acl(int fd, uid_t uid) {
 
         assert(fd >= 0);
 
-        if (uid <= SYSTEM_UID_MAX)
+        if (uid_is_system(uid) || uid_is_dynamic(uid))
                 return 0;
 
         /* Make sure normal users can read (but not write or delete)