[LTP] [PATCH] android: access02: fix the executable shell path
Sandeep Patil
sspatil@google.com
Tue Sep 5 23:49:40 CEST 2017
On Tue, Aug 29, 2017 at 05:09:03PM +0200, Petr Vorel wrote:
> Hi,
>
> > > BTW: There is _PATH_TMP defined in that header as well, is that one present
> > > on android as well? If so and if it's pointing to something
> > > sensible we could have used that one in the getcwd test...
>
> > _PATH_TMP is defined in all API versions, so possible to use it.
> Sorry, it is defined, but has the same value ("/tmp/"), so not much useful for us.
> This should be fixed in Android.
No _PATH_TMP isn't defined in bionic, *most* of the library code depends on
$TMPDIR which is set by Init.
(The only exception as far as I see is tempnam() implementation which also
uses _PATH_TMP as a failsafe to $TMPDIR environment variable being available.)
- ssp
More information about the ltp
mailing list