Merge pull request #21117 from justincormack/restart_syscall

Allow restart_syscall in default seccomp profile
This commit is contained in:
Antonio Murdaca 2016-03-15 22:41:14 +01:00
commit 4adf74ad42
3 changed files with 10 additions and 1 deletions

View file

@ -114,7 +114,6 @@ the reason each syscall is blocked rather than white-listed.
| `query_module` | Deny manipulation and functions on kernel modules. |
| `quotactl` | Quota syscall which could let containers disable their own resource limits or process accounting. Also gated by `CAP_SYS_ADMIN`. |
| `reboot` | Don't let containers reboot the host. Also gated by `CAP_SYS_BOOT`. |
| `restart_syscall` | Don't allow containers to restart a syscall. Possible seccomp bypass see: https://code.google.com/p/chromium/issues/detail?id=408827. |
| `request_key` | Prevent containers from using the kernel keyring, which is not namespaced. |
| `set_mempolicy` | Syscall that modifies kernel memory and NUMA settings. Already gated by `CAP_SYS_NICE`. |
| `setns` | Deny associating a thread with a namespace. Also gated by `CAP_SYS_ADMIN`. |

View file

@ -999,6 +999,11 @@
"action": "SCMP_ACT_ALLOW",
"args": []
},
{
"name": "restart_syscall",
"action": "SCMP_ACT_ALLOW",
"args": []
},
{
"name": "rmdir",
"action": "SCMP_ACT_ALLOW",

View file

@ -1028,6 +1028,11 @@ var DefaultProfile = &types.Seccomp{
Action: types.ActAllow,
Args: []*types.Arg{},
},
{
Name: "restart_syscall",
Action: types.ActAllow,
Args: []*types.Arg{},
},
{
Name: "rmdir",
Action: types.ActAllow,