[RFC PATCH 00/38] Support for Linux asm-generic/unistd.h

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Sep 14 07:58:01 UTC 2011


On Sep 6, 2011 10:55 AM, "Jonas Bonn" <jonas at southpole.se> wrote:
>
>
> The asm-generic/unistd.h header in Linux defines a reduced set of syscalls
> where older and deprecated syscalls have been removed.  This patch set
makes
> some changes to the affected C functions so that they work with the
generic
> Linux header.
>
> This patch set is, however, primarily an RFC because:
>
> i)  The functions are generally made to prefer the "newer" syscall if they
> exist... I'm not sure this is always valid.
>
> ii)  I'm uncertain whether the changes to the fstat* functions and to
fcntl
> are correct.  I would, in particular, appreciate close review of these.
>
> iii)  This has been tested for the OpenRISC architecture and compile
tested
> for x86.  Other architectures need to be checked.
>
> I know that there have been other attempts to do these changes earlier.
 The
> patch sets for those, however, aren't easy to find.  So if I've
reimplemented
> something that somebody else already has or is working on, then please
> point me their work so that I can collaborate with them to get this work
done.
>
> This work is currently of primary interest for the OpenRISC architecture
> which was recently merged to the upstream Linux kernel with support for
only
> the asm-generic/unistd.y syscalls.  Four other architectures are expected
to
> be merged within the next 6-12 months that will all have the issue and
will
> benefit from these changes.

Most if not all of these seem to go into the wrong direction, size-wise.
Bloat-o-meter output, please?

The fcntl change looks like it would break !LFS support.


More information about the uClibc mailing list