Better check for SIGSYS

This commit is contained in:
Jagger 2016-05-05 05:04:01 +02:00
parent 99ca4c5df2
commit 070939e18a

View File

@ -158,7 +158,7 @@ int subprocReap(struct nsjconf_t *nsjconf)
if (si.si_pid == 0) { if (si.si_pid == 0) {
break; break;
} }
if (si.si_status == SIGSYS) { if (si.si_code == CLD_KILLED && si.si_status == SIGSYS) {
subprocSeccompViolation(&si); subprocSeccompViolation(&si);
} }