Function report | 
Source Code:kernel\sys.c | 
Create Date:2022-07-28 09:20:18 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:do_getpgid
Proto:static int do_getpgid(pid_t pid)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| pid_t | pid | 
| 1086 | Else | 
| 1091 | grp = Without tasklist or RCU lock it is not safe to dereference* the result of task_pgrp/task_session even if task == current,* we can race with another thread doing sys_setsid/sys_setpgid. | 
| 1095 | retval = security_task_getpgid(p) | 
| 1100 | out : | 
| 1102 | Return retval | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE1 | |
| sys_getpgrp | 
| 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  |