This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: The time(2) man page conflicts with glibc
- From: Zack Weinberg <zackw at panix dot com>
- To: Zack Weinberg <zackw at panix dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, "Michael Kerrisk (man-pages)" <mtk dot manpages at gmail dot com>, libc-alpha <libc-alpha at sourceware dot org>, linux-man <linux-man at vger dot kernel dot org>
- Date: Tue, 15 Dec 2015 10:19:54 -0500
- Subject: Re: The time(2) man page conflicts with glibc
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOoJLk8VzyJKmkOvbmBxhCj4mVA2huYtHJsdxpatbkgJ1g at mail dot gmail dot com> <CAKCAbMj-X+wLKX3=MDm9z3L9zyikemxCNggu2bfw6=o6K5PGgg at mail dot gmail dot com> <20151215145517 dot GR11489 at vapier dot lan>
On Tue, Dec 15, 2015 at 9:55 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> On 15 Dec 2015 09:14, Zack Weinberg wrote:
>> Given the extreme obsolescence of the argument to `time`, I would
>> recommend that the *kernel* be changed to fire an actual SIGSEGV
>> instead of returning -EFAULT from the syscall version of `time`, and
>> then that can be the documented behavior, with the historic behavior
>> relegated to the BUGS section of the manpage.
>
> meh. it would be out of character for the kernel to do this.
Why?