Welcome to the Linux Foundation Forum!

the current struct crashing the system on some module but work on another

I am wrote simple system call that return the pid of the program that call it and it worked just fine but the problem is when i tried to use the current->pid on another system call it crashed . but it worked fine on kernel 4.15
I ma tring to rewrite it on kernel 4.18

Categories

Upcoming Training