Re: [PATCH] make uselib configurable (was Re: uselib() & 2.6.X?)

From: Stephen Pollei
Date: Wed Jan 12 2005 - 00:15:00 EST


On Tue, 2005-01-11 at 18:12, Barry K. Nathan wrote:
> > There are more ancient system calls, like old_stat and oldolduname.
> > Do we want separate options for each system call that is obsoleted?

> A config option for each one would be a bit much, I'll agree. However,
> I think having a single config option for the whole bunch would be a
> good idea.

> less controversial than trying to do all of the old syscalls now.
Well the most controversial one-stop option could be a by date option.
CONFIG_OBSOLETE_TIME could default to 199201 or whatever

then you could then make things obsolete by wrapping them with
#if CONFIG_OBSOLETE_TIME <= 199805
/* old stat stuff */
#endif
#if CONFIG_OBSOLETE_TIME <= 200211
/* old uname stuff */
#endif
#if CONFIG_OBSOLETE_TIME <= 200501
/* uselib */
#endif

Then people could select with one option just to what extent they want
to support old crufty stuff. So one person could go super lean and mean
by choosing 200502 , while another could choose 200000 just to have
things from this century. Most people could just leave it alone.


--
http://dmoz.org/profiles/pollei.html
http://sourceforge.net/users/stephen_pollei/
http://www.orkut.com/Profile.aspx?uid=2455954990164098214
http://stephen_pollei.home.comcast.net/
GPG Key fingerprint = EF6F 1486 EC27 B5E7 E6E1 3C01 910F 6BB5 4A7D 9677

Attachment: signature.asc
Description: This is a digitally signed message part