Re: [systemd-devel] RestrictSUIDSGID causing unexpected error

2025-08-24 Thread SCOTT FIELDS
The way I’ve read the internal operation of this function, is its calling SECCOMP internally in Linux such that calls that allow changing ownership or permissions are disallowed. Though not expressly stated for the function call you listed, it under the covers would be calling those which should

[systemd-devel] RestrictSUIDSGID causing unexpected error

2025-08-24 Thread Ian Pilcher
I am trying to make one of my .service units as secure as possible, and I've come across a seemingly weird behavior when RestrictSUIDSGID=true is set. Namely, the following system call is failing. openat2(0, "/var/lib/acg/ht...@sprinklers.penurio.us.crt", {flags=O_RDONLY, resolve=RESOLVE_NO_S