⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

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

Closed
antoinedeschenes wants to merge 1 commit intodraios:devfrom
antoinedeschenes:fix-sysfs-name
Closed

fix(userspace/libscap): use proper module name in sysfs paths#1674
antoinedeschenes wants to merge 1 commit intodraios:devfrom
antoinedeschenes:fix-sysfs-name

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