This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Principles for syscall wrappers, again
- From: Rich Felker <dalias at libc dot org>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 18 May 2015 22:03:51 -0400
- Subject: Re: Principles for syscall wrappers, again
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1505182114090 dot 16300 at digraph dot polyomino dot org dot uk> <20150519000918 dot GB17573 at brightrain dot aerifal dot cx> <alpine dot DEB dot 2 dot 10 dot 1505190114360 dot 16300 at digraph dot polyomino dot org dot uk>
On Tue, May 19, 2015 at 01:17:49AM +0000, Joseph Myers wrote:
> On Mon, 18 May 2015, Rich Felker wrote:
>
> > The big practical questions left are where to expose the interfaces,
> > and with what signatures.
>
> All these questions can be resolved in the discussions of the individual
> interfaces if and when anyone works on patches to add wrappers for them.
> I'm simply trying to get an answer for "when should such wrappers be added
> at all?" other than "only for interfaces already in Linux 3.2 / glibc
> 2.15", along with "what does a complete patch adding such a wrapper look
> like?", so there is a common basis for reviewing all such patches.
Indeed. I didn't mean to derail your (very good) question, just to
offer some thoughts to try to get the process started.
Rich