Home
last modified time | relevance | path

Searched refs:ipc_ns (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/ipc/
Dmqueue.c47 struct ipc_namespace *ipc_ns; member
291 struct ipc_namespace *ipc_ns, umode_t mode, in mqueue_get_inode() argument
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()
[all …]
Dnamespace.c205 ns = get_ipc_ns(nsproxy->ipc_ns); in ipcns_get()
224 put_ipc_ns(nsproxy->ipc_ns); in ipcns_install()
225 nsproxy->ipc_ns = get_ipc_ns(ns); in ipcns_install()
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()
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()
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()
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()
2232 ns = current->nsproxy->ipc_ns; in do_semtimedop()
2382 sma = sem_obtain_object_check(tsk->nsproxy->ipc_ns, semid); in exit_sem()
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()
Dutil.c909 iter->ns = get_ipc_ns(current->nsproxy->ipc_ns); in sysvipc_proc_open()
/linux-6.1.9/kernel/
Dnsproxy.c36 .ipc_ns = &init_ipc_ns,
90 new_nsp->ipc_ns = copy_ipcs(flags, user_ns, tsk->nsproxy->ipc_ns); in create_new_namespaces()
91 if (IS_ERR(new_nsp->ipc_ns)) { in create_new_namespaces()
92 err = PTR_ERR(new_nsp->ipc_ns); in create_new_namespaces()
134 if (new_nsp->ipc_ns) in create_new_namespaces()
135 put_ipc_ns(new_nsp->ipc_ns); in create_new_namespaces()
194 if (ns->ipc_ns) in free_nsproxy()
195 put_ipc_ns(ns->ipc_ns); in free_nsproxy()
436 ret = validate_ns(nsset, &nsp->ipc_ns->ns); in validate_nsset()
/linux-6.1.9/drivers/android/
Dbinderfs.c125 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_device_create()
402 bool use_reserve = (info->ipc_ns == &init_ipc_ns); in binderfs_binder_ctl_create()
688 info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in binderfs_fill_super()
785 if (info && info->ipc_ns) in binderfs_kill_super()
786 put_ipc_ns(info->ipc_ns); in binderfs_kill_super()
Dbinder_internal.h67 struct ipc_namespace *ipc_ns; member
/linux-6.1.9/include/linux/
Dnsproxy.h34 struct ipc_namespace *ipc_ns; member
/linux-6.1.9/arch/arm/kernel/
Dsys_oabi-compat.c346 ns = current->nsproxy->ipc_ns; in sys_oabi_semtimedop()