|
@@ -128,6 +128,7 @@ typedef elf_fpreg_t elf_fpregset_t;
|
|
intent than poking at uname or /proc/cpuinfo. */
|
|
intent than poking at uname or /proc/cpuinfo. */
|
|
#define ELF_PLATFORM (NULL)
|
|
#define ELF_PLATFORM (NULL)
|
|
|
|
|
|
-#define SET_PERSONALITY(ex) set_personality(PER_LINUX)
|
|
|
|
|
|
+#define SET_PERSONALITY(ex) \
|
|
|
|
+ set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
|
|
|
|
|
|
#endif /* _ASM_M32R__ELF_H */
|
|
#endif /* _ASM_M32R__ELF_H */
|