Searched refs:shp (Results 1 – 2 of 2) sorted by relevance
/security/ |
D | security.c | 1802 int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument 1804 int rc = lsm_ipc_alloc(shp); in security_shm_alloc() 1808 rc = call_int_hook(shm_alloc_security, 0, shp); in security_shm_alloc() 1810 security_shm_free(shp); in security_shm_alloc() 1814 void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument 1816 call_void_hook(shm_free_security, shp); in security_shm_free() 1817 kfree(shp->security); in security_shm_free() 1818 shp->security = NULL; in security_shm_free() 1821 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg) in security_shm_associate() argument 1823 return call_int_hook(shm_associate, 0, shp, shmflg); in security_shm_associate() [all …]
|
/security/selinux/ |
D | hooks.c | 6060 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp) in selinux_shm_alloc_security() argument 6067 isec = selinux_ipc(shp); in selinux_shm_alloc_security() 6071 ad.u.ipc_id = shp->key; in selinux_shm_alloc_security() 6079 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate() argument 6085 isec = selinux_ipc(shp); in selinux_shm_associate() 6088 ad.u.ipc_id = shp->key; in selinux_shm_associate() 6096 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in selinux_shm_shmctl() argument 6127 err = ipc_has_perm(shp, perms); in selinux_shm_shmctl() 6131 static int selinux_shm_shmat(struct kern_ipc_perm *shp, in selinux_shm_shmat() argument 6141 return ipc_has_perm(shp, perms); in selinux_shm_shmat()
|