|
@@ -180,7 +180,8 @@ extern char elf_platform[];
|
|
#define ELF_PLATFORM (elf_platform)
|
|
#define ELF_PLATFORM (elf_platform)
|
|
|
|
|
|
#ifndef CONFIG_64BIT
|
|
#ifndef CONFIG_64BIT
|
|
-#define SET_PERSONALITY(ex) set_personality(PER_LINUX)
|
|
|
|
|
|
+#define SET_PERSONALITY(ex) \
|
|
|
|
+ set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
|
|
#else /* CONFIG_64BIT */
|
|
#else /* CONFIG_64BIT */
|
|
#define SET_PERSONALITY(ex) \
|
|
#define SET_PERSONALITY(ex) \
|
|
do { \
|
|
do { \
|