Home
last modified time | relevance | path

Searched refs:pwd (Results 1 – 8 of 8) sorted by relevance

/system/core/diagnose_usb/
Ddiagnose_usb.cpp72 passwd* pwd = getpwuid(getuid()); in GetUdevProblem() local
74 pwd ? pwd->pw_name : "?"); in GetUdevProblem()
/system/core/init/
Dueventd_parser.cpp60 passwd* pwd = getpwnam(uid_string.c_str()); in ParsePermissionsLine() local
61 if (!pwd) { in ParsePermissionsLine()
64 uid_t uid = pwd->pw_uid; in ParsePermissionsLine()
115 passwd* pwd = getpwnam(args[2].c_str()); in ParseExternalFirmwareHandlerLine() local
116 if (!pwd) { in ParseExternalFirmwareHandlerLine()
131 ExternalFirmwareHandler handler(std::move(args[1]), pwd->pw_uid, gid, in ParseExternalFirmwareHandlerLine()
Dutil.cpp76 passwd* pwd = getpwnam(name.c_str()); in DecodeUid() local
77 if (!pwd) return ErrnoError() << "getpwnam failed"; in DecodeUid()
79 return pwd->pw_uid; in DecodeUid()
/system/core/shell_and_utilities/
DREADME.md65 pkill pmap printenv printf prlimit ps pwd pwdx readelf readlink realpath
103 pkill pmap printenv printf prlimit ps pwd pwdx readelf readlink realpath
137 printenv printf prlimit ps pwd pwdx readelf readlink realpath renice
171 printenv printf prlimit ps pwd pwdx readelf readlink realpath renice
205 printf prlimit ps pwd pwdx **readelf** readlink realpath renice restorecon
237 printf **prlimit** ps pwd **pwdx** readlink realpath renice restorecon **rev**
265 patch pgrep pidof pkill pmap printenv printf ps pwd readlink realpath
290 nl nohup od paste patch pgrep pidof pkill pmap printenv printf **ps** pwd
314 pmap printenv printf pwd readlink realpath **renice** restorecon rm rmdir
335 pkill pmap printenv printf pwd readlink realpath restorecon rm rmdir
/system/logging/logd/
DLogStatistics.cpp242 struct passwd* pwd = getpwuid(uid); in UidToNameLocked() local
243 if (pwd) { in UidToNameLocked()
244 return strdup(pwd->pw_name); in UidToNameLocked()
260 struct passwd* pwd = getpwuid(uid); in UidToNameLocked() local
261 if (pwd) { in UidToNameLocked()
262 return strdup(pwd->pw_name); in UidToNameLocked()
/system/core/llkd/
Dlibllkd.cpp754 auto pwd = ::getpwuid(uid); in llkSkipUid() local
755 return (pwd != nullptr) && __predict_true(pwd->pw_name != nullptr) && in llkSkipUid()
756 __predict_true(pwd->pw_name[0] != '\0') && llkSkipName(pwd->pw_name, llkIgnorelistUid); in llkSkipUid()
/system/logging/liblog/
Dlogprint.cpp1500 struct passwd* pwd = getpwuid(entry->uid); in android_log_formatLogLine() local
1501 if (pwd && (strlen(pwd->pw_name) <= 5)) { in android_log_formatLogLine()
1502 snprintf(uid, sizeof(uid), "%5s:", pwd->pw_name); in android_log_formatLogLine()
/system/logging/logcat/tests/
Dlogcat_test.cpp1700 auto pwd = getpwnam(uid_string.str().c_str()); in SniffUid() local
1701 ASSERT_NE(nullptr, pwd) << "uid '" << uid_string << "' in line '" << trimmed_line << "'"; in SniffUid()
1702 uid = pwd->pw_uid; in SniffUid()