函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:52:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_shm_shmctl - Smack access check for shm*@isp: the object*@cmd: what it wants to do* Returns 0 if current has the requested access, error code otherwise
函数原型:static int smack_shm_shmctl(struct kern_ipc_perm *isp, int cmd)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kern_ipc_perm * | isp | |
| int | cmd |
| 2980 | 当:cmd恒等于get ipc_perm options |
| 2981 | 当:cmd恒等于pcs ctl commands |
| 2982 | 当:cmd恒等于SHM_STAT_ANY |
| 2985 | 当:cmd恒等于set ipc_perm options |
| 2986 | 当:cmd恒等于super user shmctl commands |
| 2987 | 当:cmd恒等于SHM_UNLOCK |
| 2988 | 当:cmd恒等于move resource |
| 2989 | may等于MAY_READWRITE |
| 2990 | 退出 |
| 2996 | 返回:0 |
| 2997 | 默认 |
| 2998 | 返回:负EINVAL |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |