Merge branch 'master' into next
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <linux/personality.h>
|
||||
#include <linux/ptrace.h>
|
||||
#include <linux/fs_struct.h>
|
||||
#include <linux/gfp.h>
|
||||
|
||||
#include <linux/compat.h>
|
||||
#include <linux/syscalls.h>
|
||||
@@ -1086,7 +1087,7 @@ DECLARE_RWSEM(uts_sem);
|
||||
|
||||
#ifdef COMPAT_UTS_MACHINE
|
||||
#define override_architecture(name) \
|
||||
(current->personality == PER_LINUX32 && \
|
||||
(personality(current->personality) == PER_LINUX32 && \
|
||||
copy_to_user(name->machine, COMPAT_UTS_MACHINE, \
|
||||
sizeof(COMPAT_UTS_MACHINE)))
|
||||
#else
|
||||
|
Reference in New Issue
Block a user