[klibc] proposed faccessat

Herbert Xu herbert at gondor.hengli.com.au
Mon Apr 19 21:08:02 PDT 2010


On Tue, Apr 20, 2010 at 06:04:06AM +0200, maximilian attems wrote:
> patch is also available in current patch queue:
> git pull git://git.debian.org/users/maks/klibc.git maks
> 
> Run it on latest dash and it could still test readable files as readable.
> 
> >From b454cb46858debcd88e27964a94ebd9cbebf35f6 Mon Sep 17 00:00:00 2001
> From: maximilian attems <max at stro.at>
> Date: Fri, 16 Apr 2010 05:18:40 +0200
> Subject: [PATCH] [klibc] add minimal faccessat()
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> Implement as wrapper around sys_faccessat().

This isn't quite right.  I'd suggest we either tweak dash's build
to not detect faccessat on klibc, or implement faccessat properly
in klibc by doing what the glibc version does.

Thanks,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the klibc mailing list