public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Florian Weimer <fw@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/fw/syscall-cleanups] Linux: epoll_pwait syscall number is always available Date: Sun, 09 Feb 2020 16:57:00 -0000 [thread overview] Message-ID: <20200209165740.30988.qmail@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=196d8d5ac06764500c7fff6e9a6a26bfe66d587e commit 196d8d5ac06764500c7fff6e9a6a26bfe66d587e Author: Florian Weimer <fweimer@redhat.com> Date: Sun Feb 9 16:57:49 2020 +0100 Linux: epoll_pwait syscall number is always available Due to the built-in tables, __NR_epoll_pwait is always defined. Diff: --- sysdeps/unix/sysv/linux/epoll_pwait.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/sysdeps/unix/sysv/linux/epoll_pwait.c b/sysdeps/unix/sysv/linux/epoll_pwait.c index fcd2a47..66f0448 100644 --- a/sysdeps/unix/sysv/linux/epoll_pwait.c +++ b/sysdeps/unix/sysv/linux/epoll_pwait.c @@ -23,8 +23,6 @@ #include <sysdep-cancel.h> #include <sys/syscall.h> -#ifdef __NR_epoll_pwait - /* Wait for events on an epoll instance "epfd". Returns the number of triggered events returned in "events" buffer. Or -1 in case of error with the "errno" variable set to the specific error code. The @@ -42,18 +40,4 @@ int epoll_pwait (int epfd, struct epoll_event *events, return SYSCALL_CANCEL (epoll_pwait, epfd, events, maxevents, timeout, set, _NSIG / 8); } - -#else - -int epoll_pwait (int epfd, struct epoll_event *events, - int maxevents, int timeout, - const sigset_t *set) -{ - __set_errno (ENOSYS); - return -1; -} -stub_warning (epoll_pwait) - -#endif - libc_hidden_def (epoll_pwait)
reply other threads:[~2020-02-09 16:57 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200209165740.30988.qmail@sourceware.org \ --to=fw@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).