[lkml]   [2004]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [ANNOUNCE] linux-libc-headers
    [Also sent to]

    On Mon, Mar 01, 2004 at 07:10:31PM +0100, Krzysztof Halasa wrote:
    > The "non-problem" here is, IMHO, that the cleaning of kernel headers
    > is quite trivial, and thus nobody is interested :-)

    The problem is that there is no infrastructure for abi only .h files (mainly).
    Matthew Wilcox + others IIRC has already posted a few patches, but I do not see
    this happening until 2.7 opens up.

    When the proper infrastructure is agreed upon on lot's of people will put some effort
    in this janitorial type of work. But imagine all the small mistakes, something we do not
    want in 2.6.

    IIRC the current agreed scheme is something along the lines of this:

    abi/abi-linux/* Userspace relevant parts of include/linux
    abi/abi-asm/ symlink to abi/abi-$(ARCH)
    abi/abi-i386 i386 specific userland abi
    abi/abi-ppc ppc ....

    So a header file in include/linux with a counterpart in abi could look like this:

    #include <abi-linux/wait.h>

    #include <linux/config.h>
    typedef struct __wait_queue wait_queue_t;

    #define WNOHANG 0x00000001
    #define WUNTRACED 0x00000002

    This proposal meets some resistence related to internal issues such as
    renaming of internal types etc.
    But in the end the gain from a scheme like this outweights the drawbacks - IMHO.

    And the backward compatible stuff can be located in abi where it may belong -
    if really needed.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:01    [W:0.024 / U:1.300 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site