Re: system call hook triggers kernel panic

2019-10-17 Thread Yi Li
> On Oct 17, 2019, at 12:29 PM, Oliver O'Halloran wrote: > > > The ABI (v1 and v2) uses r2 as a pointer to the "table of contents" > which is used to look up the addresses of global symbols. TOCs are > specific to the current unit of execution and the vmlinux and each > module has its own TOC

Re: system call hook triggers kernel panic

2019-10-16 Thread Oliver O'Halloran
On Thu, Oct 17, 2019 at 1:01 PM Yi Li wrote: > > Hi, *snip* > The kernel module can be insert correctly, and we mount a tmpfs, then umount. > Kernel panic when doing umount: > " > [ 148.569777] umount /home/adam/test 0x0 > [ 148.608227] umount2 returned 0 > [ 148.608268] Unable to handle kern