]> git.ipfire.org Git - thirdparty/systemd.git/commit
binfmt-util: propagate failure in access_fd()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Jul 2025 09:51:55 +0000 (18:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Jul 2025 05:02:00 +0000 (14:02 +0900)
commitbd068e29030e9efef2ef692837ee60905d2812af
tree017fd7bbbb7c55d1b794d2722dc05b508a21d476
parente28d408c6bfa1423e2ce18afb19fb21f2a7a3113
binfmt-util: propagate failure in access_fd()

It is not necessary to hide errors in access_fd(), and only acceptable
errors here are -EROFS, -EACCES, and -EPERM.
src/shared/binfmt-util.c