From: Florian Weimer Date: Sun, 9 Feb 2020 15:40:28 +0000 (+0100) Subject: Linux: open_by_handle_at syscall number is always available X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81d33619b5b5e9e6e62700968393407b5a5aa347;p=thirdparty%2Fglibc.git Linux: open_by_handle_at syscall number is always available Due to the built-in tables, __NR_open_by_handle_at is always defined. --- diff --git a/sysdeps/unix/sysv/linux/open_by_handle_at.c b/sysdeps/unix/sysv/linux/open_by_handle_at.c index f682d8cfe49..6c9c53291a6 100644 --- a/sysdeps/unix/sysv/linux/open_by_handle_at.c +++ b/sysdeps/unix/sysv/linux/open_by_handle_at.c @@ -24,14 +24,5 @@ int open_by_handle_at (int mount_fd, struct file_handle *handle, int flags) { -#ifdef __NR_open_by_handle_at return SYSCALL_CANCEL (open_by_handle_at, mount_fd, handle, flags); -#else - __set_errno (ENOSYS); - return -1; -#endif } - -#ifndef __NR_open_by_handle_at -stub_warning (open_by_handle_at) -#endif