Re: Kernel includefile bug not fixed after a year :-(

From: Joerg Schilling (schilling_at_fokus.fraunhofer.de)
Date: 09/30/03

  • Next message: Felipe W Damasio: "[PATCH 2.4] Fix bug in atm/he.c"
    Date:	Tue, 30 Sep 2003 15:26:54 +0200 (CEST)
    To: axboe@suse.de, davem@redhat.com
    
    

    >From davem@redhat.com Tue Sep 30 14:28:23 2003

    >On Tue, 30 Sep 2003 14:06:29 +0200
    >Jens Axboe <axboe@suse.de> wrote:

    >> I asked you one simple question: when did the kernel/user interface
    >> break, and how?

    >I'll answer for him, about 20 or 30 times during IPSEC development.
    >It's still possible this could change even some more before 2.6.0
    >final is released if a large enough bug in the IPSEC socket APIs are
    >found in time.

    There is a simple rule of thumb:

    If the kernel code is not even ready for testing: don't inlcude it
    in external releases.

    If it makes sense to test the code and it uses new interfaces then you
    need to make the interfaces available to potential users of the interface.
    If the interface is going to change then the user should be informed about the
    fact, but you yould need the kernel interface include files.

    glibc exports own interaces and for this reason needs to supply own include
    files. I see no reason however that glibc should deal with include files that
    do not even affect glibc code. This is true for most ioctl()s,
    it is definitely true for the SCSI related ioctl()s.

    Jörg

    -- 
     EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
           js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
           schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
     URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
    -
    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: Felipe W Damasio: "[PATCH 2.4] Fix bug in atm/he.c"

    Relevant Pages

    • Re: 2.6.18-rc1-mm2: process `showconsole used the removed sysctl system call
      ... warning: process `touch' used the removed sysctl system call ... binary sysctl interface for some time time now". ... It is the glibc pthread library testing to see if you have an SMP ... kernel by greping for SMP in the UTS_VERSION string. ...
      (Linux-Kernel)
    • Re: NUMA API observations
      ... > IMHO that's just a kernel bug. ... glibc now uses a select style interface. ... Perhaps we could use the new glibc interface and fall back to the loop ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: proper API for sched_setaffinity ?
      ... The sched_setaffinity interface really is very messy: ... API changes in same minor version of glibc should just not happen. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: NUMA API observations
      ... >> glibc now uses a select style interface. ... With the upcomming numactl version it should work. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: patch to fix set_itimer() behaviour in boundary cases
      ... >>These are things we should fix. ... Rather hard to trap that in glibc. ... actually doing the proper wait using this interface is rather hard. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)