Home
last modified time | relevance | path

Searched refs:gr_gid (Results 1 – 5 of 5) sorted by relevance

/system/core/diagnose_usb/
Ddiagnose_usb.cpp67 if (std::find(groups.begin(), groups.end(), plugdev_group->gr_gid) != groups.end() || in GetUdevProblem()
68 getegid() == plugdev_group->gr_gid) { in GetUdevProblem()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp66 gid_t gr_gid = -1; in ChangeDirModeAndOwner() local
76 gr_gid = -1; in ChangeDirModeAndOwner()
84 gr_gid = gid_pwd->gr_gid; in ChangeDirModeAndOwner()
103 if (pw_uid != -1 && lchown(file_path.c_str(), pw_uid, gr_gid) < 0) { in ChangeDirModeAndOwner()
/system/core/init/
Dueventd_parser.cpp71 gid_t gid = grp->gr_gid; in ParsePermissionsLine()
127 gid = grp->gr_gid; in ParseExternalFirmwareHandlerLine()
/system/extras/runconuid/
Drunconuid.cpp113 return gr->gr_gid; in lookup_gid()
/system/apex/apexd/
Dapexservice_test.cpp335 ASSERT_EQ(0, chown(trg.c_str(), /* root uid */ 0, g->gr_gid)) in Prepare()