/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | setresgid.c | 27 gid_t crgid = 0; in setresgid_0100() 28 gid_t cegid = 0; in setresgid_0100() 29 gid_t csgid = 0; in setresgid_0100() 35 gid_t srgid = 1; in setresgid_0100() 36 gid_t segid = 2; in setresgid_0100() 37 gid_t ssgid = 3; in setresgid_0100() 43 gid_t rgid = 0; in setresgid_0100() 44 gid_t egid = 0; in setresgid_0100() 45 gid_t sgid = 0; in setresgid_0100() 70 gid_t crgid = 0; in setresgid_0200() [all …]
|
D | setregid.c | 27 gid_t cgid = getgid(); in setregid_0100() 28 gid_t cegid = getegid(); in setregid_0100() 30 gid_t srgid = 1; in setregid_0100() 31 gid_t segid = 2; in setregid_0100() 37 gid_t gid = getgid(); in setregid_0100() 38 gid_t egid = getegid(); in setregid_0100() 57 gid_t cgid = getgid(); in setregid_0200() 58 gid_t cegid = getegid(); in setregid_0200() 60 gid_t srgid = cgid; in setregid_0200() 61 gid_t segid = cegid; in setregid_0200() [all …]
|
D | setegid.c | 27 gid_t cegid = getegid(); in setegid_0100() 29 gid_t segid = 1; in setegid_0100() 35 gid_t egid = getegid(); in setegid_0100() 53 gid_t cegid = getegid(); in setegid_0200() 55 gid_t segid = cegid; in setegid_0200() 61 gid_t egid = getegid(); in setegid_0200()
|
/third_party/ltp/lib/ |
D | tst_uid.c | 16 gid_t tst_get_free_gid_(const char *file, const int lineno, gid_t skip) in tst_get_free_gid_() 18 gid_t ret; in tst_get_free_gid_() 33 return (gid_t)-1; in tst_get_free_gid_() 37 return (gid_t)-1; in tst_get_free_gid_() 56 void tst_get_gids(gid_t *buf, unsigned int start, unsigned int count) in tst_get_gids() 59 gid_t id; in tst_get_gids() 98 gid_t exp_rgid, gid_t exp_egid, gid_t exp_sgid) in tst_check_resgid_() 100 gid_t rgid, egid, sgid; in tst_check_resgid_()
|
/third_party/musl/ndk_musl_include/ |
D | grp.h | 22 gid_t gr_gid; 26 struct group *getgrgid(gid_t); 29 int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); 39 int getgrouplist(const char *, gid_t, gid_t *, int *); 40 int setgroups(size_t, const gid_t *); 41 int initgroups(const char *, gid_t);
|
D | unistd.h | 50 int chown(const char *, uid_t, gid_t); 51 int fchown(int, uid_t, gid_t); 52 int lchown(const char *, uid_t, gid_t); 53 int fchownat(int, const char *, uid_t, gid_t, int); 108 gid_t getgid(void); 109 gid_t getegid(void); 110 int getgroups(int, gid_t []); 113 int setgid(gid_t); 114 int setegid(gid_t); 135 int setregid(gid_t, gid_t); [all …]
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | grp.h | 21 gid_t gr_gid; 25 struct group *getgrgid(gid_t); 28 int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); 43 int getgrouplist(const char *, gid_t, gid_t *, int *); 44 int setgroups(size_t, const gid_t *); 45 int initgroups(const char *, gid_t);
|
D | unistd.h | 47 int chown(const char *, uid_t, gid_t); 48 int fchown(int, uid_t, gid_t); 49 int lchown(const char *, uid_t, gid_t); 50 int fchownat(int, const char *, uid_t, gid_t, int); 105 gid_t getgid(void); 106 gid_t getegid(void); 107 int getgroups(int, gid_t []); 110 int setgid(gid_t); 111 int setegid(gid_t); 133 int setregid(gid_t, gid_t); [all …]
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | grp.h | 22 gid_t gr_gid; 26 struct group *getgrgid(gid_t); 29 int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); 44 int getgrouplist(const char *, gid_t, gid_t *, int *); 45 int setgroups(size_t, const gid_t *); 46 int initgroups(const char *, gid_t);
|
D | unistd.h | 47 int chown(const char *, uid_t, gid_t); 48 int fchown(int, uid_t, gid_t); 49 int lchown(const char *, uid_t, gid_t); 50 int fchownat(int, const char *, uid_t, gid_t, int); 105 gid_t getgid(void); 106 gid_t getegid(void); 107 int getgroups(int, gid_t []); 110 int setgid(gid_t); 111 int setegid(gid_t); 133 int setregid(gid_t, gid_t); [all …]
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | grp.h | 22 gid_t gr_gid; 26 struct group *getgrgid(gid_t); 29 int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); 44 int getgrouplist(const char *, gid_t, gid_t *, int *); 45 int setgroups(size_t, const gid_t *); 46 int initgroups(const char *, gid_t);
|
D | unistd.h | 47 int chown(const char *, uid_t, gid_t); 48 int fchown(int, uid_t, gid_t); 49 int lchown(const char *, uid_t, gid_t); 50 int fchownat(int, const char *, uid_t, gid_t, int); 105 gid_t getgid(void); 106 gid_t getegid(void); 107 int getgroups(int, gid_t []); 110 int setgid(gid_t); 111 int setegid(gid_t); 133 int setregid(gid_t, gid_t); [all …]
|
/third_party/musl/include/ |
D | grp.h | 22 gid_t gr_gid; 26 struct group *getgrgid(gid_t); 29 int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); 44 int getgrouplist(const char *, gid_t, gid_t *, int *); 45 int setgroups(size_t, const gid_t *); 46 int initgroups(const char *, gid_t);
|
D | unistd.h | 51 int chown(const char *, uid_t, gid_t); 52 int fchown(int, uid_t, gid_t); 53 int lchown(const char *, uid_t, gid_t); 54 int fchownat(int, const char *, uid_t, gid_t, int); 109 gid_t getgid(void); 110 gid_t getegid(void); 111 int getgroups(int, gid_t []); 114 int setgid(gid_t); 115 int setegid(gid_t); 137 int setregid(gid_t, gid_t); [all …]
|
/third_party/ltp/testcases/kernel/syscalls/setresgid/ |
D | setresgid03.c | 23 gid_t *rgid; 24 gid_t *egid; 25 gid_t *sgid; 26 gid_t *exp_rgid; 27 gid_t *exp_egid; 28 gid_t *exp_sgid; 32 static gid_t nobody_gid, other_gid, neg = -1; 47 gid_t test_groups[2]; in setup()
|
D | setresgid02.c | 27 gid_t *rgid; 28 gid_t *egid; 29 gid_t *sgid; 30 gid_t *exp_rgid; 31 gid_t *exp_egid; 32 gid_t *exp_sgid; 36 static gid_t root_gid, main_gid, other_gid, neg = -1; 56 gid_t test_groups[3]; in setup()
|
/third_party/musl/porting/liteos_m/user/include/ |
D | unistd.h | 51 int chown(const char *, uid_t, gid_t); 52 int fchown(int, uid_t, gid_t); 53 int lchown(const char *, uid_t, gid_t); 54 int fchownat(int, const char *, uid_t, gid_t, int); 133 gid_t getgid(void); 134 gid_t getegid(void); 135 int getgroups(int, gid_t []); 138 int setgid(gid_t); 139 int setegid(gid_t); 161 int setregid(gid_t, gid_t); [all …]
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | unistd.h | 51 int chown(const char *, uid_t, gid_t); 52 int fchown(int, uid_t, gid_t); 53 int lchown(const char *, uid_t, gid_t); 54 int fchownat(int, const char *, uid_t, gid_t, int); 108 gid_t getgid(void); 109 gid_t getegid(void); 110 int getgroups(int, gid_t []); 113 int setgid(gid_t); 114 int setegid(gid_t); 136 int setregid(gid_t, gid_t); [all …]
|
/third_party/musl/porting/liteos_a/user/include/ |
D | unistd.h | 51 int chown(const char *, uid_t, gid_t); 52 int fchown(int, uid_t, gid_t); 53 int lchown(const char *, uid_t, gid_t); 54 int fchownat(int, const char *, uid_t, gid_t, int); 133 gid_t getgid(void); 134 gid_t getegid(void); 135 int getgroups(int, gid_t []); 138 int setgid(gid_t); 139 int setegid(gid_t); 161 int setregid(gid_t, gid_t); [all …]
|
/third_party/musl/porting/linux/user/include/ |
D | unistd.h | 51 int chown(const char *, uid_t, gid_t); 52 int fchown(int, uid_t, gid_t); 53 int lchown(const char *, uid_t, gid_t); 54 int fchownat(int, const char *, uid_t, gid_t, int); 109 gid_t getgid(void); 110 gid_t getegid(void); 111 int getgroups(int, gid_t []); 114 int setgid(gid_t); 115 int setegid(gid_t); 137 int setregid(gid_t, gid_t); [all …]
|
/third_party/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid04.c | 16 static gid_t first_gid, second_gid, root_gid, neg_one = -1; 24 gid_t *real_gid; 25 gid_t *eff_gid; 26 gid_t *exp_real_usr; 27 gid_t *exp_eff_usr; 51 static void gid_verify(gid_t rg, gid_t eg, const char *when) in gid_verify() 81 gid_t test_groups[3]; in setup()
|
D | setregid02.c | 23 static gid_t root_gid, nobody_gid, other_gid, neg_one = -1; 33 gid_t *real_gid; 34 gid_t *eff_gid; 36 gid_t *exp_real_usr; 37 gid_t *exp_eff_usr; 55 void gid_verify(gid_t rg, gid_t eg, char *when) in gid_verify() 96 gid_t test_groups[3]; in setup()
|
D | setregid03.c | 20 static gid_t primary_gid, secondary_gid, neg_one = -1; 23 gid_t *real_gid; 24 gid_t *eff_gid; 26 gid_t *exp_real_usr; 27 gid_t *exp_eff_usr; 57 gid_t test_groups[2]; in setup() 96 static void gid_verify(gid_t rg, gid_t eg, char *when) in gid_verify()
|
/third_party/ltp/include/ |
D | tst_uid.h | 15 gid_t tst_get_free_gid_(const char *file, const int lineno, gid_t skip); 25 void tst_get_gids(gid_t *buf, unsigned int start, unsigned int size); 36 gid_t exp_rgid, gid_t exp_egid, gid_t exp_sgid);
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | security.h | 47 gid_t *groups; /* groups which the user is member of */ 57 gid_t gid; 95 gid_t gid; 146 gid_t gid; /* gid of user requesting (not the mounter) */ 232 ntfs_inode *ni, gid_t *pgid, mode_t *pdsetgid); 238 uid_t uid, gid_t gid, ntfs_inode *dir_ni, 242 uid_t uid, gid_t gid, mode_t mode, BOOL isdir); 245 uid_t uid, gid_t gid); 247 ntfs_inode *ni, uid_t uid, gid_t gid, mode_t mode); 250 ntfs_inode *ni, uid_t uid, gid_t gid, [all …]
|