Debugging ineractions with userspace can often be a bit of pain, specially when trying to figure out who is at fault for an issue. Having the kernel process aliases when debugging can help us much faster find who is the culprit to an issue.
I've been carrying this around privately in my tree since 2016 but it seems others can benefit from similar debugging functionality so pushing this out for integration and wider review. Further testing, thoughts, reviews, flames are all equally appreciated. Luis R. Rodriguez (3): module: use goto errors on check_modinfo() and layout_and_allocate() module: add helper get_modinfo_idx() module: add debugging alias parsing support include/linux/module.h | 4 ++ init/Kconfig | 7 +++ kernel/module.c | 129 +++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 135 insertions(+), 5 deletions(-) -- 2.15.0