>
> B) Current toybox should, yes. Older ones had the API wrong:
>
> https://github.com/landley/toybox/commit/3d64b0cc95c5
My toybox build is from April (https://github.com/d4rken/toybox/tree/sdmaid
).
But if %u and %g is used I think it doesn't try lookup in /etc/ anyways,
right?
(...)
>
On 05/14/2017 02:16 PM, darken wrote:
>> which will try to read /etc/passwd and /etc/group which don't exist on
> android.
>
> And then fall back to just use the numeric ids? Which are stored in the
> filesystem? Inodes I think?
A) Some filsystems do. Fat won't. (The whole filesystem belongs
> which will try to read /etc/passwd and /etc/group which don't exist on
android.
And then fall back to just use the numeric ids? Which are stored in the
filesystem? Inodes I think?
Isn't reading uids/guids from inodes be independent from bionic/musl etc.?
On second thought, if this data is
On 05/13/2017 12:00 PM, darken wrote:
>> are you building with bionic? glibc won't know what android does with
>
> I'm building against musl libc.
which will try to read /etc/passwd and /etc/group which don't exist on
android.
> I couldn't get toybox with bionic
> (though the last time i tried
Unfortunately the output is from devices I don't have access to, via
automatic (anonymous) bug report.
Am 13.05.2017 19:38 schrieb "Rob Landley" :
> On 05/13/2017 08:29 AM, darken wrote:
> > I stumbled upon the following "stat -c
> > "%a:%F:%d:%i:%u:%g:%s:%B:%b:%Z:%N" output
On 05/13/2017 08:29 AM, darken wrote:
> I stumbled upon the following "stat -c
> "%a:%F:%d:%i:%u:%g:%s:%B:%b:%Z:%N" output from a GT-N5110@7.1.2
>
>> 5665:FIFO (named
>
> are you building with bionic? glibc won't know what android does with
I'm building against musl libc. I couldn't get toybox with bionic (though
the last time i tried was a few month ago).
> glibc won't know what android does with uid/gid for apps.
Doesn't bionic/3rd party only make a
are you building with bionic? glibc won't know what android does with
uid/gid for apps. (also, 4294967295 is -1.)
i couldn't find any files on a Pixel XL where the built-in toybox
reported unusual uids or gids.
as usual, not using Android's libc on an Android device is likely to
lead to