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:
parent
32b0a3ce19
commit
eea78216d2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue