How to unwind kernel stack to seek for specific caller?
Lev Olshvang <levonshe-zJpx2rpV7r/[email protected]> Wed, 15 Aug 2018 13:25:18 +0300
| Newsgroups | gmane.linux.region.israel |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il