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

From: Stephen Pollei (stephen_pollei_at_comcast.net)
Date: 01/12/05

  • Next message: Linus Torvalds: "Linux 2.6.11-rc1"
    To: "Barry K. Nathan" <barryn@pobox.com>
    Date:	11 Jan 2005 21:11:40 -0800
    
    
    

    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
    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: Linus Torvalds: "Linux 2.6.11-rc1"

    Relevant Pages

    • Re: [PATCH] disable builtin modules
      ... Both the obsolete __setupparameter code and the module parameter ... code in kernel/params.c are limited to a single matching parameter. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Single source code to compile over .NET 1.0, 1.1, 2.0 and CF
      ... With some of the features made obsolete in 2.0 and the new recomended ... How come I conditionally compile my application with .NET 1.1 and 2.0 ... Create nmake files and pass a define, ...
      (microsoft.public.dotnet.faqs)
    • Re: time for some drivers to be removed?
      ... > The code in question is obsolete if it wont build because its out of date ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] remove BK documentation
      ... >> There's no longer a reason to document the obsolete BK usage. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] remove the obsolete raw driver
      ... >> obsolete. ... > In general there are staging rules for this sort of affair, ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)