Function report |
Source Code:kernel\uid16.c |
Create Date:2022-07-28 10:56:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SYSCALL_DEFINE3
Proto:SYSCALL_DEFINE3(getresgid16, old_gid_t __user *, rgidp, old_gid_t __user *, egidp, old_gid_t __user *, sgidp)
Type:
Parameter:Nothing
89 | cred = current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() |
93 | rgid = high2lowgid(from_kgid_munged( user_ns the caps and keyrings are relative to. , real GID of the task )) |
94 | egid = high2lowgid(from_kgid_munged( user_ns the caps and keyrings are relative to. , effective GID of the task )) |
95 | sgid = high2lowgid(from_kgid_munged( user_ns the caps and keyrings are relative to. , saved GID of the task )) |
97 | If Not (retval = Write a simple value into user space(rgid, rgidp)) && Not (retval = Write a simple value into user space(egid, egidp)) Then retval = Write a simple value into user space(sgid, sgidp) |
101 | Return retval |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |