selftests/core: handle missing syscall number for close_range
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 18 Dec 2020 14:54:13 +0000 (15:54 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 19 Dec 2020 15:23:18 +0000 (16:23 +0100)
commitae78ba8d3bb66dfe8c0f7b7ec5ffe3f6a13feb86
treeba3ec8020d1bb04375d6dc38587ea50bc1d40470
parentca202504ea6f04b2e724741100ab63f8f018a8af
selftests/core: handle missing syscall number for close_range

This improves the syscall number handling in the close_range()
selftests. This should handle any architecture.

Cc: Giuseppe Scrivano <gscrivan@redhat.com>
Cc: linux-fsdevel@vger.kernel.org
Link: https://lore.kernel.org/r/20201218145415.801063-2-christian.brauner@ubuntu.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
tools/testing/selftests/core/close_range_test.c