mirror of
https://github.com/google/nsjail.git
synced 2026-08-30 18:41:30 -07:00
config: Initial work on converting config.c to c++ protobuf lib
config: Initial work on converting config.c to c++ protobuf lib #2 config: Initial work on converting config.c to c++ protobuf lib #3 config: Initial work on converting config.c to c++ protobuf lib #4 config: Initial work on converting config.c to c++ protobuf lib #5 config: Initial work on converting config.c to c++ protobuf lib #6
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
name: "documents-with-xorg"
|
||||
description: "
|
||||
This policy allows to run many X-org based tool, which are allowed
|
||||
to access $HOME/Documents directory only. An example of use is:
|
||||
|
||||
./nsjail --config configs/documents-with-xorg.cfg -- \\
|
||||
/usr/bin/geeqie /user/Documents/
|
||||
|
||||
What is more, this policy doesn't allow to access networking.
|
||||
"
|
||||
description: "This policy allows to run many X-org based tool, which are allowed"
|
||||
description: "to access $HOME/Documents directory only. An example of use is:"
|
||||
description: ""
|
||||
description: "./nsjail --config configs/documents-with-xorg.cfg -- \\"
|
||||
description: " /usr/bin/geeqie /user/Documents/"
|
||||
description: ""
|
||||
description: "What is more, this policy doesn't allow to access networking."
|
||||
|
||||
mode: ONCE
|
||||
hostname: "NSJAIL"
|
||||
@@ -127,13 +126,11 @@ mount {
|
||||
is_bind: true
|
||||
}
|
||||
|
||||
seccomp_string: "
|
||||
POLICY example {
|
||||
KILL {
|
||||
ptrace,
|
||||
process_vm_readv,
|
||||
process_vm_writev
|
||||
}
|
||||
}
|
||||
USE example DEFAULT ALLOW
|
||||
"
|
||||
seccomp_string: " POLICY example {"
|
||||
seccomp_string: " KILL {"
|
||||
seccomp_string: " ptrace,"
|
||||
seccomp_string: " process_vm_readv,"
|
||||
seccomp_string: " process_vm_writev"
|
||||
seccomp_string: " }"
|
||||
seccomp_string: " }"
|
||||
seccomp_string: " USE example DEFAULT ALLOW"
|
||||
|
||||
Reference in New Issue
Block a user