File: seccomp-v2.conf

package info (click to toggle)
lxc 1%3A1.0.6-6%2Bdeb8u2~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 5,280 kB
  • sloc: ansic: 33,888; sh: 11,928; python: 1,223; makefile: 735
file content (24 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
whitelist trap
# 'whitelist' would normally mean kill a task doing any syscall which is not
# whitelisted below.  By appending 'trap' to the line, we will cause a SIGSYS
# to be sent to the task instead.  'errno 0' would  mean don't allow the system
# call but immediately return 0.  'errno 22' would mean return EINVAL immediately.
[x86_64]
open
close
read
write
mount
umount2
# Since we are listing system calls by name, we can also ask to have them resolved
# for another arch, i.e. for 32/64-bit versions.
[x86]
open
close
read
write
mount
umount2
# Do note that this policy does not whitelist enough system calls to allow a
# system container to boot.