calling mprotect in kernel module

253 Views Asked by At

I have a kernel module where I need to call mprotect for the current user process. I was thinking of making a direct call to do_mprotect_pkey but the function is marked as static. If not, is there any other way like going through a system call or something?

0

There are 0 best solutions below