1
0
зеркало из https://git.tukaani.org/xz.git synced 2025-12-13 08:58:45 +00:00

xz: Fix Capsicum sandbox compile error.

user_abort_pipe[] was still being used instead of the parameters.
Этот коммит содержится в:
Jia Tan 2024-02-23 20:27:15 +08:00
родитель 32b0a3ce19
Коммит eea78216d2

Просмотреть файл

@ -330,11 +330,11 @@ sandbox_enable_strict_if_allowed(
CAP_WRITE)))
goto error;
if (cap_rights_limit(user_abort_pipe[0], cap_rights_init(&rights,
if (cap_rights_limit(pipe_event_fd, cap_rights_init(&rights,
CAP_EVENT)))
goto error;
if (cap_rights_limit(user_abort_pipe[1], cap_rights_init(&rights,
if (cap_rights_limit(pipe_write_fd, cap_rights_init(&rights,
CAP_WRITE)))
goto error;