<div dir="ltr"><div>> are you building with bionic? glibc won't know what android does with<br><br>I'm building against musl libc. I couldn't get toybox with bionic (though the last time i tried was a few month ago).<br><br>> glibc won't know what android does with uid/gid for apps.<br><br></div><div>Doesn't bionic/3rd party only make a difference when trying to resolve the ids to names?<br><br>> (also, 4294967295 is -1.)<br><br></div><div>Hm, -1 is not a valid guid though right? They all have to be positive ranging from 0 to X?<br><br>> i couldn't find any files on a Pixel XL where the built-in toybox reported unusual uids or gids.<br><br></div><div>It's not very common, a few files, among a few devices out of thousands.<br></div><div>I never saw this in person either, just the occasional reports.<br></div><div><br>
> as usual, not using Android's libc on an Android device is likely to lead to confusing results.<br><br></div><div>I'll look into setting up a bionic toolchain again.<br>You don't happen to have an edition of "Crosscompiling toybox with bionic for dummies" at hand :)? <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-13 18:45 GMT+02:00 enh <span dir="ltr"><<a href="mailto:enh@google.com" target="_blank">enh@google.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">are you building with bionic? glibc won't know what android does with<br>
uid/gid for apps. (also, 4294967295 is -1.)<br>
<br>
i couldn't find any files on a Pixel XL where the built-in toybox<br>
reported unusual uids or gids.<br>
<br>
as usual, not using Android's libc on an Android device is likely to<br>
lead to confusing results.<br>
<div><div class="h5"><br>
On Sat, May 13, 2017 at 6:29 AM, darken <<a href="mailto:darken@darken.eu">darken@darken.eu</a>> wrote:<br>
> I stumbled upon the following "stat -c "%a:%F:%d:%i:%u:%g:%s:%B:%b:%<wbr>Z:%N"<br>
> output from a GT-N5110@7.1.2<br>
><br>
>> 5665:FIFO (named<br>
>> pipe):45836:456097:1171143868:<wbr>4160815103:0:512:0:<wbr>18446744073709551615:`/data/<wbr>user/0/de.andip71.boeffla_<wbr>config_v2/app_webview/webview_<wbr>data.lock'<br>
><br>
> The a UID of "1171143868" and GUID of "4160815103" seems way too large. The<br>
> device in question is rooted and that specific file with sticky & suid bit<br>
> seems to be a bit special anyways, but I've also seen this from more vanilla<br>
> files like this from a SM-N9300@6.0.1:<br>
><br>
>> 600:regular<br>
>> file:100d:116024:1001:<wbr>4294967295:16384:4096:32:<wbr>1494489310:`/data/user/0/com.<wbr>android.providers.telephony/<wbr>opname.db'<br>
><br>
> GUID of "4294967295" seems large too.<br>
><br>
> Is it normal and I should expect these kind of values or is this some weird<br>
> root related stuff one should ignore or is it maybe a bug in toybox or the<br>
> Android kernel?<br>
><br>
> ~Matthias<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Toybox mailing list<br>
> <a href="mailto:Toybox@lists.landley.net">Toybox@lists.landley.net</a><br>
> <a href="http://lists.landley.net/listinfo.cgi/toybox-landley.net" rel="noreferrer" target="_blank">http://lists.landley.net/<wbr>listinfo.cgi/toybox-landley.<wbr>net</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Elliott Hughes - <a href="http://who/enh" rel="noreferrer" target="_blank">http://who/enh</a> - <a href="http://jessies.org/~enh/" rel="noreferrer" target="_blank">http://jessies.org/~enh/</a><br>
Android native code/tools questions? Mail me/drop by/add me as a reviewer.<br>
</font></span></blockquote></div><br></div>