public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/syscall-cleanups] Linux: open_by_handle_at syscall number is always available
@ 2020-02-09 16:57 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2020-02-09 16:57 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=81d33619b5b5e9e6e62700968393407b5a5aa347

commit 81d33619b5b5e9e6e62700968393407b5a5aa347
Author: Florian Weimer <fweimer@redhat.com>
Date:   Sun Feb 9 16:40:28 2020 +0100

    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:
---
 sysdeps/unix/sysv/linux/open_by_handle_at.c | 9 ---------
 1 file changed, 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-09 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-09 16:57 [glibc/fw/syscall-cleanups] Linux: open_by_handle_at syscall number is always available Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).