1. 26 1月, 2019 11 次提交
    • A
      sparc64: fix sparc_ipc type conversion · 73a66023
      Arnd Bergmann 提交于
      __kernel_timespec and timespec are currently the same type, but once
      they are different, the type cast has to be changed here.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      73a66023
    • A
      sh: add statx system call · d25a122a
      Arnd Bergmann 提交于
      statx is available on almost all other architectures but
      got missed on sh, so add it now.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      d25a122a
    • A
      sh: remove duplicate unistd_32.h file · 83f60913
      Arnd Bergmann 提交于
      When I merged this patch, the file was accidentally left intact
      instead of being removed, which means any changes to syscall.tbl
      have no effect.
      
      Fixes: 2b3c5a99 ("sh: generate uapi header and syscall table header files")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      83f60913
    • A
      m68k: assign syscall number for seccomp · 09ac1260
      Arnd Bergmann 提交于
      Most architectures have assigned a numbers for the seccomp syscall
      even when they do not implement it.
      
      m68k is an exception here, so for consistency lets add the number.
      Unless CONFIG_SECCOMP is implemented, the system call just
      returns -ENOSYS.
      Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      09ac1260
    • A
      ARM: add kexec_file_load system call number · 4ab65ba7
      Arnd Bergmann 提交于
      A couple of architectures including arm64 already implement the
      kexec_file_load system call, on many others we have assigned a system
      call number for it, but not implemented it yet.
      
      Adding the number in arch/arm/ lets us use the system call on arm64
      systems in compat mode, and also reduces the number of differences
      between architectures. If we want to implement kexec_file_load on ARM
      in the future, the number assignment means that kexec tools can already
      be built with the now current set of kernel headers.
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      4ab65ba7
    • A
      ARM: add migrate_pages() system call · 78594b95
      Arnd Bergmann 提交于
      The migrate_pages system call has an assigned number on all architectures
      except ARM. When it got added initially in commit d80ade7b ("ARM:
      Fix warning: #warning syscall migrate_pages not implemented"), it was
      intentionally left out based on the observation that there are no 32-bit
      ARM NUMA systems.
      
      However, there are now arm64 NUMA machines that can in theory run 32-bit
      kernels (actually enabling NUMA there would require additional work)
      as well as 32-bit user space on 64-bit kernels, so that argument is no
      longer very strong.
      
      Assigning the number lets us use the system call on 64-bit kernels as well
      as providing a more consistent set of syscalls across architectures.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      78594b95
    • A
      alpha: update syscall macro definitions · 12b57c5c
      Arnd Bergmann 提交于
      Other architectures commonly use __NR_umount2 for sys_umount,
      only ia64 and alpha use __NR_umount here. In order to synchronize
      the generated tables, use umount2 like everyone else, and add back
      the old name from asm/unistd.h for compatibility.
      
      For shmat, alpha uses the osf_shmat name, we can do the same thing
      here, which means we don't have to add an entry in the __IGNORE
      list now that shmat is mandatory everywhere
      
      alarm, creat, pause, time, and utime are optional everywhere
      these days, no need to list them here any more.
      
      I considered also adding the regular versions of the get*id system
      calls that have different names and calling conventions on alpha,
      which would further help unify the syscall ABI, but for now
      I decided against that.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      12b57c5c
    • A
      alpha: wire up io_pgetevents system call · d012d132
      Arnd Bergmann 提交于
      The io_pgetevents system call was added in linux-4.18 but has
      no entry for alpha:
      
      warning: #warning syscall io_pgetevents not implemented [-Wcpp]
      
      Assign a the next system call number here.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      d012d132
    • A
      ia64: assign syscall numbers for perf and seccomp · acce2f71
      Arnd Bergmann 提交于
      Most architectures have assigned numbers for both seccomp and
      perf_event_open, even when they do not implement either.
      
      ia64 is an exception here, so for consistency lets add numbers for both
      of them. Unless CONFIG_PERF_EVENTS and CONFIG_SECCOMP are implemented,
      the system calls just return -ENOSYS.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      acce2f71
    • A
      ia64: add statx and io_pgetevents syscalls · 7349ee3a
      Arnd Bergmann 提交于
      All architectures should implement these two, so assign numbers
      and hook them up on ia64.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      7349ee3a
    • A
      ia64: add __NR_umount2 definition · 74cd2184
      Arnd Bergmann 提交于
      Other architectures commonly use __NR_umount2 for sys_umount,
      only ia64 and alpha use __NR_umount here. In order to synchronize
      the generated tables, use umount2 like everyone else, and add back
      the old name from asm/unistd.h for compatibility.
      
      The __IGNORE_* lines are now all obsolete and can be removed as
      a side-effect.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      74cd2184
  2. 18 1月, 2019 5 次提交
  3. 12 1月, 2019 4 次提交
  4. 11 1月, 2019 3 次提交
  5. 10 1月, 2019 15 次提交
  6. 09 1月, 2019 2 次提交
新手
引导
客服 返回
顶部