Searched refs:pw (Results 1 - 9 of 9) sorted by relevance
/system/core/toolbox/ |
H A D | chown.c | 34 struct passwd *pw; local 39 pw = getpwnam(user); 40 if (pw != NULL) { 41 uid = pw->pw_uid;
|
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 | 171 struct passwd *pw; local 179 pw = getpwuid(pidstat.st_uid); 180 if (pw) { 181 strlcpy(info.user, pw->pw_name, sizeof(info.user));
|
H A D | ps.c | 47 struct passwd *pw; local 140 pw = getpwuid(stats.st_uid); 141 if(pw == 0) { 144 strcpy(user,pw->pw_name);
|
H A D | ls.c | 80 struct passwd *pw = getpwuid(uid); local 81 if(pw) { 82 strcpy(out, pw->pw_name);
|
/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 | 142 int cryptfs_check_passwd(char *pw);
|
/system/security/keystore/ |
H A D | keystore.cpp | 683 ResponseCode initialize(const android::String8& pw, Entropy* entropy) { argument 687 ResponseCode response = writeMasterKey(pw, entropy); 695 ResponseCode writeMasterKey(const android::String8& pw, Entropy* entropy) { argument 697 generateKeyFromPassword(passwordKey, MASTER_KEY_SIZE_BYTES, pw, mSalt); 704 ResponseCode readMasterKey(const android::String8& pw, Entropy* entropy) { argument 725 generateKeyFromPassword(passwordKey, MASTER_KEY_SIZE_BYTES, pw, salt); 740 response = writeMasterKey(pw, entropy); 814 void generateKeyFromPassword(uint8_t* key, ssize_t keySize, const android::String8& pw, argument 826 PKCS5_PBKDF2_HMAC_SHA1(reinterpret_cast<const char*>(pw.string()), pw 910 initializeUser(const android::String8& pw, uid_t uid) argument 915 writeMasterKey(const android::String8& pw, uid_t uid) argument 921 readMasterKey(const android::String8& pw, uid_t uid) argument 1685 unlock(const String16& pw) argument [all...] |
Completed in 132 milliseconds