]> sourceware.org Git - glibc.git/commitdiff
Linux: open_by_handle_at syscall number is always available
authorFlorian Weimer <fweimer@redhat.com>
Tue, 3 Mar 2020 11:50:07 +0000 (12:50 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 3 Mar 2020 11:50:07 +0000 (12:50 +0100)
Due to the built-in tables, __NR_open_by_handle_at is always defined.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/unix/sysv/linux/open_by_handle_at.c

index f682d8cfe49d7711a5df402b40f90d5673f2183a..6c9c53291a614bbc1ef1ac970820d858f80a7abf 100644 (file)
 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
This page took 0.043819 seconds and 5 git commands to generate.