[Toybox] Valid range for stat userID and groupID?

darken darken at darken.eu
Sat May 13 06:29:17 PDT 2017


I stumbled upon the following "stat -c "%a:%F:%d:%i:%u:%g:%s:%B:%b:%Z:%N"
output from a GT-N5110 at 7.1.2

> 5665:FIFO (named
pipe):45836:456097:1171143868:4160815103:0:512:0:18446744073709551615:`/data/user/0/de.andip71.boeffla_config_v2/app_webview/webview_data.lock'

The a UID of "1171143868" and GUID of "4160815103" seems way too large. The
device in question is rooted and that specific file with sticky & suid bit
seems to be a bit special anyways, but I've also seen this from more
vanilla files like this from a SM-N9300 at 6.0.1:

> 600:regular
file:100d:116024:1001:4294967295:16384:4096:32:1494489310:`/data/user/0/com.android.providers.telephony/opname.db'

GUID of "4294967295" seems large too.

Is it normal and I should expect these kind of values or is this some weird
root related stuff one should ignore or is it maybe a bug in toybox or the
Android kernel?

~Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20170513/c06510b4/attachment-0002.htm>


More information about the Toybox mailing list