Searched refs:pw (Results 1 - 6 of 6) sorted by relevance
/system/extras/su/ |
H A D | su.c | 31 struct passwd* pw = getpwnam(tok); local 32 if (pw) { 33 if (uid) *uid = pw->pw_uid; 34 if (gid) *gid = pw->pw_gid; 124 struct passwd* pw = getpwuid(uid); local 125 setenv("LOGNAME", pw->pw_name, 1); 126 setenv("USER", pw->pw_name, 1);
|
/system/core/toolbox/ |
H A D | lsof.c | 169 struct passwd *pw; local 177 pw = getpwuid(pidstat.st_uid); 178 if (pw) { 179 strlcpy(info.user, pw->pw_name, sizeof(info.user));
|
H A D | ps.c | 58 struct passwd *pw; local 150 pw = getpwuid(stats.st_uid); 151 if(pw == 0 || (display_flags & SHOW_NUMERIC_UID)) { 154 strcpy(user,pw->pw_name);
|
H A D | ls.c | 176 struct passwd *pw = getpwuid(uid); local 177 if(pw) { 178 strlcpy(out, pw->pw_name, out_size);
|
/system/vold/ |
H A D | cryptfs.h | 218 int cryptfs_check_passwd(char *pw);
|
/system/security/keystore/ |
H A D | keystore.cpp | 799 ResponseCode initialize(const android::String8& pw, Entropy* entropy) { argument 803 ResponseCode response = writeMasterKey(pw, entropy); 823 ResponseCode writeMasterKey(const android::String8& pw, Entropy* entropy) { argument 825 generateKeyFromPassword(passwordKey, MASTER_KEY_SIZE_BYTES, pw, mSalt); 832 ResponseCode readMasterKey(const android::String8& pw, Entropy* entropy) { argument 853 generateKeyFromPassword(passwordKey, MASTER_KEY_SIZE_BYTES, pw, salt); 868 response = writeMasterKey(pw, entropy); 929 void generateKeyFromPassword(uint8_t* key, ssize_t keySize, const android::String8& pw, argument 941 PKCS5_PBKDF2_HMAC_SHA1(reinterpret_cast<const char*>(pw.string()), pw 1040 initializeUser(const android::String8& pw, uid_t userId) argument 1051 writeMasterKey(const android::String8& pw, uid_t userId) argument 1056 readMasterKey(const android::String8& pw, uid_t userId) argument 1889 unlock(int32_t userId, const String16& pw) argument [all...] |
Completed in 252 milliseconds