]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/utsname.h
Pull ec into release branch
[linux-2.6-omap-h63xx.git] / include / linux / utsname.h
index a4555fe3754cdb639775d5152307692d186a1151..e10267d402c5b982d46869d1c4f49345081b7f5c 100644 (file)
@@ -70,6 +70,8 @@ static inline int unshare_utsname(unsigned long unshare_flags,
 
 static inline int copy_utsname(int flags, struct task_struct *tsk)
 {
+       if (flags & CLONE_NEWUTS)
+               return -EINVAL;
        return 0;
 }
 static inline void put_uts_ns(struct uts_namespace *ns)