Home
last modified time | relevance | path

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

/ipc/
Dutil.h56 int (*associate) (struct kern_ipc_perm *, int);
57 int (*more_checks) (struct kern_ipc_perm *, struct ipc_params *);
78 int ipc_addid(struct ipc_ids *, struct kern_ipc_perm *, int);
84 void ipc_rmid(struct ipc_ids *, struct kern_ipc_perm *);
87 int ipcperms(struct kern_ipc_perm *ipcp, short flg);
105 struct kern_ipc_perm *ipc_lock(struct ipc_ids *, int);
107 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out);
109 void ipc_update_perm(struct ipc64_perm *in, struct kern_ipc_perm *out);
110 struct kern_ipc_perm *ipcctl_pre_down(struct ipc_ids *ids, int id, int cmd,
134 static inline int ipc_checkid(struct kern_ipc_perm *ipcp, int uid) in ipc_checkid()
[all …]
Dutil.c190 static struct kern_ipc_perm *ipc_findkey(struct ipc_ids *ids, key_t key) in ipc_findkey()
192 struct kern_ipc_perm *ipc; in ipc_findkey()
223 struct kern_ipc_perm *ipc; in ipc_get_maxid()
259 int ipc_addid(struct ipc_ids* ids, struct kern_ipc_perm* new, int size) in ipc_addid()
341 static int ipc_check_perms(struct kern_ipc_perm *ipcp, struct ipc_ops *ops, in ipc_check_perms()
374 struct kern_ipc_perm *ipcp; in ipcget_public()
430 void ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp) in ipc_rmid()
624 int ipcperms (struct kern_ipc_perm *ipcp, short flag) in ipcperms()
660 void kernel_to_ipc64_perm (struct kern_ipc_perm *in, struct ipc64_perm *out) in kernel_to_ipc64_perm()
701 struct kern_ipc_perm *ipc_lock(struct ipc_ids *ids, int id) in ipc_lock()
[all …]
Dnamespace.c66 void (*free)(struct ipc_namespace *, struct kern_ipc_perm *)) in free_ipcs() argument
68 struct kern_ipc_perm *perm; in free_ipcs()
Dmsg.c75 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()
305 static inline int msg_security(struct kern_ipc_perm *ipcp, int msgflg) in msg_security()
414 struct kern_ipc_perm *ipcp; in msgctl_down()
Dsem.c96 static void freeary(struct ipc_namespace *, struct kern_ipc_perm *);
149 struct kern_ipc_perm *ipcp = ipc_lock(&sem_ids(ns), id); in sem_lock()
160 struct kern_ipc_perm *ipcp = ipc_lock_check(&sem_ids(ns), id); in sem_lock_check()
288 static inline int sem_security(struct kern_ipc_perm *ipcp, int semflg) in sem_security()
299 static inline int sem_more_checks(struct kern_ipc_perm *ipcp, in sem_more_checks()
517 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeary()
854 struct kern_ipc_perm *ipcp; in semctl_down()
Dshm.c85 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid()
120 struct kern_ipc_perm *ipcp = ipc_lock(&shm_ids(ns), id); in shm_lock()
131 struct kern_ipc_perm *ipcp = ipc_lock_check(&shm_ids(ns), id); in shm_lock_check()
422 static inline int shm_security(struct kern_ipc_perm *ipcp, int shmflg) in shm_security()
433 static inline int shm_more_checks(struct kern_ipc_perm *ipcp, in shm_more_checks()
593 struct kern_ipc_perm *ipcp; in shmctl_down()