-
Notifications
You must be signed in to change notification settings - Fork 567
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
Log blocked syscall #5110
Labels
enhancement
New feature request
Comments
I'll look into it! |
netblue30
added a commit
that referenced
this issue
May 9, 2022
All set! |
FTR: c0d314f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
By default (kernel default) only blocked syscall are only logged if
--seccomp-error-action
iskill
orlog
but notErrno(EPERM)
.Describe the solution you'd like
Load seccomp filter with
syscall(SYS_seccomp, SECCOMP_SET_MODE_FILTER, SECCOMP_FILTER_FLAG_LOG, &fl->prog)
on supported kernels (>=4.14).Describe alternatives you've considered
N/A
Additional context
https://man7.org/linux/man-pages/man2/seccomp.2.html
The text was updated successfully, but these errors were encountered: