Lines Matching refs:uid_t
118 bool SetProcessProfiles(uid_t uid, pid_t pid, const std::vector<std::string>& profiles) { in SetProcessProfiles()
126 static std::string ConvertUidToPath(const char* cgroup, uid_t uid) { in ConvertUidToPath()
130 static std::string ConvertUidPidToPath(const char* cgroup, uid_t uid, int pid) { in ConvertUidPidToPath()
134 static int RemoveProcessGroup(const char* cgroup, uid_t uid, int pid, unsigned int retries) { in RemoveProcessGroup()
226 static bool MkdirAndChown(const std::string& path, mode_t mode, uid_t uid, gid_t gid) { in MkdirAndChown()
273 static int DoKillProcessGroupOnce(const char* cgroup, uid_t uid, int initialPid, int signal) { in DoKillProcessGroupOnce()
343 static int KillProcessGroup(uid_t uid, int initialPid, int signal, int retries, in KillProcessGroup()
411 int killProcessGroup(uid_t uid, int initialPid, int signal, int* max_processes) { in killProcessGroup()
415 int killProcessGroupOnce(uid_t uid, int initialPid, int signal, int* max_processes) { in killProcessGroupOnce()
419 static int createProcessGroupInternal(uid_t uid, int initialPid, std::string cgroup) { in createProcessGroupInternal()
425 uid_t cgroup_gid = AID_SYSTEM; in createProcessGroupInternal()
458 int createProcessGroup(uid_t uid, int initialPid, bool memControl) { in createProcessGroup()
498 bool setProcessGroupSwappiness(uid_t, int pid, int swappiness) { in setProcessGroupSwappiness() argument
502 bool setProcessGroupSoftLimit(uid_t, int pid, int64_t soft_limit_in_bytes) { in setProcessGroupSoftLimit() argument
506 bool setProcessGroupLimit(uid_t, int pid, int64_t limit_in_bytes) { in setProcessGroupLimit() argument