Home
last modified time | relevance | path

Searched refs:ipc_ns (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/ipc/
H A Dmqueue.c47 struct ipc_namespace *ipc_ns; member
293 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode()
330 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode()
331 ipc_ns->mq_msg_default); in mqueue_get_inode()
332 info->attr.mq_msgsize = min(ipc_ns->mq_msgsize_max, in mqueue_get_inode()
333 ipc_ns->mq_msgsize_default); in mqueue_get_inode()
360 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode()
361 info->attr.mq_msgsize > ipc_ns->mq_msgsize_max) in mqueue_get_inode()
433 fc->s_fs_info = ctx->ipc_ns; in mqueue_get_tree()
436 return get_tree_keyed(fc, mqueue_fill_super, ctx->ipc_ns); in mqueue_get_tree()
292 mqueue_get_inode(struct super_block *sb, struct ipc_namespace *ipc_ns, umode_t mode, struct mq_attr *attr) mqueue_get_inode() argument
515 struct ipc_namespace *ipc_ns; mqueue_evict_inode() local
572 struct ipc_namespace *ipc_ns; mqueue_create_attr() local
958 struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; SYSCALL_DEFINE1() local
[all...]
H A Dipc_sysctl.c20 struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; in get_ipc() local
21 which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns; in get_ipc()
51 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in proc_ipc_dointvec_minmax_orphans()
91 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in proc_ipc_sem_dointvec()
97 ret = sem_check_semmni(current->nsproxy->ipc_ns); in proc_ipc_sem_dointvec()
H A Dmq_sysctl.c16 struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; in get_mq() local
17 which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns; in get_mq()
H A Dnamespace.c161 * (Clearly, a task raising the refcount on its own ipc_ns
189 ns = get_ipc_ns(nsproxy->ipc_ns); in ipcns_get()
208 put_ipc_ns(nsproxy->ipc_ns); in ipcns_install()
209 nsproxy->ipc_ns = get_ipc_ns(ns); in ipcns_install()
H A Dmsg.c306 ns = current->nsproxy->ipc_ns; in ksys_msgget()
600 ns = current->nsproxy->ipc_ns; in ksys_msgctl()
732 ns = current->nsproxy->ipc_ns; in compat_ksys_msgctl()
851 ns = current->nsproxy->ipc_ns; in do_msgsnd()
1101 ns = current->nsproxy->ipc_ns; in do_msgrcv()
H A Dsem.c609 ns = current->nsproxy->ipc_ns; in ksys_semget()
1660 ns = current->nsproxy->ipc_ns; in ksys_semctl()
1780 ns = current->nsproxy->ipc_ns; in compat_ksys_semctl()
1997 ns = current->nsproxy->ipc_ns; in do_semtimedop()
2361 sma = sem_obtain_object_check(tsk->nsproxy->ipc_ns, semid); in exit_sem()
H A Dshm.c831 ns = current->nsproxy->ipc_ns; in ksys_shmget()
1244 ns = current->nsproxy->ipc_ns; in ksys_shmctl()
1436 ns = current->nsproxy->ipc_ns; in compat_ksys_shmctl()
1573 ns = current->nsproxy->ipc_ns; in do_shmat()
H A Dutil.c864 iter->ns = get_ipc_ns(current->nsproxy->ipc_ns); in sysvipc_proc_open()
/kernel/linux/linux-6.6/ipc/
H A Dmqueue.c47 struct ipc_namespace *ipc_ns; member
291 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode()
327 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode()
328 ipc_ns->mq_msg_default); in mqueue_get_inode()
329 info->attr.mq_msgsize = min(ipc_ns->mq_msgsize_max, in mqueue_get_inode()
330 ipc_ns->mq_msgsize_default); in mqueue_get_inode()
357 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode()
358 info->attr.mq_msgsize > ipc_ns->mq_msgsize_max) in mqueue_get_inode()
434 fc->s_fs_info = ctx->ipc_ns; in mqueue_get_tree()
437 return get_tree_keyed(fc, mqueue_fill_super, ctx->ipc_ns); in mqueue_get_tree()
290 mqueue_get_inode(struct super_block *sb, struct ipc_namespace *ipc_ns, umode_t mode, struct mq_attr *attr) mqueue_get_inode() argument
515 struct ipc_namespace *ipc_ns; mqueue_evict_inode() local
572 struct ipc_namespace *ipc_ns; mqueue_create_attr() local
959 struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; SYSCALL_DEFINE1() local
[all...]
H A Dnamespace.c194 * (Clearly, a task raising the refcount on its own ipc_ns
222 ns = get_ipc_ns(nsproxy->ipc_ns); in ipcns_get()
241 put_ipc_ns(nsproxy->ipc_ns); in ipcns_install()
242 nsproxy->ipc_ns = get_ipc_ns(ns); in ipcns_install()
H A Dmq_sysctl.c71 return &current->nsproxy->ipc_ns->mq_set; in set_lookup()
76 return &current->nsproxy->ipc_ns->mq_set == set; in set_is_seen()
H A Dipc_sysctl.c185 return &current->nsproxy->ipc_ns->ipc_set; in set_lookup()
190 return &current->nsproxy->ipc_ns->ipc_set == set; in set_is_seen()
198 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in ipc_permissions()
H A Dmsg.c307 ns = current->nsproxy->ipc_ns; in ksys_msgget()
606 ns = current->nsproxy->ipc_ns; in ksys_msgctl()
738 ns = current->nsproxy->ipc_ns; in compat_ksys_msgctl()
857 ns = current->nsproxy->ipc_ns; in do_msgsnd()
1107 ns = current->nsproxy->ipc_ns; in do_msgrcv()
H A Dsem.c612 ns = current->nsproxy->ipc_ns; in ksys_semget()
1661 ns = current->nsproxy->ipc_ns; in ksys_semctl()
1781 ns = current->nsproxy->ipc_ns; in compat_ksys_semctl()
2230 ns = current->nsproxy->ipc_ns; in do_semtimedop()
2380 sma = sem_obtain_object_check(tsk->nsproxy->ipc_ns, semid); in exit_sem()
H A Dshm.c841 ns = current->nsproxy->ipc_ns; in ksys_shmget()
1254 ns = current->nsproxy->ipc_ns; in ksys_shmctl()
1446 ns = current->nsproxy->ipc_ns; in compat_ksys_shmctl()
1583 ns = current->nsproxy->ipc_ns; in do_shmat()
H A Dutil.c909 iter->ns = get_ipc_ns(current->nsproxy->ipc_ns); in sysvipc_proc_open()
/kernel/linux/linux-5.10/kernel/
H A Dnsproxy.c37 .ipc_ns = &init_ipc_ns,
91 new_nsp->ipc_ns = copy_ipcs(flags, user_ns, tsk->nsproxy->ipc_ns); in create_new_namespaces()
92 if (IS_ERR(new_nsp->ipc_ns)) { in create_new_namespaces()
93 err = PTR_ERR(new_nsp->ipc_ns); in create_new_namespaces()
135 if (new_nsp->ipc_ns) in create_new_namespaces()
136 put_ipc_ns(new_nsp->ipc_ns); in create_new_namespaces()
200 if (ns->ipc_ns) in free_nsproxy()
201 put_ipc_ns(ns->ipc_ns); in free_nsproxy()
447 ret = validate_ns(nsset, &nsp->ipc_ns in validate_nsset()
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dnsproxy.c37 .ipc_ns = &init_ipc_ns,
91 new_nsp->ipc_ns = copy_ipcs(flags, user_ns, tsk->nsproxy->ipc_ns); in create_new_namespaces()
92 if (IS_ERR(new_nsp->ipc_ns)) { in create_new_namespaces()
93 err = PTR_ERR(new_nsp->ipc_ns); in create_new_namespaces()
135 if (new_nsp->ipc_ns) in create_new_namespaces()
136 put_ipc_ns(new_nsp->ipc_ns); in create_new_namespaces()
197 if (ns->ipc_ns) in free_nsproxy()
198 put_ipc_ns(ns->ipc_ns); in free_nsproxy()
461 ret = validate_ns(nsset, &nsp->ipc_ns in validate_nsset()
[all...]
/kernel/linux/linux-5.10/drivers/android/
H A Dbinderfs.c116 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_device_create()
391 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_ctl_create()
671 info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in binderfs_fill_super()
764 if (info && info->ipc_ns) in binderfs_kill_super()
765 put_ipc_ns(info->ipc_ns); in binderfs_kill_super()
H A Dbinder_internal.h52 * @ipc_ns: The ipc namespace the binderfs mount belongs to.
65 struct ipc_namespace *ipc_ns; member
/kernel/linux/linux-6.6/drivers/android/
H A Dbinderfs.c124 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_device_create()
401 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_ctl_create()
687 info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in binderfs_fill_super()
784 if (info && info->ipc_ns) in binderfs_kill_super()
785 put_ipc_ns(info->ipc_ns); in binderfs_kill_super()
H A Dbinder_internal.h54 * @ipc_ns: The ipc namespace the binderfs mount belongs to.
67 struct ipc_namespace *ipc_ns; member
/kernel/linux/linux-5.10/include/linux/
H A Dnsproxy.h34 struct ipc_namespace *ipc_ns; member
/kernel/linux/linux-6.6/include/linux/
H A Dnsproxy.h34 struct ipc_namespace *ipc_ns; member
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dsys_oabi-compat.c349 ns = current->nsproxy->ipc_ns; in sys_oabi_semtimedop()

Completed in 26 milliseconds