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

docs: update LSM hook prompt to reference lsm_hook_defs.h #115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gemesa
Copy link

@gemesa gemesa commented Sep 14, 2024

In newer kernel versions the hooks have been moved to lsm_hook_defs.h:

$ grep file_open /usr/src/kernels/6.10.9-200.fc40.x86_64/include/linux/lsm_hooks.h
$ grep file_open /usr/src/kernels/6.10.9-200.fc40.x86_64/include/linux/lsm_hook_defs.h
LSM_HOOK(int, 0, file_open, struct file *file)

So I think this info could be added to the prompt.

@gemesa
Copy link
Author

gemesa commented Sep 14, 2024

The docs only mention lsm_hook_defs.h though. Should the prompt be updated to reflect that for consistency?

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