什么是 SIGKILL 权限策略?
我假设我无法在非 root 用户上运行时杀死内核或其他用户的某些内容,但我还没有找到任何关于此的文档。
最佳答案
来自 http://linux.die.net/man/2/kill :
For a process to have permission to send a signal it must either be privileged (under Linux: have the CAP_KILL capability), or the real or effective user ID of the sending process must equal the real or saved set-user-ID of the target process. In the case of SIGCONT it suffices when the sending and receiving processes belong to the same session.
关于linux - SIGKILL 权限策略是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1219811/