vendor: bump seccomp/libseccomp-golang to f33da4d#3465
vendor: bump seccomp/libseccomp-golang to f33da4d#3465thaJeztah merged 3 commits intoopencontainers:mainfrom
Conversation
|
Looks like there's some uses of |
4022d05 to
d7f482d
Compare
| switch act { | ||
| case configs.Kill: | ||
| return libseccomp.ActKill, nil | ||
| case configs.Kill, configs.KillThread: |
There was a problem hiding this comment.
Wondering if one of configs.Kill also should be deprecated on this side 🤔 (not for this PR, just thinking out loud?)
There was a problem hiding this comment.
We have the same problem in libcontainer/config -- Kill and KillThread are two distinct constants. Guess it makes sense to deprecate the former.
There was a problem hiding this comment.
Yup; that was my thought as well
I'm ok doing that separately, but something we should probably do
There was a problem hiding this comment.
Oh well, it's a bit bigger than I thought; see #3466
@crazy-max feel free to cherry-pick that commit to here.
I also think we should really deprecate ACT_KILL, but it should be done in the runtime-spec repo first.
There was a problem hiding this comment.
|
@crazy-max can you swap the order of the commits (assuming both |
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
d7f482d to
df2bc13
Compare
OCI spec added SCMP_ACT_KILL_THREAD and SCMP_ACT_KILL_PROCESS almost two years ago ([1], [2]), but runc support was half-finished [3]. Add these actions, and modify the test case to check them. In addition, "runc features" now lists the new actions. [1] opencontainers/runtime-spec#1044 [2] opencontainers/runtime-spec#1064 [3] https://github.com/opencontainers/runc/pulls/3204 Fixes: 4a4d4f1 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit e74fdeb)
|
@thaJeztah I see your LGTM, but you probably forgot to actually "Accept" the PR |
thaJeztah
left a comment
There was a problem hiding this comment.
whoops! probably picked "comment" instead of "approve" 😂
LGTM (for real this time)
|
@thaJeztah @kolyshkin is there a milestone that includes this PR to fix the clang issue? cc @tonistiigi |
fixes clang issue seccomp/libseccomp-golang#90.
@thaJeztah there are other changes while vendoring it seccomp/libseccomp-golang@3879420...f33da4d. not sure about the impact of them on runc.
Signed-off-by: CrazyMax crazy-max@users.noreply.github.com