setgid
os
0.1.0
In os::
kernel::
syscall::
cred
os
::
kernel
::
syscall
::
cred
Function
setgid
Copy item path
Source
pub fn setgid(gid: u32) -> isize
Expand description
设置组 ID
在单 root 用户系统中,只允许设置为 0(root 组)