mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
xz: Add warning if Capsicum sandbox system calls are unsupported.
The warning is only used when errno == ENOSYS. Otherwise, xz still issues a fatal error.
This commit is contained in:
parent
61ee82cb12
commit
5fb9367866
1 changed files with 2 additions and 0 deletions
|
@ -238,6 +238,8 @@ capsicum_error:
|
|||
// implement the capability system calls, then the capsicum system
|
||||
// calls will fail and set errno to ENOSYS.
|
||||
if (errno == ENOSYS) {
|
||||
message_warning(_("%s: Cannot enable the sandbox"),
|
||||
strerror(errno));
|
||||
sandbox_allowed = false;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue