Searched refs:ipc_ns (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.4/kernel/ |
| D | nsproxy.c | 33 .ipc_ns = &init_ipc_ns, 83 new_nsp->ipc_ns = copy_ipcs(flags, user_ns, tsk->nsproxy->ipc_ns); in create_new_namespaces() 84 if (IS_ERR(new_nsp->ipc_ns)) { in create_new_namespaces() 85 err = PTR_ERR(new_nsp->ipc_ns); in create_new_namespaces() 117 if (new_nsp->ipc_ns) in create_new_namespaces() 118 put_ipc_ns(new_nsp->ipc_ns); in create_new_namespaces() 175 if (ns->ipc_ns) in free_nsproxy() 176 put_ipc_ns(ns->ipc_ns); in free_nsproxy()
|
| /Linux-v5.4/ipc/ |
| D | mqueue.c | 47 struct ipc_namespace *ipc_ns; member 232 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode() argument 269 info->attr.mq_maxmsg = min(ipc_ns->mq_msg_max, in mqueue_get_inode() 270 ipc_ns->mq_msg_default); in mqueue_get_inode() 271 info->attr.mq_msgsize = min(ipc_ns->mq_msgsize_max, in mqueue_get_inode() 272 ipc_ns->mq_msgsize_default); in mqueue_get_inode() 299 if (info->attr.mq_maxmsg > ipc_ns->mq_msg_max || in mqueue_get_inode() 300 info->attr.mq_msgsize > ipc_ns->mq_msgsize_max) in mqueue_get_inode() 367 return get_tree_keyed(fc, mqueue_fill_super, ctx->ipc_ns); in mqueue_get_tree() 374 put_ipc_ns(ctx->ipc_ns); in mqueue_fs_context_free() [all …]
|
| D | ipc_sysctl.c | 20 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()
|
| D | mq_sysctl.c | 16 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()
|
| D | namespace.c | 169 ns = get_ipc_ns(nsproxy->ipc_ns); in ipcns_get() 189 put_ipc_ns(nsproxy->ipc_ns); in ipcns_install() 190 nsproxy->ipc_ns = get_ipc_ns(ns); in ipcns_install()
|
| D | msg.c | 285 ns = current->nsproxy->ipc_ns; in ksys_msgget() 579 ns = current->nsproxy->ipc_ns; in ksys_msgctl() 710 ns = current->nsproxy->ipc_ns; in compat_ksys_msgctl() 825 ns = current->nsproxy->ipc_ns; in do_msgsnd() 1075 ns = current->nsproxy->ipc_ns; in do_msgrcv()
|
| D | shm.c | 385 struct ipc_namespace *ns = task->nsproxy->ipc_ns; in exit_shm() 736 ns = current->nsproxy->ipc_ns; in ksys_shmget() 1149 ns = current->nsproxy->ipc_ns; in ksys_shmctl() 1341 ns = current->nsproxy->ipc_ns; in compat_ksys_shmctl() 1479 ns = current->nsproxy->ipc_ns; in do_shmat()
|
| D | sem.c | 591 ns = current->nsproxy->ipc_ns; in ksys_semget() 1643 ns = current->nsproxy->ipc_ns; in ksys_semctl() 1763 ns = current->nsproxy->ipc_ns; in compat_ksys_semctl() 1980 ns = current->nsproxy->ipc_ns; in do_semtimedop() 2343 sma = sem_obtain_object_check(tsk->nsproxy->ipc_ns, semid); in exit_sem()
|
| D | util.c | 872 iter->ns = get_ipc_ns(current->nsproxy->ipc_ns); in sysvipc_proc_open()
|
| /Linux-v5.4/drivers/android/ |
| D | binderfs.c | 112 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_device_create() 408 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_ctl_create() 686 info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in binderfs_fill_super() 748 if (info && info->ipc_ns) in binderfs_kill_super() 749 put_ipc_ns(info->ipc_ns); in binderfs_kill_super()
|
| D | binder_internal.h | 63 struct ipc_namespace *ipc_ns; member
|
| /Linux-v5.4/include/linux/ |
| D | nsproxy.h | 34 struct ipc_namespace *ipc_ns; member
|