Function report | 
Source Code:fs\open.c | 
Create Date:2022-07-28 20:00:56 | 
| Last Modify:2020-03-18 10:16:03 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:do_fchownat
Proto:int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group, int flag)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | dfd | |
| const char __user * | filename | |
| uid_t | user | |
| gid_t | group | |
| int | flag | 
| 669 | If (flag & ~(Do not follow symbolic links. | Allow empty relative pathname )) != 0 Then Go to out | 
| 672 | lookup_flags = If flag & Do not follow symbolic links. Then 0 Else llow links at the end | 
| 673 | If flag & Allow empty relative pathname Then lookup_flags |= accept empty path [user_... only] | 
| 675 | retry : | 
| 676 | error = user_path_at(dfd, filename, lookup_flags, & path) | 
| 679 | error = mnt_want_write(mnt) | 
| 680 | If error Then Go to out_release | 
| 682 | error = chown_common( & path, user, group) | 
| 683 | mnt_drop_write(mnt) | 
| 684 | out_release : | 
| 688 | Go to retry | 
| 690 | out : | 
| 691 | Return error | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE5 | |
| SYSCALL_DEFINE3 | |
| SYSCALL_DEFINE3 | 
| 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  |