libalpm: Add an error message for seccomp setup failures
This commit is contained in:
parent
1881834190
commit
6816aeae17
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ bool _alpm_sandbox_syscalls_filter(alpm_handle_t *handle)
|
||||||
scmp_filter_ctx ctx = seccomp_init(SCMP_ACT_ALLOW);
|
scmp_filter_ctx ctx = seccomp_init(SCMP_ACT_ALLOW);
|
||||||
int restrictedSyscallsCount = 0;
|
int restrictedSyscallsCount = 0;
|
||||||
if(ctx == NULL) {
|
if(ctx == NULL) {
|
||||||
|
_alpm_log(handle, ALPM_LOG_ERROR, _("error initializing seccomp to filter system calls in the download sandbox!\n"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue