Christian Brauner
fe84579bf4
BACKPORT: arch: wire-up pidfd_open()
This wires up the pidfd_open() syscall into all arches at once.
Signed-off-by: Christian Brauner <christian@brauner.io>
Reviewed-by: David Howells <dhowells@redhat.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Joel Fernandes (Google) <joel@joelfernandes.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jann Horn <jannh@google.com>
Cc: Andy Lutomirsky <luto@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Aleksa Sarai <cyphar@cyphar.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-api@vger.kernel.org
Cc: linux-alpha@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-ia64@vger.kernel.org
Cc: linux-m68k@lists.linux-m68k.org
Cc: linux-mips@vger.kernel.org
Cc: linux-parisc@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-s390@vger.kernel.org
Cc: linux-sh@vger.kernel.org
Cc: sparclinux@vger.kernel.org
Cc: linux-xtensa@linux-xtensa.org
Cc: linux-arch@vger.kernel.org
Cc: x86@kernel.org
(cherry picked from commit 7615d9e1780e26e0178c93c55b73309a5dc093d7)
Conflicts:
arch/alpha/kernel/syscalls/syscall.tbl
arch/arm/tools/syscall.tbl
arch/ia64/kernel/syscalls/syscall.tbl
arch/m68k/kernel/syscalls/syscall.tbl
arch/microblaze/kernel/syscalls/syscall.tbl
arch/mips/kernel/syscalls/syscall_n32.tbl
arch/mips/kernel/syscalls/syscall_n64.tbl
arch/mips/kernel/syscalls/syscall_o32.tbl
arch/parisc/kernel/syscalls/syscall.tbl
arch/powerpc/kernel/syscalls/syscall.tbl
arch/s390/kernel/syscalls/syscall.tbl
arch/sh/kernel/syscalls/syscall.tbl
arch/sparc/kernel/syscalls/syscall.tbl
arch/xtensa/kernel/syscalls/syscall.tbl
arch/x86/entry/syscalls/syscall_32.tbl
arch/x86/entry/syscalls/syscall_64.tbl
arch/arm/include/uapi/asm/unistd.h
arch/arm/kernel/calls.S
(1. Skipped syscall.tbl modifications for missing architectures.
2. Removed __ia32_sys_pidfd_open in arch/x86/entry/syscalls/syscall_32.tbl.
3. Replaced __x64_sys_pidfd_open with sys_pidfd_open in arch/x86/entry/syscalls/syscall_64.tbl.
4. Manually add __NR_pidfd_open definition into arch/arm/include/uapi/asm/unistd.h
5. Manually add sys_pidfd_open syscall definition into arch/arm/kernel/calls.S)
Bug: 135608568
Test: test program using syscall(__NR_sys_pidfd_open,..) and poll()
Change-Id: I294aa33dea5ed2662e077340281d7aa0452f7471
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
|
2019-09-03 13:50:44 -07:00 |
| .. |
|
auxvec.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
bitsperlong.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
errno-base.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
errno.h
|
errno.h: Improve ENOSYS's comment
|
2015-04-17 09:03:58 -04:00 |
|
fcntl.h
|
vfs: renumber FMODE_NONOTIFY and add to uniqueness check
|
2015-01-08 15:10:52 -08:00 |
|
int-l64.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
int-ll64.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
ioctl.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
ioctls.h
|
tty, ioctls -- Add new ioctl definitions for tty flags fetching
|
2012-10-25 12:07:18 -07:00 |
|
ipcbuf.h
|
uapi, asm-generic: Use __kernel_ulong_t in uapi struct ipc64_perm
|
2014-01-20 14:44:35 -08:00 |
|
Kbuild
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
Kbuild.asm
|
|
|
|
kvm_para.h
|
UAPI: Put a comment into uapi/asm-generic/kvm_para.h and use it from arches
|
2012-10-17 12:32:07 +01:00 |
|
mman-common.h
|
x86/pkeys: Allocation/free syscalls
|
2016-09-09 13:02:27 +02:00 |
|
mman.h
|
mm: mlock: add mlock flags to enable VM_LOCKONFAULT usage
|
2015-11-05 19:34:48 -08:00 |
|
msgbuf.h
|
uapi: Use __kernel_ulong_t in struct msqid64_ds
|
2014-01-20 14:45:01 -08:00 |
|
param.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
poll.h
|
net: rename low latency sockets functions to busy poll
|
2013-07-08 19:25:45 -07:00 |
|
posix_types.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
resource.h
|
asm-generic: remove _STK_LIM_MAX
|
2014-05-15 00:32:09 +01:00 |
|
sembuf.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
setup.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
shmbuf.h
|
uapi: Use __kernel_ulong_t in shmid64_ds/shminfo64/shm_info
|
2014-01-20 14:45:25 -08:00 |
|
shmparam.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
siginfo.h
|
mm/pkeys: Fix siginfo ABI breakage caused by new u64 field
|
2016-03-05 15:00:06 +01:00 |
|
signal-defs.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
signal.h
|
arm64: Fix MINSIGSTKSZ and SIGSTKSZ
|
2015-10-12 17:40:12 +01:00 |
|
socket.h
|
BACKPORT [FROMLIST] New getsockopt option to get socket cookie
|
2017-05-31 00:53:04 +00:00 |
|
sockios.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
stat.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
statfs.h
|
x86, x32: Use __kernel_long_t for __statfs_word
|
2013-12-20 16:06:21 -08:00 |
|
swab.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
termbits.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
termios.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
types.h
|
asm/types.h: Remove include/asm-generic/int-l64.h
|
2014-01-23 16:36:53 -08:00 |
|
ucontext.h
|
UAPI: (Scripted) Disintegrate include/asm-generic
|
2012-10-04 18:20:15 +01:00 |
|
unistd.h
|
BACKPORT: arch: wire-up pidfd_open()
|
2019-09-03 13:50:44 -07:00 |