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

Q: interface for bpf program #24

Closed
thesrinivas opened this issue Feb 2, 2016 · 1 comment
Closed

Q: interface for bpf program #24

thesrinivas opened this issue Feb 2, 2016 · 1 comment
Assignees
Labels

Comments

@thesrinivas
Copy link

Is there an example showing how to specify a seccomp bpf filter program to a container? eg. http:https://man7.org/linux/man-pages/man2/seccomp.2.html

@pcmoore pcmoore changed the title interface for bpf program Q: interface for bpf program Feb 2, 2016
@pcmoore pcmoore self-assigned this Feb 2, 2016
@pcmoore
Copy link
Member

pcmoore commented Feb 2, 2016

The libseccomp library is just that, a library, it doesn't provide a standard user interface, it is up to the individual applications - in this case the container management application - to provide a user interface for the libseccomp functionality.

@pcmoore pcmoore closed this as completed Feb 2, 2016
drakenclimber added a commit to drakenclimber/libseccomp that referenced this issue Jan 8, 2020
Signed-off-by: Tom Hromatka <[email protected]>
drakenclimber added a commit to drakenclimber/libseccomp that referenced this issue Aug 31, 2021
The python live test, 24-live-arg_allow.py, started failing on
Fedora 34 with kernel 5.13.9-200.fc34.x86_64.  To fix this, allow
the munmap() syscall in the test's seccomp filter.

Signed-off-by: Tom Hromatka <[email protected]>
drakenclimber added a commit that referenced this issue Sep 1, 2021
The python live test, 24-live-arg_allow.py, started failing on
Python version 3.9.6+ on Fedora 34 and Ubuntu 20.10.  The Python
quit() call is now invoking the munmap() syscall.  To fix this,
allow the munmap() syscall in the test's seccomp filter.

Acked-by: Paul Moore <[email protected]>
Signed-off-by: Tom Hromatka <[email protected]>
drakenclimber added a commit that referenced this issue Sep 1, 2021
The python live test, 24-live-arg_allow.py, started failing on
Python version 3.9.6+ on Fedora 34 and Ubuntu 20.10.  The Python
quit() call is now invoking the munmap() syscall.  To fix this,
allow the munmap() syscall in the test's seccomp filter.

Acked-by: Paul Moore <[email protected]>
Signed-off-by: Tom Hromatka <[email protected]>
(cherry picked from commit 4f34c6e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants