1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

xz: Fix Capsicum sandbox compile error.

user_abort_pipe[] was still being used instead of the parameters.
This commit is contained in:
Jia Tan 2024-02-23 20:27:15 +08:00
parent 32b0a3ce19
commit eea78216d2

View file

@ -330,11 +330,11 @@ sandbox_enable_strict_if_allowed(
CAP_WRITE))) CAP_WRITE)))
goto error; 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))) CAP_EVENT)))
goto error; 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))) CAP_WRITE)))
goto error; goto error;