难道Android操作系统有一个像/ etc / passwd文件,在/ etc / shadow和/ etc / group文件?文件、有一个、操作系统、Android

2023-09-05 02:24:44 作者:少年逆光而立

如果没有,如何安卓确定用户是否属于某一群体?

If not, how does android determine whether a user belongs to a certain group?

推荐答案

这线程讨论如何做到这一点:http://groups.google.com/group/android-ndk/browse_thread/thread/adddb27c1a5438e9

This thread discusses how that is done: http://groups.google.com/group/android-ndk/browse_thread/thread/adddb27c1a5438e9

它包含一个破碎的链接一个Git仓库,虽然,你可以找到的名字https://android.googlesource.com/platform/system/core.git/+/master/include/private/android_filesystem_config.h.

It contains a broken link to a git repository though, you can find a list of name and IDs in https://android.googlesource.com/platform/system/core.git/+/master/include/private/android_filesystem_config.h.