setuid.2
来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 2 代码 · 共 31 行
2
31 行
.TH SETUID 2 .SH NAMEsetuid, setgid \- set user and group ID.SH SYNOPSIS.B setuid(uid).PP.B setgid(gid).SH DESCRIPTIONThe user ID (group ID) of the current process is set tothe argument.Both the effective and the real ID are set.These calls are only permitted to the super-useror if the argument is the real ID..SH "SEE ALSO"getuid(2).SH DIAGNOSTICSZero is returned if the user (group) ID is set;\-1 is returned otherwise..SH ASSEMBLER(setuid = 23.).br(user ID in r0).br.B sys setuid.PP(setgid = 46.).br(group ID in r0).br.B sys setgid
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?