Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 9 of 9) sorted by relevance

/ipc/
Dipc_sysctl.c80 .mode = 0644,
87 .mode = 0644,
94 .mode = 0644,
103 .mode = 0644,
112 .mode = 0644,
121 .mode = 0644,
130 .mode = 0644,
139 .mode = 0644,
148 .mode = 0644,
156 .mode = 0444,
[all …]
Dcompat.c46 to->mode = v.mode; in get_compat_ipc64_perm()
58 to->mode = v.mode; in get_compat_ipc_perm()
69 to->mode = from->mode; in to_compat_ipc64_perm()
80 to->mode = from->mode; in to_compat_ipc_perm()
Dmq_sysctl.c27 .mode = 0644,
34 .mode = 0644,
43 .mode = 0644,
52 .mode = 0644,
61 .mode = 0644,
Dutil.c560 granted_mode = ipcp->mode; in ipcperms()
594 out->mode = in->mode; in kernel_to_ipc64_perm()
613 out->mode = in->mode; in ipc64_perm_to_ipc_perm()
696 out->mode = (out->mode & ~S_IRWXUGO) in ipc_update_perm()
697 | (in->mode & S_IRWXUGO); in ipc_update_perm()
739 perm->gid, perm->mode); in ipcctl_obtain_check()
Dmsg.c155 msq->q_perm.mode = msgflg & S_IRWXUGO; in newque()
382 out->msg_perm.mode = tbuf_old.msg_perm.mode; in copy_msqid_from_user()
794 static int testmsg(struct msg_msg *msg, long type, int mode) in testmsg() argument
796 switch (mode) { in testmsg()
1074 static struct msg_msg *find_msg(struct msg_queue *msq, long *msgtyp, int mode) in find_msg() argument
1080 if (testmsg(msg, *msgtyp, mode) && in find_msg()
1082 *msgtyp, mode)) { in find_msg()
1083 if (mode == SEARCH_LESSEQUAL && msg->m_type != 1) { in find_msg()
1086 } else if (mode == SEARCH_NUMBER) { in find_msg()
1101 int mode; in do_msgrcv() local
[all …]
Dmqueue.c291 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode() argument
302 inode->i_mode = mode; in mqueue_get_inode()
307 if (S_ISREG(mode)) { in mqueue_get_inode()
389 } else if (S_ISDIR(mode)) { in mqueue_get_inode()
566 static int mqueue_create_attr(struct dentry *dentry, umode_t mode, void *arg) in mqueue_create_attr() argument
589 inode = mqueue_get_inode(dir->i_sb, ipc_ns, mode, attr); in mqueue_create_attr()
612 struct dentry *dentry, umode_t mode, bool excl) in mqueue_create() argument
614 return mqueue_create_attr(dentry, mode, NULL); in mqueue_create()
867 umode_t mode, struct filename *name, in prepare_open() argument
880 return vfs_mkobj(dentry, mode & ~current_umask(), in prepare_open()
[all …]
Dshm.c130 shp->shm_perm.mode |= SHM_DEST; in do_shm_rmid()
359 (shp->shm_perm.mode & SHM_DEST)); in shm_may_destroy()
639 static long shm_fallocate(struct file *file, int mode, loff_t offset, in shm_fallocate() argument
646 return sfd->file->f_op->fallocate(file, mode, offset, len); in shm_fallocate()
732 shp->shm_perm.mode = (shmflg & S_IRWXUGO); in newseg()
898 out->shm_perm.mode = tbuf_old.shm_perm.mode; in copy_shmid_from_user()
1217 if (!err && !(shp->shm_perm.mode & SHM_LOCKED)) { in shmctl_do_lock()
1218 shp->shm_perm.mode |= SHM_LOCKED; in shmctl_do_lock()
1225 if (!(shp->shm_perm.mode & SHM_LOCKED)) in shmctl_do_lock()
1228 shp->shm_perm.mode &= ~SHM_LOCKED; in shmctl_do_lock()
[all …]
Dutil.h266 compat_mode_t mode; member
Dsem.c549 sma->sem_perm.mode = (semflg & S_IRWXUGO); in newary()
1587 out->sem_perm.mode = tbuf_old.sem_perm.mode; in copy_semid_from_user()
2473 sma->sem_perm.mode, in sysvipc_sem_proc_show()