Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:21:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smack_file_open - Smack dentry open processing*@file: the object* Set the security blob in the file structure.* Allow the open only if the task has read access. There are* many read operations (e.g. fstat) that you can do with an
Proto:static int smack_file_open(struct file *file)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file |
| 1882 | tsp = smack_cred(f_cred) |
| 1883 | inode = file_inode(file) |
| 1888 | smk_ad_setfield_u_fs_path( & ad, f_path) |
| 1892 | Return rc |
| 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 |