[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191025122851.30182-1-christian.brauner@ubuntu.com>
Date: Fri, 25 Oct 2019 14:28:48 +0200
From: Christian Brauner <christian.brauner@...ntu.com>
To: viro@...iv.linux.org.uk, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, torvalds@...ux-foundation.org,
fweimer@...hat.com
Cc: jannh@...gle.com, oleg@...hat.com, tglx@...utronix.de,
arnd@...db.de, shuah@...nel.org, dhowells@...hat.com,
tkjos@...roid.com, ldv@...linux.org, miklos@...redi.hu,
Christian Brauner <christian.brauner@...ntu.com>
Subject: [REVIEW PATCH v5 0/3] close_range()
Hey everyone,
I've recently been pinged by quite a few people about the state of the
close_range() patchset. I've been sitting on this for a while because
other stuff came up. Last time it was considered to be in mergeable
state and I plan to send it for v5.5 since quite a bunch of projects in
userspace have expressed interest in using this including Python and
systemd.
I've also coordinated with some FreeBSD developers who got in touch with
me. FreeBSD has expressed interest in adding the same syscall once we
merged it.
This is a resend of the close_range() patchset (cf. [1]). I'd like to
target v5.5.
[1]: https://lwn.net/Articles/789023/
Thanks!
Christian
Christian Brauner (3):
open: add close_range()
arch: wire-up close_range()
tests: add close_range() tests
arch/alpha/kernel/syscalls/syscall.tbl | 1 +
arch/arm/tools/syscall.tbl | 1 +
arch/arm64/include/asm/unistd.h | 2 +-
arch/arm64/include/asm/unistd32.h | 2 +
arch/ia64/kernel/syscalls/syscall.tbl | 1 +
arch/m68k/kernel/syscalls/syscall.tbl | 1 +
arch/microblaze/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 +
arch/x86/entry/syscalls/syscall_32.tbl | 1 +
arch/x86/entry/syscalls/syscall_64.tbl | 1 +
arch/xtensa/kernel/syscalls/syscall.tbl | 1 +
fs/file.c | 62 +++++++-
fs/open.c | 20 +++
include/linux/fdtable.h | 2 +
include/linux/syscalls.h | 2 +
include/uapi/asm-generic/unistd.h | 4 +-
tools/testing/selftests/Makefile | 1 +
tools/testing/selftests/core/.gitignore | 1 +
tools/testing/selftests/core/Makefile | 7 +
.../testing/selftests/core/close_range_test.c | 149 ++++++++++++++++++
27 files changed, 258 insertions(+), 10 deletions(-)
create mode 100644 tools/testing/selftests/core/.gitignore
create mode 100644 tools/testing/selftests/core/Makefile
create mode 100644 tools/testing/selftests/core/close_range_test.c
--
2.23.0
Powered by blists - more mailing lists