Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 19:01:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_shm_shmat
Proto:static int selinux_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kern_ipc_perm * | shp | |
| char __user * | shmaddr | |
| int | shmflg |
| 6152 | If shmflg & ad-only access Then perms = SHM__READ |
| 6154 | Else perms = SHM__READ | SHM__WRITE |
| 6157 | Return ipc_has_perm(shp, perms) |
| 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 |