Skip to content

Commit

Permalink
Add preflight check for seccomp
Browse files Browse the repository at this point in the history
Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
  • Loading branch information
Kenta Tada authored and Kenta Tada committed Apr 13, 2021
1 parent ca2e257 commit c9ffc95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions validators/types_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ var DefaultSysSpec = SysSpec{
{Name: "BLK_DEV_DM", Description: "Required for devicemapper."},
{Name: "CFS_BANDWIDTH", Description: "Required for CPU quota."},
{Name: "CGROUP_HUGETLB", Description: "Required for hugetlb cgroup."},
{Name: "SECCOMP", Description: "Required for seccomp."},
{Name: "SECCOMP_FILTER", Description: "Required for seccomp mode 2."},
},
Forbidden: []KernelConfig{},
},
Expand Down

0 comments on commit c9ffc95

Please sign in to comment.