Lines Matching defs:shp
1935 int security_shm_alloc(struct kern_ipc_perm *shp)
1937 int rc = lsm_ipc_alloc(shp);
1941 rc = call_int_hook(shm_alloc_security, 0, shp);
1943 security_shm_free(shp);
1947 void security_shm_free(struct kern_ipc_perm *shp)
1949 call_void_hook(shm_free_security, shp);
1950 kfree(shp->security);
1951 shp->security = NULL;
1954 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg)
1956 return call_int_hook(shm_associate, 0, shp, shmflg);
1959 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd)
1961 return call_int_hook(shm_shmctl, 0, shp, cmd);
1964 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg)
1966 return call_int_hook(shm_shmat, 0, shp, shmaddr, shmflg);