Searched refs:shp (Results 1 - 4 of 4) sorted by relevance

/security/
H A Dsecurity.c1037 int security_shm_alloc(struct shmid_kernel *shp) argument
1039 return security_ops->shm_alloc_security(shp);
1042 void security_shm_free(struct shmid_kernel *shp) argument
1044 security_ops->shm_free_security(shp);
1047 int security_shm_associate(struct shmid_kernel *shp, int shmflg) argument
1049 return security_ops->shm_associate(shp, shmflg);
1052 int security_shm_shmctl(struct shmid_kernel *shp, int cmd) argument
1054 return security_ops->shm_shmctl(shp, cmd);
1057 int security_shm_shmat(struct shmid_kernel *shp, char __user *shmaddr, int shmflg) argument
1059 return security_ops->shm_shmat(shp, shmadd
[all...]
H A Dcapability.c545 static int cap_shm_alloc_security(struct shmid_kernel *shp) argument
550 static void cap_shm_free_security(struct shmid_kernel *shp) argument
554 static int cap_shm_associate(struct shmid_kernel *shp, int shmflg) argument
559 static int cap_shm_shmctl(struct shmid_kernel *shp, int cmd) argument
564 static int cap_shm_shmat(struct shmid_kernel *shp, char __user *shmaddr, argument
/security/smack/
H A Dsmack_lsm.c2552 * @shp: the object
2556 static struct smack_known *smack_of_shm(struct shmid_kernel *shp) argument
2558 return (struct smack_known *)shp->shm_perm.security;
2563 * @shp: the object
2567 static int smack_shm_alloc_security(struct shmid_kernel *shp) argument
2569 struct kern_ipc_perm *isp = &shp->shm_perm;
2578 * @shp: the object
2582 static void smack_shm_free_security(struct shmid_kernel *shp) argument
2584 struct kern_ipc_perm *isp = &shp->shm_perm;
2591 * @shp
2596 smk_curacc_shm(struct shmid_kernel *shp, int access) argument
2618 smack_shm_associate(struct shmid_kernel *shp, int shmflg) argument
2633 smack_shm_shmctl(struct shmid_kernel *shp, int cmd) argument
2668 smack_shm_shmat(struct shmid_kernel *shp, char __user *shmaddr, int shmflg) argument
[all...]
/security/selinux/
H A Dhooks.c5383 static int selinux_shm_alloc_security(struct shmid_kernel *shp) argument
5390 rc = ipc_alloc_security(current, &shp->shm_perm, SECCLASS_SHM);
5394 isec = shp->shm_perm.security;
5397 ad.u.ipc_id = shp->shm_perm.key;
5402 ipc_free_security(&shp->shm_perm);
5408 static void selinux_shm_free_security(struct shmid_kernel *shp) argument
5410 ipc_free_security(&shp->shm_perm);
5413 static int selinux_shm_associate(struct shmid_kernel *shp, int shmflg) argument
5419 isec = shp->shm_perm.security;
5422 ad.u.ipc_id = shp
5429 selinux_shm_shmctl(struct shmid_kernel *shp, int cmd) argument
5461 selinux_shm_shmat(struct shmid_kernel *shp, char __user *shmaddr, int shmflg) argument
[all...]

Completed in 101 milliseconds