We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description
The kernel is compiled without CONFIG_FANOTIFY_ACCESS_PERMISSIONS:
CONFIG_FANOTIFY_ACCESS_PERMISSIONS
CONFIG_FANOTIFY=y # CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
Unfortunately, my software needs both CONFIG_FANOTIFY and CONFIG_FANOTIFY_ACCESS_PERMISSIONS.
CONFIG_FANOTIFY
This results in the following error when using the fanotify_mark syscall with with FAN_ACCESS_PERM or FAN_OPEN_EXEC_PERM flags:
fanotify_mark
FAN_ACCESS_PERM
FAN_OPEN_EXEC_PERM
failed to fanotify mark: fanotify: mark error, invalid argument
Steps to reproduce the issue:
Run ig as explained in the instructions:
$ docker run -ti --rm --privileged -v /run:/run -v /:/host ghcr.io/inspektor-gadget/ig list-containers --auto-mount-filesystems failed to fanotify mark: fanotify: mark error, invalid argument
Describe the results you received:
fanotify_mark syscall with FAN_ACCESS_PERM and FAN_OPEN_EXEC_PERM should work fine.
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
docker/for-mac#6915
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The kernel is compiled without
CONFIG_FANOTIFY_ACCESS_PERMISSIONS
:Unfortunately, my software needs both
CONFIG_FANOTIFY
andCONFIG_FANOTIFY_ACCESS_PERMISSIONS
.This results in the following error when using the
fanotify_mark
syscall with withFAN_ACCESS_PERM
orFAN_OPEN_EXEC_PERM
flags:Steps to reproduce the issue:
Run ig as explained in the instructions:
Describe the results you received:
Describe the results you expected:
fanotify_mark
syscall withFAN_ACCESS_PERM
andFAN_OPEN_EXEC_PERM
should work fine.Additional information you deem important (e.g. issue happens only occasionally):
docker/for-mac#6915
The text was updated successfully, but these errors were encountered: