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

fix(userspace/libscap): use proper module name in sysfs paths #1674

Closed
wants to merge 1 commit into from

Conversation

antoinedeschenes
Copy link

Current solution appending _probe to PROBE_DEVICE_NAME won't work if PROBE_NAME doesn't end in '-probe'.

Define SYSFS_NAME matching kbuild's KBUILD_MODNAME:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/Makefile.lib#n111

sysdig-CLA-1.0-signed-off-by: Antoine Deschênes [email protected]

Current solution appending _probe to `PROBE_DEVICE_NAME` won't work if `PROBE_NAME` doesn't end in '-probe'.

Define SYSFS_NAME matching kbuild's KBUILD_MODNAME:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/Makefile.lib#n111

sysdig-CLA-1.0-signed-off-by: Antoine Deschênes <[email protected]>
@antoinedeschenes
Copy link
Author

(also part of #1671)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants