Home
last modified time | relevance | path

Searched defs:gid (Results 1 – 25 of 44) sorted by relevance

12

/system/extras/su/
Dsu.cpp29 void pwtoid(const char* tok, uid_t* uid, gid_t* gid) { in pwtoid()
44 void extract_uidgids(const char* uidgids, uid_t* uid, gid_t* gid, gid_t* gids, int* gids_count) { in extract_uidgids()
102 gid_t gid = 0; in main() local
/system/core/libprocessgroup/profiles/
Dcgroups.proto33 string gid = 5 [json_name = "GID"]; field
41 string gid = 4 [json_name = "GID"]; field
/system/core/sdcard/
Dsdcard.cpp92 static void drop_privs(uid_t uid, gid_t gid) { in drop_privs()
102 uid_t fsuid, gid_t fsgid, bool multi_user, userid_t userid, gid_t gid, in sdcardfs_setup()
133 gid_t gid, mode_t mask) { in sdcardfs_setup_bind_remount()
156 gid_t gid, mode_t mask, bool derive_gid, bool default_normal, in sdcardfs_setup_secondary()
167 gid_t gid, userid_t userid, bool multi_user, bool full_write, in run_sdcardfs()
239 gid_t gid = 0; in main() local
/system/core/libcutils/
Dfs.cpp42 static int fs_prepare_path_impl(const char* path, mode_t mode, uid_t uid, gid_t gid, in fs_prepare_path_impl()
115 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir()
119 int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir_strict()
123 int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_file_strict()
Dfs_config.h26 uint16_t gid; member
34 unsigned gid; member
Dcanned_fs_config.cpp31 unsigned gid; member
95 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) { in canned_fs_config()
/system/bpf/progs/include/
Dbpf_map_def.h52 unsigned int gid; // gid_t member
58 unsigned int gid; member
Dbpf_helpers.h93 #define DEFINE_BPF_MAP_GWO(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument
96 #define DEFINE_BPF_MAP_GRO(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument
99 #define DEFINE_BPF_MAP_GRW(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument
/system/core/libprocessgroup/setup/
Dcgroup_descriptor.h33 std::string gid() const { return gid_; } in gid() function
Dcgroup_map_write.cpp59 const std::string& gid, bool permissive_mode = false) { in ChangeDirModeAndOwner()
114 const std::string& gid) { in Mkdir()
344 const std::string& gid, uint32_t flags = 0) in CgroupDescriptor()
/system/core/init/
Ddevices.h47 gid_t gid() const { return gid_; } in gid() function
66 gid_t gid) in SysfsPermissions()
Dservice_utils.h51 gid_t gid = 0; member
80 gid_t gid; member
Dueventd_test.cpp73 gid_t gid = 0; in TEST() local
80 WriteFromMultipleThreads(files_and_gids, [](gid_t gid) { EXPECT_EQ(0, setegid(gid)); }); in TEST()
Dutil.h76 gid_t gid; member
Dservice_test.cpp104 static void Test_make_temporary_oneshot_service(bool dash_dash, bool seclabel, bool uid, bool gid, in Test_make_temporary_oneshot_service()
/system/core/adb/libs/libadbd_fs/
Dadbd_fs.cpp21 void adbd_fs_config(const char* path, int dir, const char* target_out_path, uid_t* uid, gid_t* gid, in adbd_fs_config()
/system/core/logd/
DLogPermissions.cpp56 bool clientHasLogCredentials(uid_t uid, gid_t gid, pid_t pid) { in clientHasLogCredentials()
/system/core/libprocinfo/include/procinfo/
Dprocess.h55 uid_t gid; member
/system/netd/server/
DWakeupController.h38 int gid; member
DWakeupControllerTest.cpp106 gid_t gid; in TEST_F() member
156 gid_t gid; in TEST_F() member
227 gid_t gid; in TEST_F() member
/system/core/run-as/
Drun-as.cpp240 uid_t gid = userAppId; in main() local
/system/extras/runconuid/
Drunconuid.cpp47 static gid_t gid = -1; variable
/system/core/libpackagelistparser/
Dpackagelistparser.cpp49 unsigned long gid = strtoul(gids, &end, 10); in parse_gids() local
/system/core/adb/daemon/
Dfile_sync_service.cpp108 gid_t gid = -1; in secure_mkdirs() local
347 gid_t gid, uint64_t capabilities, mode_t mode, in handle_send_file()
522 gid_t gid = -1; in send_impl() local
/system/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp191 gid_t gid = info->uid; in main() local

12