Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libdrgn: linux_kernel: skip /sys/module fast path when non-root
Only root can open some of the files within /sys/module. Thankfully, the /sys/module code path is only an optimization. When we are running as a non-root user, fall back to the less performant method, which doesn't cause permission issues. Signed-off-by: Stephen Brennan <stephen@brennan.io>
- Loading branch information