Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:23:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smack_msg_queue_msgctl - Smack access check for msg_queue*@isp: the object*@cmd: what it wants to do* Returns 0 if current has the requested access, error code otherwise
Proto:static int smack_msg_queue_msgctl(struct kern_ipc_perm *isp, int cmd)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kern_ipc_perm * | isp | |
int | cmd |
3164 | Case cmd == get ipc_perm options |
3165 | Case cmd == pcs ctl commands |
3166 | Case cmd == MSG_STAT_ANY |
3169 | Case cmd == set ipc_perm options |
3170 | Case cmd == move resource |
3171 | may = MAY_READWRITE |
3172 | Break |
3178 | Return 0 |
3179 | Default |
3180 | Return -EINVAL |
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 |