Searched refs:gid_t (Results 1 - 25 of 448) sorted by relevance

1234567891011>>

/freebsd-current/crypto/openssh/openbsd-compat/
H A Dbsd-setres_id.h18 int setresgid(gid_t, gid_t, gid_t);
H A Dbsd-getpeereid.c28 getpeereid(int s, uid_t *euid, gid_t *gid)
47 getpeereid(int s, uid_t *euid, gid_t *gid)
64 getpeereid(int s, uid_t *euid, gid_t *gid)
/freebsd-current/contrib/openpam/lib/libpam/
H A Dopenpam_cred.h45 gid_t egid;
46 gid_t groups[NGROUPS_MAX];
/freebsd-current/crypto/openssh/
H A Dgroupaccess.h30 int ga_init(const char *, gid_t);
/freebsd-current/crypto/heimdal/lib/roken/
H A Dinitgroups.c39 initgroups(const char *name, gid_t basegid)
H A Dchown.c39 chown(const char *path, uid_t owner, gid_t group)
H A Dfchown.c39 fchown(int fd, uid_t owner, gid_t group)
H A Dsetegid.c43 setegid(gid_t egid)
/freebsd-current/lib/libc/compat-43/
H A Dsetrgid.c35 setrgid(gid_t rgid)
/freebsd-current/lib/libc/gen/
H A Dgetgrouplist.c41 extern int __getgroupmembership(const char *, gid_t, gid_t *, int, int *);
44 getgrouplist(const char *uname, gid_t agroup, gid_t *groups, int *grpcnt)
H A Dinitgroups.c43 initgroups(const char *uname, gid_t agroup)
47 gid_t *groups;
/freebsd-current/tools/build/cross-build/include/common/
H A Dgrp.h44 struct group *(*a_getgrgid)(gid_t));
46 int gid_from_group(const char *name, gid_t *gid);
48 const char *group_from_gid(gid_t gid, int noname);
/freebsd-current/include/
H A Dgrp.h46 typedef __gid_t gid_t; typedef
58 gid_t gr_gid; /* group id */
67 struct group *getgrgid(gid_t);
70 const char *group_from_gid(gid_t, int);
71 int gid_from_group(const char *, gid_t *);
74 struct group * (*)(gid_t));
80 int getgrgid_r(gid_t, struct group *, char *, size_t,
H A Dunistd.h45 typedef __gid_t gid_t; typedef
327 int chown(const char *, uid_t, gid_t);
341 gid_t getegid(void);
343 gid_t getgid(void);
344 int getgroups(int, gid_t []);
361 int setgid(gid_t);
407 int fchown(int, uid_t, gid_t);
412 int setegid(gid_t);
421 int lchown(const char *, uid_t, gid_t);
434 int fchownat(int, const char *, uid_t, gid_t, in
[all...]
/freebsd-current/contrib/atf/atf-c/detail/
H A Duser.h41 bool atf_user_is_member_of_group(gid_t);
H A Duser.c46 atf_user_is_member_of_group(gid_t gid)
48 static gid_t groups[NGROUPS_MAX];
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dcred.h82 extern int groupmember(gid_t, const cred_t *);
83 extern int supgroupmember(gid_t, const cred_t *);
92 extern gid_t crgetgid(const cred_t *);
93 extern gid_t crgetrgid(const cred_t *);
94 extern gid_t crgetsgid(const cred_t *);
106 extern const gid_t *crgetgroups(const cred_t *);
107 extern const gid_t *crgetggroups(const struct credgrp *);
116 extern int crsetresgid(cred_t *, gid_t, gid_t, gid_t);
[all...]
/freebsd-current/usr.bin/login/
H A Dlogin.h28 void login_fbtab(char *, uid_t, gid_t);
/freebsd-current/usr.sbin/pwd_mkdb/bootstrap/
H A Dpwd.h57 #define gid_t _bootstrap_gid_t macro
62 #undef gid_t macro
/freebsd-current/libexec/mknetid/
H A Dhash.h37 gid_t groupid;
/freebsd-current/sys/sys/
H A Ducred.h70 gid_t cr_rgid; /* real group id */
71 gid_t cr_svgid; /* saved group id */
79 gid_t *cr_groups; /* groups */
81 gid_t cr_smallgroups[XU_NGROUPS]; /* storage for small groups */
99 gid_t cr_groups[XU_NGROUPS]; /* groups */
137 void change_egid(struct ucred *newcred, gid_t egid);
139 void change_rgid(struct ucred *newcred, gid_t rgid);
141 void change_svgid(struct ucred *newcred, gid_t svgid);
157 void crsetgroups(struct ucred *cr, int n, gid_t *groups);
158 bool groupmember(gid_t gi
[all...]
/freebsd-current/usr.bin/at/
H A Dprivs.h64 extern gid_t real_gid, effective_gid;
68 gid_t real_gid, effective_gid;
103 if (setregid((gid_t)-1, effective_gid) != 0) err(1, "setregid failed"); \
/freebsd-current/contrib/netbsd-tests/usr.bin/id/
H A Dpwgr.c49 gid_t
55 gid_t
87 getgrgid(gid_t gid)
105 getgrouplist(const char *name, gid_t basegid, gid_t *groups, int *ngroups)
137 getgroups(int gidsetlen, gid_t *gidset)
/freebsd-current/contrib/lib9p/
H A Drfuncs.h72 struct group *r_getgrgid(gid_t, struct r_pgdata *);
76 struct group *r_cap_getgrgid(cap_channel_t *, gid_t, struct r_pgdata *);
/freebsd-current/contrib/sendmail/include/sm/
H A Dmbdb.h25 #define SM_NO_GID ((gid_t)(-1))
30 gid_t mbdb_gid;

Completed in 287 milliseconds

1234567891011>>