projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99ca4c5
)
Better check for SIGSYS
author
Jagger
<robert@swiecki.net>
Thu, 5 May 2016 03:04:01 +0000
(
05:04
+0200)
committer
Jagger
<robert@swiecki.net>
Thu, 5 May 2016 03:04:01 +0000
(
05:04
+0200)
subproc.c
patch
|
blob
|
history
diff --git
a/subproc.c
b/subproc.c
index 25dd5eaeb9c231ceedda19130553a771e574b999..fd06379a0078e4404bf148a52d03e8cb1f55af64 100644
(file)
--- a/
subproc.c
+++ b/
subproc.c
@@
-158,7
+158,7
@@
int subprocReap(struct nsjconf_t *nsjconf)
if (si.si_pid == 0) {
break;
}
- if (si.si_status == SIGSYS) {
+ if (si.si_
code == CLD_KILLED && si.si_
status == SIGSYS) {
subprocSeccompViolation(&si);
}