Al Viro
e72837e3e7
default SET_PERSONALITY() in linux/elf.h
...
Signed-off-by: Al Viro <[email protected] >
2013-02-26 02:46:08 -05:00
Jiri Kosina
16f3e95b32
cross-arch: don't corrupt personality flags upon exec()
...
Historically, the top three bytes of personality have been used for
things such as ADDR_NO_RANDOMIZE, which made sense only for specific
architectures.
We now however have a flag there that is general no matter the
architecture (UNAME26); generally we have to be careful to preserve the
personality flags across exec().
This patch tries to fix all architectures that forcefully overwrite
personality flags during exec() (ppc32 and s390 have been fixed recently
by commits f9783ec862 ("[S390] Do not clobber personality flags on
exec") and 59e4c3a2fe ("powerpc/32: Don't clobber personality flags on
exec") in a similar way already).
Signed-off-by: Jiri Kosina <[email protected] >
Cc: Haavard Skinnemoen <[email protected] >
Cc: Hans-Christian Egtvedt <[email protected] >
Cc: Mike Frysinger <[email protected] >
Cc: Mark Salter <[email protected] >
Cc: Mikael Starvik <[email protected] >
Cc: Jesper Nilsson <[email protected] >
Cc: David Howells <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Cc: Richard Kuo <[email protected] >
Cc: Hirokazu Takata <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Koichi Yasutake <[email protected] >
Cc: Jonas Bonn <[email protected] >
Cc: Chen Liqin <[email protected] >
Cc: Lennox Wu <[email protected] >
Cc: Paul Mundt <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Chris Zankel <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2012-10-06 03:04:47 +09:00
Christoph Hellwig
698ba7b5a3
elf: kill USE_ELF_CORE_DUMP
...
Currently all architectures but microblaze unconditionally define
USE_ELF_CORE_DUMP. The microblaze omission seems like an error to me, so
let's kill this ifdef and make sure we are the same everywhere.
Signed-off-by: Christoph Hellwig <[email protected] >
Acked-by: Hugh Dickins <[email protected] >
Cc: <[email protected] >
Cc: Michal Simek <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2009-12-16 07:20:12 -08:00
Jesper Nilsson
556dcee7b8
[CRIS] Move header files from include to arch/cris/include.
...
Change all users of header files to correct path.
Remove some unneeded headers for arch-v32.
Signed-off-by: Jesper Nilsson <[email protected] >
2008-10-29 17:29:44 +01:00