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:
de9ff23
)
Have some syscall to test seccomp-bpf
author
Jagger
<robert@swiecki.net>
Thu, 5 May 2016 00:00:41 +0000
(
02:00
+0200)
committer
Jagger
<robert@swiecki.net>
Thu, 5 May 2016 00:00:41 +0000
(
02:00
+0200)
sandbox.c
patch
|
blob
|
history
diff --git
a/sandbox.c
b/sandbox.c
index 6ff6d99a39d49e8d508a4b44591a7383887959d2..998dfec41369837b968c27a7cd89ea882c562fcf 100644
(file)
--- a/
sandbox.c
+++ b/
sandbox.c
@@
-52,7
+52,7
@@
static bool sandboxPrepareAndCommit(void)
#define __NR_syslog_32 103
#define __NR_uselib_32 86
JEQ32(__NR_syslog_32, ERRNO(ENOENT)),
- JEQ32(__NR_uselib_32,
ERRNO(ENOENT)
),
+ JEQ32(__NR_uselib_32,
KILL
),
ALLOW,
/* X86_64 */
@@
-61,7
+61,7
@@
static bool sandboxPrepareAndCommit(void)
#define __NR_syslog_64 103
#define __NR_uselib_64 134
JEQ32(__NR_syslog_64, ERRNO(ENOENT)),
- JEQ32(__NR_uselib_64,
ERRNO(ENOENT)
),
+ JEQ32(__NR_uselib_64,
KILL
),
ALLOW,
};