-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for seccomp actions ActKillThread
and ActKillProcess
#2564
Add support for seccomp actions ActKillThread
and ActKillProcess
#2564
Conversation
ActKillThread
and ActKillProcess
ActKillThread
and ActKillProcess
Removing the WIP since it looks like we do not get a new release of seccomp/libseccomp-golang soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go mod tidy
?
428a931
to
43eec87
Compare
Needs a rebase and probably a small rework given #2750. |
43eec87
to
333f7a5
Compare
Rebased on top of the latest master branch. |
333f7a5
to
7a284c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Needs rebase |
9a9418e
to
bd5ee6c
Compare
Rebased on top of the latest |
bd5ee6c
to
1ba567d
Compare
Sorry needs rebase |
1d9fdf1
to
cf51093
Compare
Rebased on top of the latest master branch. |
Commit seems broken |
cf51093
to
17adfff
Compare
Two new seccomp actions have been added to the libseccomp-golang dependency, which can be now supported by runc, too. ActKillThread kills the thread that violated the rule. It is the same as ActKill. All other threads from the same thread group will continue to execute. ActKillProcess kills the process that violated the rule. All threads in the thread group are also terminated. This action is only usable when libseccomp API level 3 or higher is supported. Signed-off-by: Sascha Grunert <[email protected]>
17adfff
to
4aee5e3
Compare
#2682 is merged, @saschagrunert can you please rebase? |
Given how small the change is, I'll just carry this. I'm sure Sascha won't mind. 😉 |
Carried in #3204. |
Thanks y'all! |
Two new seccomp actions have been added to the libseccomp-golang
dependency, which can be now supported by runc, too.
ActKillThread kills the thread that violated the rule. It is the same as
ActKill. All other threads from the same thread group will continue to
execute.
ActKillProcess kills the process that violated the rule. All threads in
the thread group are also terminated. This action is only usable when
libseccomp API level 3 or higher is supported.
Xref for requesting a new release in libseccomp-golang: seccomp/libseccomp-golang#55