Lines Matching refs:gid
223 Service::Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, in Service() argument
233 gid_(gid),
483 auto gid = DecodeUid(args[1]); in ParseGroup() local
484 if (!gid) { in ParseGroup()
485 return Error() << "Unable to decode GID for '" << args[1] << "': " << gid.error(); in ParseGroup()
487 gid_ = *gid; in ParseGroup()
490 gid = DecodeUid(args[n]); in ParseGroup()
491 if (!gid) { in ParseGroup()
492 return Error() << "Unable to decode GID for '" << args[n] << "': " << gid.error(); in ParseGroup()
494 supp_gids_.emplace_back(*gid); in ParseGroup()
718 Result<gid_t> gid = 0; in AddDescriptor() local
729 gid = DecodeUid(args[5]); in AddDescriptor()
730 if (!gid) { in AddDescriptor()
731 return Error() << "Unable to find GID for '" << args[5] << "': " << gid.error(); in AddDescriptor()
735 auto descriptor = std::make_unique<T>(args[1], args[2], *uid, *gid, perm, context); in AddDescriptor()
1314 Result<gid_t> gid = 0; in MakeTemporaryOneshotService() local
1317 gid = DecodeUid(args[3]); in MakeTemporaryOneshotService()
1318 if (!gid) { in MakeTemporaryOneshotService()
1319 LOG(ERROR) << "Unable to decode GID for '" << args[3] << "': " << gid.error(); in MakeTemporaryOneshotService()
1334 return std::make_unique<Service>(name, flags, *uid, *gid, supp_gids, namespace_flags, seclabel, in MakeTemporaryOneshotService()