Searched refs:current_uid (Results 1 – 3 of 3) sorted by relevance
47 pid_t current_uid = getuid(); in nsEnter() local74 snprintf(uid_map, sizeof(uid_map), "%d %d 1", (int)current_uid, (int)current_uid); in nsEnter()85 if (setresuid(current_uid, current_uid, current_uid) == -1) { in nsEnter()86 PLOG_E("setresuid(%d)", (int)current_uid); in nsEnter()
172 static unsigned int current_uid; variable478 if (current_uid == ROOT_UID) in check_free_size()549 if (current_uid != ROOT_UID && in file_check()550 buf->st_uid != current_uid) { in file_check()1083 if (current_uid != ROOT_UID && in file_statistic()1084 buf->st_uid != current_uid) { in file_statistic()1148 if (current_uid == ROOT_UID) { in file_statistic()1187 if (current_uid == ROOT_UID) { in file_statistic()1215 if (current_uid == ROOT_UID) { in file_statistic()1511 if (current_uid == ROOT_UID) in file_defrag()[all …]
334 Return: ```current_gid << 32 | current_uid```