Linux Seccomp
Contents
Run Container docker/whalesay
Running Test
|
|
Get Shell
|
|
Get Seccomp Value with PID
PID
|
|
|
|
Check Configured Seccomp Mode
|
|
|
|
Seccomp Mode
Mode | Description |
---|---|
0 | Disabled |
1 | Strict |
2 | Filtered |
Restrict SYSCALLS
Value Descriptions
Value | Description |
---|---|
SCMP_ACT_ERRNO | Return Error |
SCMP_ACT_ALLOW | Execute the commands |
whitelist.json
|
|
blacklist.json
|
|
Run Docker with Seccomp
|
|
Run Docker Unconfined Seccomp
|
|
|
|
|
|
Unconfined
The
That’s why the docker container is running with default config of seccomp even if you set
date
command is still not running.That’s why the docker container is running with default config of seccomp even if you set
unconfined
.SYSCALL Number and Name
Number | Name |
---|---|
3 | close |
35 | nanosleep |
72 | fcntl |
138 | fstatfs |
217 | getdents64 |
231 | exit_group |
233 | epoll_ctl |
257 | openat |