Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Refactor registry to keep a state - #5

Draft
Alban Crequy (alban) wants to merge 3 commits into
mainfrom
alban_refactor
Draft

Refactor registry to keep a state#5
Alban Crequy (alban) wants to merge 3 commits into
mainfrom
alban_refactor

Conversation

@alban

Copy link
Copy Markdown
Member

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 alban@kinvolk.io

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 <alban@kinvolk.io>
Signed-off-by: Alban Crequy <alban@kinvolk.io>
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 <alban@kinvolk.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant