Home
last modified time | relevance | path

Searched defs:gid (Results 1 – 25 of 40) 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()
Dcanned_fs_config.cpp31 unsigned gid; member
95 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) { in canned_fs_config()
/system/core/libcutils/include/private/
Dfs_config.h47 uint16_t gid; member
55 unsigned gid; member
/system/core/init/
Ddescriptors.cpp37 gid_t gid, int perm, const std::string& context) in DescriptorInfo()
74 gid_t gid, int perm, const std::string& context) in SocketInfo()
96 gid_t gid, int perm, const std::string& context) in FileInfo()
Ddevices.h47 gid_t gid() const { return gid_; } in gid() function
66 gid_t gid) in SysfsPermissions()
Ddescriptors.h44 gid_t gid() const { return gid_; } in gid() function
Dueventd_test.cpp77 gid_t gid = 0; in TEST() local
84 WriteFromMultipleThreads(files_and_gids, [](gid_t gid) { EXPECT_EQ(0, setegid(gid)); }); in TEST()
Dservice_test.cpp103 static void Test_make_temporary_oneshot_service(bool dash_dash, bool seclabel, bool uid, bool gid, in Test_make_temporary_oneshot_service()
Dservice.cpp223 Service::Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, in Service()
483 auto gid = DecodeUid(args[1]); in ParseGroup() local
718 Result<gid_t> gid = 0; in AddDescriptor() local
1314 Result<gid_t> gid = 0; in MakeTemporaryOneshotService() local
Dueventd_parser.cpp70 gid_t gid = grp->gr_gid; in ParsePermissionsLine() local
/system/core/libprocessgroup/setup/
Dcgroup_descriptor.h33 std::string gid() const { return gid_; } in gid() function
Dcgroup_map_write.cpp58 const std::string& gid) { in Mkdir()
270 const std::string& gid) in CgroupDescriptor()
/system/core/adb/daemon/
Dfile_sync_service.cpp100 gid_t gid = -1; in secure_mkdirs() local
229 static bool handle_send_file(int s, const char* path, uint32_t* timestamp, uid_t uid, gid_t gid, in handle_send_file()
433 gid_t gid = -1; in do_send() local
/system/core/logd/
DLogCommand.cpp60 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/core/libpackagelistparser/
Dpackagelistparser.c60 gid_t gid; in parse_gids() local
/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/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp181 gid_t gid = info->uid; in main() local
/system/vold/
Dvold_prepare_subdirs.cpp57 static bool prepare_dir(struct selabel_handle* sehandle, mode_t mode, uid_t uid, gid_t gid, in prepare_dir()

12