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

From: Erik Andersen (andersen_at_codepoet.org)
Date: 09/30/03

  • Next message: Hans Reiser: "Re: 2.6.0-test6 crash while reading files in /proc/fs/reiserfs/sda1"
    Date:	Tue, 30 Sep 2003 13:09:08 -0600
    To: Jens Axboe <axboe@suse.de>
    
    

    On Tue Sep 30, 2003 at 02:28:32PM +0200, Jens Axboe wrote:
    > Well then change that to 'if you include kernel headers from your user
    > apps, be prepared to pick fix the breakage'.
    >
    > Surely the kernel doesn't move at such an accelerated pace that it's
    > impossible to keep kernel headers uptodate.

    A classic recent example is iproute, which uses kernel headers
    all over the place. It compiled with earlier 2.4.x kernels, but
    it no longer compiles 2.4.22. I've not bothered to try and fix
    it, but if it included its own set of sanitized kernel headers,
    it would not have had a problem.

     -Erik

    --
    Erik B. Andersen             http://codepoet-consulting.com/
    --This message was written using 73% post-consumer electrons--
    -
    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: Hans Reiser: "Re: 2.6.0-test6 crash while reading files in /proc/fs/reiserfs/sda1"

    Relevant Pages

    • Re: 2.6.4-rc1-mm1
      ... > so the situation is even more clear thæn the general you should not include ... > kernel headers thing. ... And as the fix is so trivial, I'd consider failure to fix it ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] Fix userspace inclusion of linux/fs.h (resend)
      ... Please apply of fix some other way. ... > Userspace should not be directly including the kernel headers. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Linux Kernel bug report (includes fix)
      ... > I bet eveyone here will agree, this is the proper way to fix the issue ... Everyone has agreed that not using kernel headers is the proper way to ... the kernel source online is a non-starter in the first place. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.8-rc2-mm1
      ... shipping the current in-tree version with their kernel headers ... There's also a hiddev oops-on-removal fix that ought to be merged fairly ... struct hiddev_usage_ref_multi { ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: epoll gives broken results when interrupted with a signal
      ... When epoll seems to go wrong, ... my code can't pull in the kernel headers so it has its own ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)