tmpfiles: handle an ACL of any size

An a or A entry for a path with an ACL of more than 32 entries, or one
that would get more, left the path as it was with a warning.  The ACL
was kept in a fixed array.  It is now allocated to the size it needs.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2026-11-21 19:23:47 +01:00
1 parent c7f55a8b90
commit ce5a08e866
3 files changed
+79 -34

No files matched your search

-2
View File
@@ -32,5 +32,3 @@ Missing options: `--root`, `--replace`, and `--purge`.
would be the one in `/usr/lib`. Both changes have to go in together
* A relative path is taken as it is, tmpfiles.d(5) only has absolute
ones
* `a` and `A` handle an ACL of at most 32 entries, a path with more is
left as it is, with a warning