On Wed, Sep 19, 2007 at 01:48:54PM +0000, Gerrit Pape wrote:
> Hi, FYI.
Thanks.
I actually contacted Herbert back in summer. He told me, that he will
take a look. But obviusly (including BTS's bugs) he have no time for
dash.
I did rewrite of `test` built-in. Now i have 50% size deduction, but
this is without "-o", "-a" things, that POSIX already dismissed. I
just tried to address `!' and `(' as first parameters problem. This is
also a very-very old problems of all shells, as far as i can see in
historic records. Managed to do a rewrite :)
I'll finish by adding "-a" and "-o" by recurcive handling later.
Since i'm adding Herbert to Cc, i waht to ask about following.
Permission checks currently done by stat() plus some kind of uid/gid
checks from bash.
I propose to use euidaccess(), because it have all credentials checks
in the kernel (including SELinux, capabilities, file systems, etc.)
I just saw BR in bash, but then the same copy/paste stuff in `test`.
In case if it is not exising in Hurd or BSD, then access() can be
used, because `dash` is not SUID anyway.
Opinions?
> ----- Forwarded message from Herbert Xu -----
>
> Subject: Bug#431320: dash, test: Arithmetic argument NULL must be handled as
> Not A Number
> Date: Wed, 19 Sep 2007 18:49:49 +0800
>
> On Wed, Sep 19, 2007 at 09:36:12AM +0000, Gerrit Pape wrote:
> > Hi Herbert, all these three patches from Oleg at
> > http://bugs.debian.org/431320
> > make sense to me, for the 3rd one I did a commit for the Debian package,
> > attached.
>
> I like this a lot. Thanks for forwarding this Gerrit.
>
> I'll merge this soon.
>
> Cheers,
> --
> Visit Openswan at http://www.openswan.org/
> Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
>
>
>
> ----- End forwarded message -----
____
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]