Function report | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-28 18:55:53 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:selinux_quotactl
Proto:static int selinux_quotactl(int cmds, int type, int id, struct super_block *sb)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | cmds | |
| int | type | |
| int | id | |
| struct super_block * | sb | 
| 2183 | 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.() | 
| 2184 | rc = 0 | 
| 2186 | If Not sb Then Return 0 | 
| 2190 | Case cmds == sync disk copy of a filesystems quotas | 
| 2191 | Case cmds == urn quotas on | 
| 2192 | Case cmds == urn quotas off | 
| 2193 | Case cmds == set information about quota files | 
| 2194 | Case cmds == set user quota structure | 
| 2196 | Break | 
| 2197 | Case cmds == get quota format used on given filesystem | 
| 2198 | Case cmds == get information about quota files | 
| 2199 | Case cmds == get user quota structure | 
| 2201 | Break | 
| 2202 | Default | 
| 2203 | rc = 0 | 
| 2204 | Break | 
| 2206 | 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  |