Searched refs:pw (Results 1 - 9 of 9) sorted by relevance
/system/core/toolbox/ |
H A D | pwcache.c | 35 struct passwd* pw = getpwnam(name); local 36 if (pw == NULL) { 39 *uid = pw->pw_uid; 54 struct passwd* pw = getpwuid(uid); local 55 if (pw == NULL) { 60 return pw->pw_name;
|
H A D | id.c | 11 struct passwd *pw = getpwuid(uid); local 13 if (pw) { 14 printf("%d(%s)", uid, pw->pw_name);
|
H A D | lsof.c | 168 struct passwd *pw; local 176 pw = getpwuid(pidstat.st_uid); 177 if (pw) { 178 strlcpy(info.user, pw->pw_name, sizeof(info.user));
|
H A D | ps.c | 51 struct passwd *pw; local 143 pw = getpwuid(stats.st_uid); 144 if(pw == 0 || (display_flags & SHOW_NUMERIC_UID)) { 147 strcpy(user,pw->pw_name);
|
H A D | ls.c | 80 struct passwd *pw = getpwuid(uid); local 81 if(pw) { 82 strlcpy(out, pw->pw_name, out_size);
|
/system/extras/su/ |
H A D | su.c | 37 struct passwd *pw; local 38 pw = getpwnam(tok); 39 if (pw) { 40 if (uid) *uid = pw->pw_uid; 41 if (gid) *gid = pw->pw_gid; 104 struct passwd *pw; local
|
/system/extras/tests/fstest/ |
H A D | perm_checker.c | 72 struct passwd *pw; local 77 if (!(pw = getpwnam(str))) { 81 return pw->pw_uid; 202 struct passwd *pw; local 205 pw = getpwuid(uid); 206 printf("%s %4o %4o %s %d %s %d\n", name, mode, mode, pw->pw_name, uid,
|
/system/vold/ |
H A D | cryptfs.h | 229 int cryptfs_check_passwd(char *pw);
|
/system/security/keystore/ |
H A D | keystore.cpp | 758 ResponseCode initialize(const android::String8& pw, Entropy* entropy) { argument 762 ResponseCode response = writeMasterKey(pw, entropy); 782 ResponseCode writeMasterKey(const android::String8& pw, Entropy* entropy) { argument 784 generateKeyFromPassword(passwordKey, MASTER_KEY_SIZE_BYTES, pw, mSalt); 791 ResponseCode readMasterKey(const android::String8& pw, Entropy* entropy) { argument 812 generateKeyFromPassword(passwordKey, MASTER_KEY_SIZE_BYTES, pw, salt); 827 response = writeMasterKey(pw, entropy); 889 void generateKeyFromPassword(uint8_t* key, ssize_t keySize, const android::String8& pw, argument 901 PKCS5_PBKDF2_HMAC_SHA1(reinterpret_cast<const char*>(pw.string()), pw 985 initializeUser(const android::String8& pw, uid_t uid) argument 996 writeMasterKey(const android::String8& pw, uid_t uid) argument 1001 readMasterKey(const android::String8& pw, uid_t uid) argument 1790 unlock(const String16& pw) argument 2392 password_uid(const String16& pw, int32_t targetUid) argument [all...] |
Completed in 195 milliseconds