Searched refs:proc_attr_ (Results 1 – 3 of 3) sorted by relevance
/system/core/init/ |
D | service.cpp | 144 proc_attr_{.ioprio_class = IoSchedClass_NONE, 198 r = killProcessGroupOnce(proc_attr_.uid, pid_, signal, &max_processes); in KillProcessGroup() 200 r = killProcessGroup(proc_attr_.uid, pid_, signal, &max_processes); in KillProcessGroup() 221 if (capabilities_ && proc_attr_.uid) { in SetProcessAttributesAndCaps() 234 if (auto result = SetProcessAttributes(proc_attr_); !result.ok()) { in SetProcessAttributesAndCaps() 248 } else if (proc_attr_.uid) { in SetProcessAttributesAndCaps() 389 LOG(INFO) << "SVC_EXEC service '" << name_ << "' pid " << pid_ << " (uid " << proc_attr_.uid in ExecStart() 390 << " gid " << proc_attr_.gid << "+" << proc_attr_.supp_gids.size() << " context " in ExecStart() 432 if (proc_attr_.console.empty()) { in Start() 433 proc_attr_.console = "/dev/" + GetProperty("ro.boot.console", "console"); in Start() [all …]
|
D | service.h | 112 uid_t uid() const { return proc_attr_.uid; } in uid() 113 gid_t gid() const { return proc_attr_.gid; } in gid() 115 const std::vector<gid_t>& supp_gids() const { return proc_attr_.supp_gids; } in supp_gids() 118 IoSchedClass ioprio_class() const { return proc_attr_.ioprio_class; } in ioprio_class() 119 int ioprio_pri() const { return proc_attr_.ioprio_pri; } in ioprio_pri() 121 int priority() const { return proc_attr_.priority; } in priority() 163 ProcessAttributes proc_attr_; variable
|
D | service_parser.cpp | 87 if (service_->proc_attr_.stdio_to_kmsg) { in ParseConsole() 91 service_->proc_attr_.console = args.size() > 1 ? "/dev/" + args[1] : ""; in ParseConsole() 158 service_->proc_attr_.gid = *gid; in ParseGroup() 165 service_->proc_attr_.supp_gids.emplace_back(*gid); in ParseGroup() 171 service_->proc_attr_.priority = 0; in ParsePriority() 172 if (!ParseInt(args[1], &service_->proc_attr_.priority, in ParsePriority() 217 if (!ParseInt(args[2], &service_->proc_attr_.ioprio_pri, 0, 7)) { in ParseIoprio() 222 service_->proc_attr_.ioprio_class = IoSchedClass_RT; in ParseIoprio() 224 service_->proc_attr_.ioprio_class = IoSchedClass_BE; in ParseIoprio() 226 service_->proc_attr_.ioprio_class = IoSchedClass_IDLE; in ParseIoprio() [all …]
|