Skip to content

Refactor registry to keep a state#5

Draft
alban wants to merge 3 commits intomainfrom
alban_refactor
Draft

Refactor registry to keep a state#5
alban wants to merge 3 commits intomainfrom
alban_refactor

Conversation

@alban
Copy link
Member

@alban alban commented Nov 24, 2020

This includes an example of handler that returns a different error each
time in a cycle. For this, we need to keep a state on the filter to
remember the previous error returned.

    f.AddHandler("chmod", handlers.ErrorSeq())

Signed-off-by: Alban Crequy [email protected]

This includes an example of handler that returns a different error each
time in a cycle. For this, we need to keep a state on the filter to
remember the previous error returned.

    f.AddHandler("chmod", handlers.ErrorSeq())

Signed-off-by: Alban Crequy <[email protected]>
Signed-off-by: Alban Crequy <[email protected]>
It allows to try seccomp in a shell without starting a new container.

sudo ./seccompagent -resolver demo-basic &
sudo ./seccompshell -seccomp-policy /var/lib/kubelet/seccomp/notify.json /bin/bash

Signed-off-by: Alban Crequy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant