]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Introduce ERRNO_IS_FS_WRITE_REFUSED(), and use it in binfmt_mounted() (#38117)
authorLennart Poettering <lennart@poettering.net>
Thu, 10 Jul 2025 19:38:13 +0000 (21:38 +0200)
committerGitHub <noreply@github.com>
Thu, 10 Jul 2025 19:38:13 +0000 (21:38 +0200)
- This introduces ERRNO_IS_FS_WRITE_REFUSED(), and apply it where
usable.
- This makes unexpected errors in access_fd() called by binfmt_mounted()
propagated to the caller.
- Renames binfmt_mounted() to binfmt_mounted_and_writable(), as it also
checks the fs is writable.
- Voidifies one disable_binfmt() call in shutdown.c.

1  2 
src/nspawn/nspawn.c

Simple merge