The new capability state of the process will be completely determined by the contents of cap_p upon successful return from this function.
在这个函数成功返回之后,进程的新能力状态完全由cap _ p的内容决定。
If any flag in cap_p is set for any capability not currently permitted for the calling process, the function will fail, and the capability state of the process will remain unchanged.
如果对调用进程中不允许的能力设置cap _ p的任何标志,那么这个函数就会失败,进程的能力状态保持不变。
If any flag in cap_p is set for any capability not currently permitted for the calling process, the function will fail, and the capability state of the process will remain unchanged.
如果对调用进程中不允许的能力设置cap _ p的任何标志,那么这个函数就会失败,进程的能力状态保持不变。
应用推荐