ldd: enable syscall filter
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
a30f5e1226
commit
5a64cdaf4f
@ -20,6 +20,7 @@ func Exec(p string) ([]*Entry, error) {
|
|||||||
(&bwrap.Config{
|
(&bwrap.Config{
|
||||||
Hostname: "fortify-ldd",
|
Hostname: "fortify-ldd",
|
||||||
Chdir: "/",
|
Chdir: "/",
|
||||||
|
Syscall: &bwrap.SyscallPolicy{DenyDevel: true, Multiarch: true},
|
||||||
NewSession: true,
|
NewSession: true,
|
||||||
DieWithParent: true,
|
DieWithParent: true,
|
||||||
}).Bind("/", "/").DevTmpfs("/dev"), "ldd",
|
}).Bind("/", "/").DevTmpfs("/dev"), "ldd",
|
||||||
|
Loading…
Reference in New Issue
Block a user