Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:22:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int smack_shm_shmctl(struct kern_ipc_perm *isp, int cmd)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kern_ipc_perm * | isp | |
int | cmd |
2980 | Case cmd == get ipc_perm options |
2981 | Case cmd == pcs ctl commands |
2982 | Case cmd == SHM_STAT_ANY |
2985 | Case cmd == set ipc_perm options |
2986 | Case cmd == super user shmctl commands |
2987 | Case cmd == SHM_UNLOCK |
2988 | Case cmd == move resource |
2989 | may = MAY_READWRITE |
2990 | Break |
2996 | Return 0 |
2997 | Default |
2998 | 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 |