Home
last modified time | relevance | path

Searched refs:gid_t (Results 1 – 25 of 128) sorted by relevance

123456

/external/minijail/test/
Dlibminijail_test.cpp25 gid_t groups[] = { kSystemUid + 1, kSystemUid + 2 };
27 size_t getgroups_with_alloc(gid_t **plist) { in getgroups_with_alloc()
40 *plist = (gid_t*)calloc((size_t)nsupp_groups, sizeof(gid_t)); in getgroups_with_alloc()
58 gid_t rgid = getgid(); in check_ugid()
66 bool check_groups(size_t expected_size, gid_t *expected_list) { in check_groups()
69 gid_t *actual_list; in check_groups()
98 gid_t rgid, egid, sgid; in log_resugid()
105 gid_t *list; in log_resugid()
/external/minijail/examples/
Ddrop_privs.cpp23 gid_t groups[] = { 1001, 1002 };
27 gid_t rgid, egid, sgid; in log_resugid()
43 gid_t *list = (gid_t*)calloc((size_t)nsupp_groups, sizeof(gid_t)); in log_resugid()
/external/compiler-rt/test/msan/Linux/
Dgetresid.cc18 gid_t gids[6]; in main()
19 assert(0 == __msan_test_shadow(gids, 6 * sizeof(gid_t))); in main()
22 assert(sizeof(gid_t) == in main()
23 __msan_test_shadow(gids + 2 * i, 2 * sizeof(gid_t))); in main()
/external/openssh/openbsd-compat/
Dbsd-setres_id.h20 int setresgid(gid_t, gid_t, gid_t);
Dbsd-getpeereid.c28 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid()
47 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid()
64 getpeereid(int s, uid_t *euid, gid_t *gid) in getpeereid()
Dbsd-setres_id.c31 setresgid(gid_t rgid, gid_t egid, gid_t sgid) in setresgid()
Dopenbsd-compat.h157 int getgrouplist(const char *, gid_t, gid_t *, int *);
179 int getpeereid(int , uid_t *, gid_t *);
252 char *group_from_gid(gid_t, int);
Dgetgrouplist.c46 getgrouplist(const char *uname, gid_t agroup, gid_t *groups, int *grpcnt) in getgrouplist()
Dport-aix.h124 int getgrouplist(const char *, gid_t, gid_t *, int *);
/external/fio/os/windows/posix/include/sys/
Dshm.h9 typedef int gid_t; typedef
17 gid_t gid; /* owner's group ID */
19 gid_t cgid; /* creator's group ID */
/external/openssh/
Duidswap.c56 static gid_t saved_egid = 0;
62 static gid_t *saved_egroups = NULL, *user_groups = NULL;
100 saved_egroupslen, sizeof(gid_t)); in temporarily_use_uid()
118 user_groupslen, sizeof(gid_t)); in temporarily_use_uid()
214 gid_t old_gid = getgid(); in permanently_set_uid()
241 gid_t groups[] = {AID_LOG, AID_INPUT, AID_INET, in permanently_set_uid()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dstat.h25 gid_t st_gid;
61 gid_t st_gid;
102 gid_t st_gid;
/external/bison/lib/
Dunistd.in.h271 _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
273 _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
276 _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
279 _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
505 uid_t owner, gid_t group, int flag)
508 uid_t owner, gid_t group, int flag));
512 uid_t owner, gid_t group, int flag)
516 uid_t owner, gid_t group, int flag));
690 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups));
691 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups));
[all …]
/external/libchrome/sandbox/linux/services/
Dsyscall_wrappers.h64 SANDBOX_EXPORT int sys_getresgid(gid_t* rgid, gid_t* egid, gid_t* sgid);
/external/bison/darwin-lib/
Dunistd.h583 _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
585 _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
588 _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
591 _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
817 uid_t owner, gid_t group, int flag)
820 uid_t owner, gid_t group, int flag));
824 uid_t owner, gid_t group, int flag)
828 uid_t owner, gid_t group, int flag));
1002 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups));
1003 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups));
[all …]
/external/bison/linux-lib/
Dunistd.h583 _GL_FUNCDECL_RPL (chown, int, (const char *file, uid_t uid, gid_t gid)
585 _GL_CXXALIAS_RPL (chown, int, (const char *file, uid_t uid, gid_t gid));
588 _GL_FUNCDECL_SYS (chown, int, (const char *file, uid_t uid, gid_t gid)
591 _GL_CXXALIAS_SYS (chown, int, (const char *file, uid_t uid, gid_t gid));
817 uid_t owner, gid_t group, int flag)
820 uid_t owner, gid_t group, int flag));
824 uid_t owner, gid_t group, int flag)
828 uid_t owner, gid_t group, int flag));
1002 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups));
1003 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups));
[all …]
/external/libbrillo/brillo/
Duserdb_utils.h22 const std::string& user, uid_t* uid, gid_t* gid) WARN_UNUSED_RESULT;
27 const std::string& group, gid_t* gid) WARN_UNUSED_RESULT;
Dfile_utils.cc59 gid_t gid) { in RegularFileOrDelete()
96 gid_t gid, in TouchFileInternal()
136 gid_t gid) { in TouchFile()
Duserdb_utils.cc19 bool GetUserInfo(const std::string& user, uid_t* uid, gid_t* gid) { in GetUserInfo()
38 bool GetGroupInfo(const std::string& group, gid_t* gid) { in GetGroupInfo()
Dprocess.h73 virtual void SetGid(gid_t gid) = 0;
171 virtual void SetGid(gid_t gid);
221 gid_t gid_;
/external/selinux/libselinux/src/
Dseusers.c96 static gid_t get_default_gid(const char *name) { in get_default_gid()
98 gid_t gid = -1; in get_default_gid()
113 static int check_group(const char *group, const char *name, const gid_t gid) { in check_group()
116 gid_t *groups = NULL; in check_group()
186 gid_t gid = get_default_gid(name); in getseuserbyname()
/external/tlsdate/src/
Dutil.c151 static gid_t
166 gid_t gid; in drop_privs_to()
196 gid_t *supp_gids = (gid_t *) calloc (num_supp, sizeof (gid_t)); in drop_privs_to()
/external/strace/
Dfile.c38 #undef gid_t
46 #define gid_t __kernel_gid_t macro
57 #undef gid_t
65 #define gid_t gid_t macro
/external/toybox/toys/posix/
Did.c91 gid_t gid = getgid(), egid = getegid(), *groups; in do_id()
129 groups = (gid_t *)toybuf; in do_id()
130 i = sizeof(toybuf)/sizeof(gid_t); in do_id()
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.h91 gid_t gid;
186 gid_t guid;
205 gid_t gid;

123456