diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-03-03 12:50:07 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-03-03 12:50:07 +0100 |
commit | ed9ce57e3c0af9efacf434b05bef6821a80fc898 (patch) | |
tree | ccaed70ebc2b3a4dffcafaa99208ca7536b40e43 /sysdeps | |
parent | b03604b1b8c92d9af2d61d09654b06fccdeac8d5 (diff) | |
download | glibc-ed9ce57e3c0af9efacf434b05bef6821a80fc898.zip glibc-ed9ce57e3c0af9efacf434b05bef6821a80fc898.tar.gz glibc-ed9ce57e3c0af9efacf434b05bef6821a80fc898.tar.bz2 |
Linux: open_by_handle_at syscall number is always available
Due to the built-in tables, __NR_open_by_handle_at is always defined.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/open_by_handle_at.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sysdeps/unix/sysv/linux/open_by_handle_at.c b/sysdeps/unix/sysv/linux/open_by_handle_at.c index f682d8c..6c9c532 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 |