mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00: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:
parent
b03604b1b8
commit
ed9ce57e3c
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user