mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
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>
This commit is contained in:
@@ -24,14 +24,5 @@
|
|||||||
int
|
int
|
||||||
open_by_handle_at (int mount_fd, struct file_handle *handle, int flags)
|
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);
|
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
|
|
||||||
|
Reference in New Issue
Block a user