Home
last modified time | relevance | path

Searched defs:gid (Results 1 – 25 of 36) 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/sdcard/
Dsdcard.cpp91 static void drop_privs(uid_t uid, gid_t gid) { in drop_privs()
101 uid_t fsuid, gid_t fsgid, bool multi_user, userid_t userid, gid_t gid, in sdcardfs_setup()
125 gid_t gid, mode_t mask) { in sdcardfs_setup_bind_remount()
147 bool multi_user, userid_t userid, gid_t gid, mode_t mask, in sdcardfs_setup_secondary()
158 gid_t gid, userid_t userid, bool multi_user, bool full_write, in run_sdcardfs()
220 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.cpp32 unsigned gid; member
96 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) { in canned_fs_config()
Dfs_config.cpp289 void fs_config(const char* path, int dir, const char* target_out_path, unsigned* uid, unsigned* gid, in 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.h44 gid_t gid() const { return gid_; } in gid() function
61 gid_t gid) in SysfsPermissions()
Ddescriptors.h44 gid_t gid() const { return gid_; } in gid() function
Dueventd_test.cpp78 gid_t gid = 0; in TEST() local
85 WriteFromMultipleThreads(files_and_gids, [](gid_t gid) { EXPECT_EQ(0, setegid(gid)); }); in TEST()
Dueventd_parser.cpp65 gid_t gid = grp->gr_gid; in ParsePermissionsLine() local
Dservice.cpp210 Service::Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, in Service()
464 auto gid = DecodeUid(args[1]); in ParseGroup() local
644 Result<gid_t> gid = 0; in AddDescriptor() local
1127 Result<gid_t> gid = 0; in MakeTemporaryOneshotService() local
Dservice_test.cpp105 static void Test_make_temporary_oneshot_service(bool dash_dash, bool seclabel, bool uid, bool gid, in Test_make_temporary_oneshot_service()
Dservice.h106 gid_t gid() const { return gid_; } in gid() function
/system/core/adb/
Dfile_sync_service.cpp73 gid_t gid = -1; in secure_mkdirs() local
199 static bool handle_send_file(int s, const char* path, uid_t uid, gid_t gid, uint64_t capabilities, in handle_send_file()
401 gid_t gid = -1; in do_send() local
Dfile_sync_service.h59 uint32_t gid; member
/system/core/run-as/
Drun-as.cpp193 uid_t gid = userAppId; in main() 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/extras/runconuid/
Drunconuid.cpp47 static gid_t gid = -1; variable
/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()
/system/core/cpio/
Dmkbootfs.c40 int uid, gid, mode; member

12