From: Lennart Poettering Date: Thu, 10 Jul 2025 19:38:13 +0000 (+0200) Subject: Introduce ERRNO_IS_FS_WRITE_REFUSED(), and use it in binfmt_mounted() (#38117) X-Git-Tag: v258-rc1~109 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c35ceb84e3a4554a7f2fdbf167080cd21927ce80;p=thirdparty%2Fsystemd.git Introduce ERRNO_IS_FS_WRITE_REFUSED(), and use it in binfmt_mounted() (#38117) - 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. --- c35ceb84e3a4554a7f2fdbf167080cd21927ce80