Skip to content
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

Refactor registry to keep a state #5

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Refactor registry to keep a state #5

wants to merge 3 commits into from

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