mirror of https://git.tukaani.org/xz.git
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
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue