[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190714192205.27190-1-christian@brauner.io>
Date: Sun, 14 Jul 2019 21:22:03 +0200
From: Christian Brauner <christian@...uner.io>
To: linux-kernel@...r.kernel.org
Cc: arnd@...db.de, Christian Brauner <christian@...uner.io>
Subject: [PATCH 0/2] clone3 fixes
Hey everyone,
Here are two small fixes/improvements for the clone3 syscall that I plan
on sending soon.
The first patches reserves the clone3 syscalls number 435 across all
architectures by placing a commit in the corresponding syscall tables of
architectures that do not yet implement clone3. This is done to preserve
the identical numbering for all new syscalls that Arnd introduced.
The second patch dates back to a discussion with Arnd when I suggested
reserving the syscall number. Arnd suggested to ensure that we catch all
arches that do implement clone3 without explicitly setting
__ARCH_WANT_SYS_CLONE3.
Thanks!
Christian
Christian Brauner (2):
arch: mark syscall number 435 reserved for clone3
unistd: protect clone3 via __ARCH_WANT_SYS_CLONE3
arch/alpha/kernel/syscalls/syscall.tbl | 1 +
arch/ia64/kernel/syscalls/syscall.tbl | 1 +
arch/m68k/kernel/syscalls/syscall.tbl | 1 +
arch/mips/kernel/syscalls/syscall_n32.tbl | 1 +
arch/mips/kernel/syscalls/syscall_n64.tbl | 1 +
arch/mips/kernel/syscalls/syscall_o32.tbl | 1 +
arch/parisc/kernel/syscalls/syscall.tbl | 1 +
arch/powerpc/kernel/syscalls/syscall.tbl | 1 +
arch/s390/kernel/syscalls/syscall.tbl | 1 +
arch/sh/kernel/syscalls/syscall.tbl | 1 +
arch/sparc/kernel/syscalls/syscall.tbl | 1 +
include/uapi/asm-generic/unistd.h | 2 ++
12 files changed, 13 insertions(+)
--
2.22.0
Powered by blists - more mailing lists