Function report |
Source Code:security\device_cgroup.c |
Create Date:2022-07-28 19:55:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__devcgroup_check_permission - checks if an inode operation is permitted*@dev_cgroup: the dev cgroup to be tested against*@type: device type*@major: device major number*@minor: device minor number*@access: combination of DEVCG_ACC_WRITE, DEVCG_ACC_READ
Proto:static int __devcgroup_check_permission(short type, unsigned int major, unsigned int minor, short access)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| short | type | |
| unsigned int | major | |
| unsigned int | minor | |
| short | access |
| 825 | Return 0 |
| Name | Describe |
|---|---|
| devcgroup_check_permission |
| 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 |