gpt4 book ai didi

linux - SIGKILL 权限策略是什么?

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:30:56 26 4
gpt4 key购买 nike

什么是 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com