projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfb6197
)
seccomp: also move munmap into @default syscall filter set
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 24 Nov 2020 09:47:37 +0000
(18:47 +0900)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 24 Nov 2020 15:18:34 +0000
(16:18 +0100)
Follow-up for
5abede3247591248718026cb8be6cd231de7728b
.
src/shared/seccomp-util.c
patch
|
blob
|
history
diff --git
a/src/shared/seccomp-util.c
b/src/shared/seccomp-util.c
index c02035c80f64b926397f7c62cfb2c41aca88711f..e1b8d2d00d6a3b4395cf823b83df2714e465db9d 100644
(file)
--- a/
src/shared/seccomp-util.c
+++ b/
src/shared/seccomp-util.c
@@
-322,6
+322,7
@@
const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
"membarrier\0"
"mmap\0"
"mmap2\0"
+ "munmap\0"
"nanosleep\0"
"pause\0"
"prlimit64\0"
@@
-471,7
+472,6
@@
const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
"mkdirat\0"
"mknod\0"
"mknodat\0"
- "munmap\0"
"newfstatat\0"
"oldfstat\0"
"oldlstat\0"