From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2178) id 768B03858D32; Mon, 19 Dec 2022 12:28:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 768B03858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671452921; bh=vUbCJEhgXXrvJbTd29lIemmaUgaq++oNyCMTTLb1T0c=; h=From:To:Subject:Date:From; b=cbADxh6qQEkvrguX8wjDU4V/rfU6LXj8loslAj9BF0B8QsdD25tir6v+vCbxVZCjf +3dzULe1cHEIQRd9X0uE6nK9HeVNpMYBxLS8pQeO4EemZOKtLMmxWpNteqBk5bO2zk 4ZuzdMDgS4TUj2tEszI7Ke5RU2pJCWavBcJpKrDg= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc] Linux: Remove epoll_create, inotify_init from syscalls.list X-Act-Checkin: glibc X-Git-Author: Florian Weimer X-Git-Refname: refs/heads/master X-Git-Oldrev: 9a5b1d84fbe405801ba027e328aca9d261bc2d53 X-Git-Newrev: c1c0dea38833751f36a145c322ce53c9a08332e1 Message-Id: <20221219122841.768B03858D32@sourceware.org> Date: Mon, 19 Dec 2022 12:28:41 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c1c0dea38833751f36a145c322ce53c9a08332e1 commit c1c0dea38833751f36a145c322ce53c9a08332e1 Author: Florian Weimer Date: Mon Dec 19 11:03:35 2022 +0100 Linux: Remove epoll_create, inotify_init from syscalls.list Their presence causes stub warnings to be created on architectures which do not implement them. Fixes commit d1d23b134244d59c4d6ef2295 ("Lninux: consolidate epoll_create implementation") and commit 842128f160a48e5545900ea3b ("Linux: consolidate inotify_init implementation"). Reviewed-by: Adhemerval Zanella Diff: --- sysdeps/unix/sysv/linux/Makefile | 2 ++ sysdeps/unix/sysv/linux/syscalls.list | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index 42e51625ab..f298878e8f 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -62,6 +62,7 @@ sysdep_routines += \ clone3 \ closefrom_fallback \ convert_scm_timestamps \ + epoll_create \ epoll_pwait \ epoll_pwait2 \ epoll_wait \ @@ -73,6 +74,7 @@ sysdep_routines += \ fxstat64 \ fxstatat \ fxstatat64 \ + inotify_init \ lxstat \ lxstat64 \ mlock2 \ diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list index b9f45463c5..73e941ef89 100644 --- a/sysdeps/unix/sysv/linux/syscalls.list +++ b/sysdeps/unix/sysv/linux/syscalls.list @@ -6,7 +6,6 @@ capget EXTRA capget i:pp capget capset EXTRA capset i:pp capset create_module EXTRA create_module 3 __compat_create_module create_module@GLIBC_2.0:GLIBC_2.23 delete_module EXTRA delete_module 3 delete_module -epoll_create EXTRA epoll_create i:i epoll_create epoll_create1 EXTRA epoll_create1 i:i epoll_create1 epoll_ctl EXTRA epoll_ctl i:iiip epoll_ctl eventfd EXTRA eventfd2 i:ii eventfd @@ -28,7 +27,6 @@ getresgid - getresgid i:ppp getresgid getsid - getsid i:i getsid init_module EXTRA init_module 5 init_module inotify_add_watch EXTRA inotify_add_watch i:isi inotify_add_watch -inotify_init EXTRA inotify_init i: inotify_init inotify_init1 EXTRA inotify_init1 i:I inotify_init1 inotify_rm_watch EXTRA inotify_rm_watch i:ii inotify_rm_watch ioperm - ioperm i:UUi ioperm