>
> 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?
(...)
>
Whi
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 to
> 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 stored
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 w