[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/51700 CVS commit: src/tests/lib/libc/gen/exect
The following reply was made to PR kern/51700; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
Subject: Re: PR/51700 CVS commit: src/tests/lib/libc/gen/exect
Date: Mon, 16 Jan 2017 04:15:28 +0000
On Sun, Dec 11, 2016 at 09:40:01AM +0000, Kamil Rytarowski wrote:
>> I'd argue that it should just be removed.
> I concur it, how to do it cleanly? Set backwards compatible link
> exect(3) to execve(2) and add a note that it should be removed on major
> libc bump?
No, if it's never going to work replace it with a stub that returns -1
with errno EOPNOTSUPP, one in the kernel and one in libc. Then remove
the libc stub when the mythical version bump happens.
exect is historical, but I don't think that means we need to keep it;
any vintage debugger that someone might dig up in a basement will need
a lot of porting work anyway, and it's not like there have ever been a
lot of unix debuggers around.
David A. Holland
Main Index |
Thread Index |