1

I am trying to kill a specific process from the kernel (not in the user level) so I was trying to use sys_kill, kill, kill_pid but it did not work the only one did not give me an error is kill_pid but it did not kill the process that I asked so any help in that?

1 Answers1

2

No you cant. You are in userspace. glibc or shell cant do that. That is why linux is more secure than windows.

Signal only works in userspace, so there is no way you can stop kernel thread