summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2025-01-13 12:41:07 +0300
committerRichard Weinberger <richard@nod.at>2025-02-13 01:40:45 +0300
commitf82a9e7b9fa922bb9cccb00aae684a27b79e6df7 (patch)
tree333f0d07cf0ee807ebd924ddedd87e7ab6b114a3 /scripts/extract-fwblobs
parent3c2fc7434d90338cf4c1b37bc95994208d23bfc6 (diff)
downloadlinux-f82a9e7b9fa922bb9cccb00aae684a27b79e6df7.tar.xz
um: fix execve stub execution on old host OSs
The stub execution uses the somewhat new close_range and execveat syscalls. Of these two, the execveat call is essential, but the close_range call is more about stub process hygiene rather than safety (and its result is ignored). Replace both calls with a raw syscall as older machines might not have a recent enough kernel for close_range (with CLOSE_RANGE_CLOEXEC) or a libc that does not yet expose both of the syscalls. Fixes: 32e8eaf263d9 ("um: use execveat to create userspace MMs") Reported-by: Glenn Washburn <development@efficientek.com> Closes: https://lore.kernel.org/20250108022404.05e0de1e@crass-HP-ZBook-15-G2 Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Link: https://patch.msgid.link/20250113094107.674738-1-benjamin@sipsolutions.net Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions