现在使用prctl。
The command to change resource controls is the PRCTL command.
修改资源控制的命令是prctl命令。
Call PRCTL (2) to set PR_SET_KEEPCAPS, which asks the system to let it keep its capabilities across setuid (2).
通过调用prctl(2)设置PR_SET _ KEEPCAPS,这请求系统在调用setuid(2)时保留它的能力。
Using PRCTL (3), a process can request keeping its capabilities across its next setuid (2) call. This means that a process can.
通过使用prctl(3),进程可以请求在下一次调用setuid(2)时保留它的能力。
Using PRCTL (3), a process can request keeping its capabilities across its next setuid (2) call. This means that a process can.
通过使用prctl(3),进程可以请求在下一次调用setuid(2)时保留它的能力。
应用推荐