函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:33:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_msg_queue_msgctl
函数原型:static int selinux_msg_queue_msgctl(struct kern_ipc_perm *msq, int cmd)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct kern_ipc_perm * | msq | |
| int | cmd |
| 5984 | 当:cmd恒等于get ipc_perm options |
| 5985 | 当:cmd恒等于pcs ctl commands |
| 5986 | 当:cmd恒等于MSG_STAT_ANY |
| 5987 | perms等于MSGQ__GETATTR按位或MSGQ__ASSOCIATE |
| 5988 | 退出 |
| 5989 | 当:cmd恒等于set ipc_perm options |
| 5990 | perms等于MSGQ__SETATTR |
| 5991 | 退出 |
| 5992 | 当:cmd恒等于move resource |
| 5993 | perms等于MSGQ__DESTROY |
| 5994 | 退出 |
| 5995 | 默认 |
| 5996 | 返回:0 |
| 5999 | err等于ipc_has_perm(msq, perms) |
| 6000 | 返回:err |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |