projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PKTGEN]: don't use __constant_htonl()
[powerpc.git]
/
include
/
linux
/
utsname.h
diff --git
a/include/linux/utsname.h
b/include/linux/utsname.h
index
a4555fe
..
e10267d
100644
(file)
--- a/
include/linux/utsname.h
+++ b/
include/linux/utsname.h
@@
-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)