Home
last modified time | relevance | path

Searched refs:kern_ipc_perm (Results 1 – 19 of 19) sorted by relevance

/linux-3.4.99/ipc/ !
Dutil.h75 int (*associate) (struct kern_ipc_perm *, int);
76 int (*more_checks) (struct kern_ipc_perm *, struct ipc_params *);
97 int ipc_addid(struct ipc_ids *, struct kern_ipc_perm *, int);
103 void ipc_rmid(struct ipc_ids *, struct kern_ipc_perm *);
106 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flg);
124 struct kern_ipc_perm *ipc_lock(struct ipc_ids *, int);
126 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out);
128 void ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out);
129 struct kern_ipc_perm *ipcctl_pre_down(struct ipc_namespace *ns,
154 static inline int ipc_checkid(struct kern_ipc_perm *ipcp, int uid) in ipc_checkid()
[all …]
Dutil.c181 static struct kern_ipc_perm *ipc_findkey(struct ipc_ids *ids, key_t key) in ipc_findkey()
183 struct kern_ipc_perm *ipc; in ipc_findkey()
214 struct kern_ipc_perm *ipc; in ipc_get_maxid()
250 int ipc_addid(struct ipc_ids* ids, struct kern_ipc_perm* new, int size) in ipc_addid()
334 struct kern_ipc_perm *ipcp, in ipc_check_perms()
368 struct kern_ipc_perm *ipcp; in ipcget_public()
424 void ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp) in ipc_rmid()
607 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag) in ipcperms()
643 void kernel_to_ipc64_perm (struct kern_ipc_perm *in, struct ipc64_perm *out) in kernel_to_ipc64_perm()
684 struct kern_ipc_perm *ipc_lock(struct ipc_ids *ids, int id) in ipc_lock()
[all …]
Dnamespace.c73 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *)) in free_ipcs() argument
75 struct kern_ipc_perm *perm; in free_ipcs()
Dshm.c86 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid()
133 struct kern_ipc_perm *ipcp = ipc_lock(&shm_ids(ns), id); in shm_lock()
150 struct kern_ipc_perm *ipcp = ipc_lock_check(&shm_ids(ns), id); in shm_lock_check()
251 struct kern_ipc_perm *ipcp = p; in shm_try_destroy_current()
282 struct kern_ipc_perm *ipcp = p; in shm_try_destroy_orphaned()
541 static inline int shm_security(struct kern_ipc_perm *ipcp, int shmflg) in shm_security()
552 static inline int shm_more_checks(struct kern_ipc_perm *ipcp, in shm_more_checks()
704 struct kern_ipc_perm *ipc; in shm_get_stat()
726 struct kern_ipc_perm *ipcp; in shmctl_down()
Dmsg.c74 static void freeque(struct ipc_namespace *, struct kern_ipc_perm *);
149 struct kern_ipc_perm *ipcp = ipc_lock(&msg_ids(ns), id); in msg_lock()
160 struct kern_ipc_perm *ipcp = ipc_lock_check(&msg_ids(ns), id); in msg_lock_check()
279 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeque()
307 static inline int msg_security(struct kern_ipc_perm *ipcp, int msgflg) in msg_security()
416 struct kern_ipc_perm *ipcp; in msgctl_down()
Dsem.c145 static void freeary(struct ipc_namespace *, struct kern_ipc_perm *);
199 struct kern_ipc_perm *ipcp = ipc_lock(&sem_ids(ns), id); in sem_lock()
210 struct kern_ipc_perm *ipcp = ipc_lock_check(&sem_ids(ns), id); in sem_lock_check()
344 static inline int sem_security(struct kern_ipc_perm *ipcp, int semflg) in sem_security()
355 static inline int sem_more_checks(struct kern_ipc_perm *ipcp, in sem_more_checks()
742 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeary()
1084 struct kern_ipc_perm *ipcp; in semctl_down()
/linux-3.4.99/include/linux/ !
Dselinux.h19 struct kern_ipc_perm;
Dipc.h86 struct kern_ipc_perm struct
Dsem.h88 struct kern_ipc_perm ____cacheline_aligned_in_smp
Dshm.h88 struct kern_ipc_perm shm_perm;
Dmsg.h89 struct kern_ipc_perm q_perm;
Dsecurity.h36 struct kern_ipc_perm;
1534 int (*ipc_permission) (struct kern_ipc_perm *ipcp, short flag);
1535 void (*ipc_getsecid) (struct kern_ipc_perm *ipcp, u32 *secid);
1789 int security_ipc_permission(struct kern_ipc_perm *ipcp, short flag);
1790 void security_ipc_getsecid(struct kern_ipc_perm *ipcp, u32 *secid);
2367 static inline int security_ipc_permission(struct kern_ipc_perm *ipcp, in security_ipc_permission()
2373 static inline void security_ipc_getsecid(struct kern_ipc_perm *ipcp, u32 *secid) in security_ipc_getsecid()
Daudit.h531 extern void __audit_ipc_obj(struct kern_ipc_perm *ipcp);
547 static inline void audit_ipc_obj(struct kern_ipc_perm *ipcp) in audit_ipc_obj()
/linux-3.4.99/Documentation/RCU/ !
DarrayRCU.txt65 new = ipc_rcu_alloc(sizeof(struct kern_ipc_perm *)*newsize +
71 sizeof(struct kern_ipc_perm *)*size +
105 struct kern_ipc_perm* ipc_lock(struct ipc_ids* ids, int id)
107 struct kern_ipc_perm* out;
/linux-3.4.99/security/smack/ !
Dsmack_lsm.c2135 struct kern_ipc_perm *isp = &shp->shm_perm; in smack_shm_alloc_security()
2149 struct kern_ipc_perm *isp = &shp->shm_perm; in smack_shm_free_security()
2258 struct kern_ipc_perm *isp = &sma->sem_perm; in smack_sem_alloc_security()
2272 struct kern_ipc_perm *isp = &sma->sem_perm; in smack_sem_free_security()
2376 struct kern_ipc_perm *kisp = &msq->q_perm; in smack_msg_queue_alloc_security()
2390 struct kern_ipc_perm *kisp = &msq->q_perm; in smack_msg_queue_free_security()
2513 static int smack_ipc_permission(struct kern_ipc_perm *ipp, short flag) in smack_ipc_permission()
2531 static void smack_ipc_getsecid(struct kern_ipc_perm *ipp, u32 *secid) in smack_ipc_getsecid()
/linux-3.4.99/security/ !
Dcapability.c454 static int cap_ipc_permission(struct kern_ipc_perm *ipcp, short flag) in cap_ipc_permission()
459 static void cap_ipc_getsecid(struct kern_ipc_perm *ipcp, u32 *secid) in cap_ipc_getsecid()
Dsecurity.c845 int security_ipc_permission(struct kern_ipc_perm *ipcp, short flag) in security_ipc_permission()
850 void security_ipc_getsecid(struct kern_ipc_perm *ipcp, u32 *secid) in security_ipc_getsecid()
/linux-3.4.99/security/selinux/ !
Dhooks.c4916 struct kern_ipc_perm *perm, in ipc_alloc_security()
4934 static void ipc_free_security(struct kern_ipc_perm *perm) in ipc_free_security()
4963 static int ipc_has_perm(struct kern_ipc_perm *ipc_perms, in ipc_has_perm()
5340 static int selinux_ipc_permission(struct kern_ipc_perm *ipcp, short flag) in selinux_ipc_permission()
5356 static void selinux_ipc_getsecid(struct kern_ipc_perm *ipcp, u32 *secid) in selinux_ipc_getsecid()
/linux-3.4.99/kernel/ !
Dauditsc.c2431 void __audit_ipc_obj(struct kern_ipc_perm *ipcp) in __audit_ipc_obj()