开发者

Does the Android operating system have files like /etc/passwd, /etc/shadow, and /etc/group?

If not, how does android determine开发者_如何学编程 whether a user belongs to a certain group?


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

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜