Skip to content
Snippets Groups Projects
  1. Oct 09, 2012
  2. Oct 05, 2012
    • Jiri Kosina's avatar
      cross-arch: don't corrupt personality flags upon exec() · 16f3e95b
      Jiri Kosina authored
      
      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 f9783ec8 ("[S390] Do not clobber personality flags on
      exec") and 59e4c3a2 ("powerpc/32: Don't clobber personality flags on
      exec") in a similar way already).
      
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Richard Kuo <rkuo@codeaurora.org>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: Chen Liqin <liqin.chen@sunplusct.com>
      Cc: Lennox Wu <lennox.wu@gmail.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Chris Zankel <chris@zankel.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      16f3e95b
  3. May 08, 2012
    • Jonas Bonn's avatar
      openrisc: header file cleanups · b0e026f4
      Jonas Bonn authored
      
      elf.h: We can export some of these symbols to userspace.  libc needs them
      and we just as well provide them as asm/elf.h as copying them into separate
      libc headers.
      
      ptrace.h: Having padding in the user_regs_struct isn't of any particular
      value and just confuses GDB.  spr_defs isn't needed in userspace; libc
      has its own copy anyway.
      
      Signed-off-by: default avatarJonas Bonn <jonas@southpole.se>
      b0e026f4
  4. Jul 22, 2011
Loading