1. 07 Jan, 2015 1 commit
    • Mark Rutland's avatar
      arm64: Correct __NR_compat_syscalls for bpf · 0f9132ce
      Mark Rutland authored
      Commit 97b56be1 (arm64: compat: Enable bpf syscall) made the
      usual mistake of forgetting to update __NR_compat_syscalls. Due to this,
      when el0_sync_compat calls el0_svc_naked, the test against sc_nr
      (__NR_compat_syscalls) will fail, and we'll call ni_sys, returning
      -ENOSYS to userspace.
      This patch bumps __NR_compat_syscalls appropriately, enabling the use of
      the bpf syscall from compat tasks.
      Due to the reorganisation of unistd{,32}.h as part of commit
      f3e5c847 (arm64: Add __NR_* definitions for compat syscalls) it
      is not currently possible to include both headers and sanity-check the
      value of __NR_compat_syscalls at build-time to prevent this from
      happening again. Additional rework is required to make such niceties a
      Cc: Will Deacon <will.deacon@arm.com>
      Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
  2. 28 Nov, 2014 1 commit
  3. 18 Aug, 2014 1 commit
  4. 10 Jul, 2014 1 commit
    • Catalin Marinas's avatar
      arm64: Add __NR_* definitions for compat syscalls · f3e5c847
      Catalin Marinas authored
      This patch adds __NR_* definitions to asm/unistd32.h, moves the
      __NR_compat_* definitions to asm/unistd.h and removes all the explicit
      unistd32.h includes apart from the one building the compat syscall
      table. The aim is to have the compat __NR_* definitions available but
      without colliding with the native syscall definitions (required by
      lib/compat_audit.c to avoid duplicating the audit header files between
      native and compat).
      Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
  5. 29 May, 2014 1 commit
  6. 04 Mar, 2014 1 commit
    • Heiko Carstens's avatar
      compat: let architectures define __ARCH_WANT_COMPAT_SYS_GETDENTS64 · 0473c9b5
      Heiko Carstens authored
      For architecture dependent compat syscalls in common code an architecture
      must define something like __ARCH_WANT_<WHATEVER> if it wants to use the
      This however is not true for compat_sys_getdents64 for which architectures
      must define __ARCH_OMIT_COMPAT_SYS_GETDENTS64 if they do not want the code.
      This leads to the situation where all architectures, except mips, get the
      compat code but only x86_64, arm64 and the generic syscall architectures
      actually use it.
      So invert the logic, so that architectures actively must do something to
      get the compat code.
      This way a couple of architectures get rid of otherwise dead code.
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
  7. 14 Feb, 2013 1 commit
    • Al Viro's avatar
      burying unused conditionals · d64008a8
      Al Viro authored
      can be assumed always set.
  8. 19 Dec, 2012 1 commit
  9. 17 Dec, 2012 1 commit
  10. 28 Nov, 2012 1 commit
  11. 08 Nov, 2012 1 commit
  12. 17 Oct, 2012 1 commit
  13. 11 Oct, 2012 2 commits
  14. 04 Oct, 2012 2 commits
    • David Howells's avatar
      UAPI: Split compound conditionals containing __KERNEL__ in Arm64 · 1c1e4362
      David Howells authored
      Split compound conditionals containing __KERNEL__ in Arm64 where possible to
      make it easier for the UAPI disintegration scripts to handle them.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    • David Howells's avatar
      UAPI: Fix the guards on various asm/unistd.h files · 89013952
      David Howells authored
      asm-generic/unistd.h and a number of asm/unistd.h files have been given
      reinclusion guards that allow the guard to be overridden if __SYSCALL is
      defined.  Unfortunately, these files define __SYSCALL and don't undefine it
      when they've finished with it, thus rendering the guard ineffective.
      The reason for this override is to allow the file to be #included multiple
      times with different settings on __SYSCALL for purposes like generating syscall
      The following guards are problematic:
      arch/arm64/include/asm/unistd.h:#if !defined(__ASM_UNISTD_H) || defined(__SYSCALL)
      arch/arm64/include/asm/unistd32.h:#if !defined(__ASM_UNISTD32_H) || defined(__SYSCALL)
      arch/c6x/include/asm/unistd.h:#if !defined(_ASM_C6X_UNISTD_H) || defined(__SYSCALL)
      arch/hexagon/include/asm/unistd.h:#if !defined(_ASM_HEXAGON_UNISTD_H) || defined(__SYSCALL)
      arch/openrisc/include/asm/unistd.h:#if !defined(__ASM_OPENRISC_UNISTD_H) || defined(__SYSCALL)
      arch/score/include/asm/unistd.h:#if !defined(_ASM_SCORE_UNISTD_H) || defined(__SYSCALL)
      arch/tile/include/asm/unistd.h:#if !defined(_ASM_TILE_UNISTD_H) || defined(__SYSCALL)
      arch/unicore32/include/asm/unistd.h:#if !defined(__UNICORE_UNISTD_H__) || defined(__SYSCALL)
      include/asm-generic/unistd.h:#if !defined(_ASM_GENERIC_UNISTD_H) || defined(__SYSCALL)
      On the assumption that the guards' ineffectiveness has passed unnoticed, just
      remove these guards entirely.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
  15. 17 Sep, 2012 3 commits
  16. 17 Jul, 2007 1 commit
  17. 19 Jun, 2006 1 commit
  18. 09 Jan, 2006 2 commits
  19. 16 Nov, 2005 1 commit
  20. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      Let it rip!