Re: [PATCH v3 2/3] arch: wire-up close_range()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Christian Brauner <christian@xxxxxxxxxx>, viro@xxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, fweimer@xxxxxxxxxx
- Subject: Re: [PATCH v3 2/3] arch: wire-up close_range()
- From: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
- Date: Tue, 28 May 2019 13:43:43 +1000
- Cc: jannh@xxxxxxxxxx, oleg@xxxxxxxxxx, tglx@xxxxxxxxxxxxx, arnd@xxxxxxxx, shuah@xxxxxxxxxx, dhowells@xxxxxxxxxx, tkjos@xxxxxxxxxxx, ldv@xxxxxxxxxxxx, miklos@xxxxxxxxxx, Christian Brauner <christian@xxxxxxxxxx>, linux-api@xxxxxxxxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-m68k@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, linux-xtensa@xxxxxxxxxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx
- In-reply-to: <20190524111047.6892-3-christian@brauner.io>
- References: <20190524111047.6892-1-christian@brauner.io> <20190524111047.6892-3-christian@brauner.io>
Christian Brauner <christian@xxxxxxxxxx> writes:
> diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/syscall.tbl
> index 103655d84b4b..ba2c1f078cbd 100644
> --- a/arch/powerpc/kernel/syscalls/syscall.tbl
> +++ b/arch/powerpc/kernel/syscalls/syscall.tbl
> @@ -515,3 +515,4 @@
> 431 common fsconfig sys_fsconfig
> 432 common fsmount sys_fsmount
> 433 common fspick sys_fspick
> +435 common close_range sys_close_range
With a minor build fix the selftest passes for me on ppc64le:
# ./close_range_test
1..9
ok 1 do not allow invalid flag values for close_range()
ok 2 close_range() from 3 to 53
ok 3 fcntl() verify closed range from 3 to 53
ok 4 close_range() from 54 to 95
ok 5 fcntl() verify closed range from 54 to 95
ok 6 close_range() from 96 to 102
ok 7 fcntl() verify closed range from 96 to 102
ok 8 close_range() closed single file descriptor
ok 9 fcntl() verify closed single file descriptor
# Pass 9 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
Acked-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> (powerpc)
cheers
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]