I am trying to use kill but inside the Linux kernel so I used sys_kill but this one does not work for meit is giving me an errorso anyone knows what I have to use to kill the process inside the kernel not in the user commandso my question in different from how could I use the system call from the kernelto the one who already asked me to make it clear .. yes I am trying to kill one process when the Linux got a packet from the networkso after 1000 packets Linux has to kill process number 17722I used kill, kill_sys but it does not work because I am in the kernel level not the user level
Kill the process from the kernel
linux