1. 20 12月, 2012 2 次提交
    • A
      new helper: compat_user_stack_pointer() · 9b064fc3
      Al Viro 提交于
      Compat counterpart of current_user_stack_pointer(); for most of the biarch
      architectures those two are identical, but e.g. arm64 and arm use different
      registers for stack pointer...
      
      Note that amd64 variants of current_user_stack_pointer/compat_user_stack_pointer
      do *not* rely on pt_regs having been through FIXUP_TOP_OF_STACK.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      9b064fc3
    • A
      Bury the conditionals from kernel_thread/kernel_execve series · ae903caa
      Al Viro 提交于
      All architectures have
      	CONFIG_GENERIC_KERNEL_THREAD
      	CONFIG_GENERIC_KERNEL_EXECVE
      	__ARCH_WANT_SYS_EXECVE
      None of them have __ARCH_WANT_KERNEL_EXECVE and there are only two callers
      of kernel_execve() (which is a trivial wrapper for do_execve() now) left.
      Kill the conditionals and make both callers use do_execve().
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      ae903caa
  2. 18 12月, 2012 1 次提交
  3. 11 12月, 2012 1 次提交
  4. 05 12月, 2012 13 次提交
  5. 04 12月, 2012 2 次提交
  6. 03 12月, 2012 1 次提交
    • A
      open*(2) compat fixes (s390, arm64) · 9d73fc2d
      Al Viro 提交于
      The usual rules for open()/openat()/open_by_handle_at() are
       1) native 32bit - don't force O_LARGEFILE in flags
       2) native 64bit - force O_LARGEFILE in flags
       3) compat on 64bit host - as for native 32bit
       4) native 32bit ABI for 64bit system (mips/n32, x86/x32) - as for
          native 64bit
      
      There are only two exceptions - s390 compat has open() forcing
      O_LARGEFILE and arm64 compat has open_by_handle_at() doing the same
      thing.  The same binaries on native host (s390/31 and arm resp.) will
      *not* force O_LARGEFILE, so IMO both are emulation bugs.
      
      Objections? The fix is obvious...
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9d73fc2d
  7. 30 11月, 2012 1 次提交
  8. 29 11月, 2012 4 次提交
  9. 28 11月, 2012 1 次提交
  10. 24 11月, 2012 6 次提交
  11. 20 11月, 2012 1 次提交
  12. 16 11月, 2012 1 次提交
  13. 14 11月, 2012 3 次提交
  14. 09 11月, 2012 3 次提交