How to unwind kernel stack to seek for specific caller?
Lev Olshvang
levonshe at yandex.com
Wed Aug 15 13:25:18 IDT 2018
Hello all linuxers,
I am writing a LSM kernel module which had register hook to mmap()
I need to know whether this call came from elf loader or other code path.
I know that I can print stack of function using dump_stack(), in this case I should
seek within kmsg buffer.
I see that kmsg_dump_get_buffer() function can get kernel messages but it is mot clear for me how I can get parameters
of this functions
Regards,
Lev
More information about the Linux-il
mailing list