Searched refs:unshare_flags (Results 1 – 5 of 5) sorted by relevance
3186 static int check_unshare_flags(unsigned long unshare_flags) in check_unshare_flags() argument3188 if (unshare_flags & ~(CLONE_THREAD|CLONE_FS|CLONE_NEWNS|CLONE_SIGHAND| in check_unshare_flags()3200 if (unshare_flags & (CLONE_THREAD | CLONE_SIGHAND | CLONE_VM)) { in check_unshare_flags()3204 if (unshare_flags & (CLONE_SIGHAND | CLONE_VM)) { in check_unshare_flags()3208 if (unshare_flags & CLONE_VM) { in check_unshare_flags()3219 static int unshare_fs(unsigned long unshare_flags, struct fs_struct **new_fsp) in unshare_fs() argument3223 if (!(unshare_flags & CLONE_FS) || !fs) in unshare_fs()3240 static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp) in unshare_fd() argument3244 if ((unshare_flags & CLONE_FILES) && in unshare_fd()3263 int ksys_unshare(unsigned long unshare_flags) in ksys_unshare() argument[all …]
213 int unshare_nsproxy_namespaces(unsigned long unshare_flags, in unshare_nsproxy_namespaces() argument219 if (!(unshare_flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | in unshare_nsproxy_namespaces()228 *new_nsp = create_new_namespaces(unshare_flags, current, user_ns, in unshare_nsproxy_namespaces()
176 int unshare_userns(unsigned long unshare_flags, struct cred **new_cred) in unshare_userns() argument181 if (!(unshare_flags & CLONE_NEWUSER)) in unshare_userns()
170 extern int unshare_userns(unsigned long unshare_flags, struct cred **new_cred);205 static inline int unshare_userns(unsigned long unshare_flags, in unshare_userns() argument208 if (unshare_flags & CLONE_NEWUSER) in unshare_userns()
545 asmlinkage long sys_unshare(unsigned long unshare_flags);1209 int ksys_unshare(unsigned long unshare_flags);