1
0
ミラー元 https://git.tukaani.org/xz.git 前回の同期 2025-12-18 03:18:45 +00:00

xz: Landlock: Fix a file descriptor leak

このコミットが含まれているのは:
Mark Wielaard 2024-11-25 12:28:44 +02:00 committed by Lasse Collin
コミット 48ff3f0652

ファイルの表示

@ -196,6 +196,7 @@ enable_landlock(uint64_t required_rights)
if (syscall(SYS_landlock_restrict_self, ruleset_fd, 0U) != 0)
message_fatal(_("Failed to enable the sandbox"));
(void)close(ruleset_fd);
return;
}