This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Principles for API sources
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 17 Nov 2015 17:01:55 +0000
- Subject: Re: Principles for API sources
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1511061326480 dot 10753 at digraph dot polyomino dot org dot uk> <5642A593 dot 8020206 at panix dot com>
On Tue, 10 Nov 2015, Zack Weinberg wrote:
> On 11/06/2015 09:07 AM, Joseph Myers wrote:
> > Various recent proposals for new APIs taken from existing sources of APIs
> > seem to have got stuck for similar reasons. This includes Linux kernel
> > syscall wrappers as well as explicit_bzero and strlcpy. I'd like to
> > propose some general principles for such APIs in the hopes of unsticking
> > those discussions - if we can get consensus on principles (consensus does
> > not mean unanimity; consensus does not mean waiting indefinitely for
> > people who might want to contribute to the discussion at some
> > indeterminate point in the future) then we don't need to redebate the
> > principles for each proposed API, just consider how they apply to that
> > API.
>
> I generally like the sound of this (and not just because it might
> unstick explicit_bzero ;-) but I have a couple notes ...
Given the discussion so far I think you should update and resubmit the
explicit_bzero patch.
--
Joseph S. Myers
joseph@codesourcery.com