Function report | 
Source Code:fs\fcntl.c | 
Create Date:2022-07-28 20:05:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:f_setown_ex
Proto:static int f_setown_ex(struct file *filp, unsigned long arg)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | filp | |
| unsigned long | arg | 
| 168 | ret = copy_from_user( & owner, owner_p, size of owner ) | 
| 173 | Case type == F_OWNER_TID | 
| 174 | type = PIDTYPE_PID | 
| 175 | Break | 
| 177 | Case type == F_OWNER_PID | 
| 178 | type = PIDTYPE_TGID | 
| 179 | Break | 
| 181 | Case type == F_OWNER_PGRP | 
| 182 | type = PIDTYPE_PGID | 
| 183 | Break | 
| 185 | Default | 
| 186 | Return -EINVAL | 
| 193 | Else __f_setown(filp, pid, type, 1) | 
| 197 | Return ret | 
| Name | Describe | 
|---|---|
| do_fcntl | 
| 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  |