Searched refs:user_ns (Results 1 – 7 of 7) sorted by relevance
/ipc/ |
D | namespace.c | 32 static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns, in create_ipc_ns() argument 40 ucounts = inc_ipc_namespaces(user_ns); in create_ipc_ns() 55 ns->user_ns = get_user_ns(user_ns); in create_ipc_ns() 69 put_user_ns(ns->user_ns); in create_ipc_ns() 80 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs() argument 84 return create_ipc_ns(user_ns, ns); in copy_ipcs() 125 put_user_ns(ns->user_ns); in free_ipc_ns() 183 if (!ns_capable(ns->user_ns, CAP_SYS_ADMIN) || in ipcns_install() 196 return to_ipc_ns(ns)->user_ns; in ipcns_owner()
|
D | msg.c | 1290 struct user_namespace *user_ns = seq_user_ns(s); in sysvipc_msg_proc_show() local 1303 from_kuid_munged(user_ns, msq->q_perm.uid), in sysvipc_msg_proc_show() 1304 from_kgid_munged(user_ns, msq->q_perm.gid), in sysvipc_msg_proc_show() 1305 from_kuid_munged(user_ns, msq->q_perm.cuid), in sysvipc_msg_proc_show() 1306 from_kgid_munged(user_ns, msq->q_perm.cgid), in sysvipc_msg_proc_show()
|
D | mqueue.c | 387 put_user_ns(fc->user_ns); in mqueue_init_fs_context() 388 fc->user_ns = get_user_ns(ctx->ipc_ns->user_ns); in mqueue_init_fs_context() 407 put_user_ns(fc->user_ns); in mq_create_mount() 408 fc->user_ns = get_user_ns(ctx->ipc_ns->user_ns); in mq_create_mount()
|
D | shm.c | 1090 if (!ns_capable(ns->user_ns, CAP_IPC_LOCK)) { in shmctl_do_lock() 1742 struct user_namespace *user_ns = seq_user_ns(s); in sysvipc_shm_proc_show() local 1767 from_kuid_munged(user_ns, shp->shm_perm.uid), in sysvipc_shm_proc_show() 1768 from_kgid_munged(user_ns, shp->shm_perm.gid), in sysvipc_shm_proc_show() 1769 from_kuid_munged(user_ns, shp->shm_perm.cuid), in sysvipc_shm_proc_show() 1770 from_kgid_munged(user_ns, shp->shm_perm.cgid), in sysvipc_shm_proc_show()
|
D | msgutil.c | 30 .user_ns = &init_user_ns,
|
D | util.c | 534 !ns_capable(ns->user_ns, CAP_IPC_OWNER)) in ipcperms() 709 ns_capable(ns->user_ns, CAP_SYS_ADMIN)) in ipcctl_obtain_check()
|
D | sem.c | 2416 struct user_namespace *user_ns = seq_user_ns(s); in sysvipc_sem_proc_show() local 2437 from_kuid_munged(user_ns, sma->sem_perm.uid), in sysvipc_sem_proc_show() 2438 from_kgid_munged(user_ns, sma->sem_perm.gid), in sysvipc_sem_proc_show() 2439 from_kuid_munged(user_ns, sma->sem_perm.cuid), in sysvipc_sem_proc_show() 2440 from_kgid_munged(user_ns, sma->sem_perm.cgid), in sysvipc_sem_proc_show()
|