Skip to content

Commit f1164e5

Browse files
authored
Merge pull request #1064 from saschagrunert/kill-thread
Add support for SCMP_ACT_KILL_THREAD
2 parents 541d2d6 + 2fe0475 commit f1164e5

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

config-linux.md

+1
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@ The following parameters can be specified to set up seccomp:
637637

638638
* `SCMP_ACT_KILL`
639639
* `SCMP_ACT_KILL_PROCESS`
640+
* `SCMP_ACT_KILL_THREAD`
640641
* `SCMP_ACT_TRAP`
641642
* `SCMP_ACT_ERRNO`
642643
* `SCMP_ACT_TRACE`

schema/defs-linux.json

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"enum": [
5757
"SCMP_ACT_KILL",
5858
"SCMP_ACT_KILL_PROCESS",
59+
"SCMP_ACT_KILL_THREAD",
5960
"SCMP_ACT_TRAP",
6061
"SCMP_ACT_ERRNO",
6162
"SCMP_ACT_TRACE",

specs-go/config.go

+1
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ type LinuxSeccompAction string
641641
const (
642642
ActKill LinuxSeccompAction = "SCMP_ACT_KILL"
643643
ActKillProcess LinuxSeccompAction = "SCMP_ACT_KILL_PROCESS"
644+
ActKillThread LinuxSeccompAction = "SCMP_ACT_KILL_THREAD"
644645
ActTrap LinuxSeccompAction = "SCMP_ACT_TRAP"
645646
ActErrno LinuxSeccompAction = "SCMP_ACT_ERRNO"
646647
ActTrace LinuxSeccompAction = "SCMP_ACT_TRACE"

0 commit comments

Comments
 (0)