Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:58:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_file_fcntl
Proto:static int selinux_file_fcntl(struct file *file, unsigned int cmd, unsigned long arg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | file | |
unsigned int | cmd | |
unsigned long | arg |
3787 | 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.() |
3788 | err = 0 |
3802 | Case cmd == F_GETOWNER_UIDS |
3805 | Break |
3809 | Case cmd == F_OFD_GETLK |
3810 | Case cmd == F_OFD_SETLK |
3811 | Case cmd == F_OFD_SETLKW |
3813 | Case cmd == using 'struct flock64' |
3815 | Case cmd == F_SETLKW64 |
3818 | Break |
3821 | Return err |
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 |