diff options
Diffstat (limited to '')
-rw-r--r-- | src/xz/sandbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xz/sandbox.c b/src/xz/sandbox.c index 9e30a07a..3b3069c8 100644 --- a/src/xz/sandbox.c +++ b/src/xz/sandbox.c @@ -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; |