From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH v2 0/2] vfs: Define new syscall getumask. Date: Sun, 17 Apr 2016 17:38:24 -0700 Message-ID: <57142C80.6070005@zytor.com> References: <1460552272-15985-1-git-send-email-rjones@redhat.com> <2143735451.55767.1460561962122.JavaMail.zimbra@efficios.com> <1736004700.56566.1460581285951.JavaMail.zimbra@efficios.com> <20160414021348.GB16656@thunk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160414021348.GB16656-AKGzg7BKzIDYtjvyW6yDsg@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Theodore Ts'o , Mathieu Desnoyers , "Richard W.M. Jones" , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Thomas Gleixner , mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Andrew Morton , luto-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public.gmane.org, zab , emunson-JqFfY2XvxFXQT0dZR+AlfA@public.gmane.org, "Paul E. McKenney" , Andrea Arcangeli , josh-iaAMLnmF4UmaiuxdJuQwMA@public.gmane.org, Pavel Emelyanov , sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org, Milosz Tanski , rostedt , arnd-r2nGTMty4D4@public.gmane.org, ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org, gorcunov , iulia manda21 , dave hansen , mguzik , adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Davidlohr Bueso , linux-api , gorcunov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.orgf List-Id: linux-api@vger.kernel.org On 04/13/16 19:13, Theodore Ts'o wrote: > > One other reason to suggest using a /proc file is that you're not at > the mercy of the glibc folks to wire up a new system call. (Glibc has > been refusing to wire up getrandom(2), for example. Grrrr.....) > This brings right back up the libinux idea. There are continued concerns about type compatibility, but saying "oh, use syscall(3) instead" has worse properties than a Linux-kernel-team maintained libinux. Last I heard the glibc team had (reluctantly?) agreed to do something to deal with linux-specific system calls, but last I heard nothing had happened. The last discussion I see on the glibc mailing list dates back to November, and that thread seems to have died from bikeshedding, again. There aren't a *lot* of such system calls, but even in that thread the "oh, only two applications need this, let them use syscall(3)" seems to remain. -hpa