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

1234567891011>>

/freebsd-13-stable/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-13-stable/contrib/openpam/lib/libpam/
H A Dopenpam_cred.h47 gid_t egid;
48 gid_t groups[NGROUPS_MAX];
/freebsd-13-stable/lib/libc/gen/
H A Dgetgrouplist.c45 extern int __getgroupmembership(const char *, gid_t, gid_t *, int, int *);
48 getgrouplist(const char *uname, gid_t agroup, gid_t *groups, int *grpcnt)
H A Dinitgroups.c47 initgroups(const char *uname, gid_t agroup)
51 gid_t *groups;
/freebsd-13-stable/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-13-stable/crypto/openssh/
H A Dgroupaccess.h30 int ga_init(const char *, gid_t);
/freebsd-13-stable/tools/build/cross-build/include/common/
H A Dgrp.h46 struct group *(*a_getgrgid)(gid_t));
48 int gid_from_group(const char *name, gid_t *gid);
50 int gid_from_group(const char *name, gid_t *gid);
52 const char *group_from_gid(gid_t gid, int noname);
/freebsd-13-stable/include/
H A Dgrp.h49 typedef __gid_t gid_t; typedef
61 gid_t gr_gid; /* group id */
70 struct group *getgrgid(gid_t);
73 const char *group_from_gid(gid_t, int);
74 int gid_from_group(const char *, gid_t *);
77 struct group * (*)(gid_t));
83 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-13-stable/lib/libc/compat-43/
H A Dsetrgid.c41 setrgid(gid_t rgid)
/freebsd-13-stable/contrib/atf/atf-c/detail/
H A Duser.h41 bool atf_user_is_member_of_group(gid_t);
/freebsd-13-stable/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-13-stable/usr.sbin/pwd_mkdb/bootstrap/
H A Dpwd.h59 #define gid_t _bootstrap_gid_t macro
64 #undef gid_t macro
/freebsd-13-stable/usr.bin/login/
H A Dlogin.h30 void login_fbtab(char *, uid_t, gid_t);
/freebsd-13-stable/libexec/mknetid/
H A Dhash.h39 gid_t groupid;
/freebsd-13-stable/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dcred.h87 extern int supgroupmember(gid_t, const cred_t *);
93 extern gid_t crgetrgid(const cred_t *);
94 extern gid_t crgetsgid(const cred_t *);
107 extern const gid_t *crgetggroups(const struct credgrp *);
115 extern int crsetresgid(cred_t *, gid_t, gid_t, gid_t);
121 extern int crsetugid(cred_t *, uid_t, gid_t);
126 extern struct credgrp *crgrpcopyin(int, gid_t *);
169 extern boolean_t valid_ephemeral_gid(struct zone *, gid_t);
[all...]
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dcred.h54 extern gid_t crgetgid(const cred_t *cr);
55 extern gid_t crgetrgid(const cred_t *cr);
56 extern gid_t crgetsgid(const cred_t *cr);
57 extern gid_t crgetfsgid(const cred_t *cr);
59 extern gid_t *crgetgroups(const cred_t *cr);
60 extern int groupmember(gid_t gid, const cred_t *cr);
/freebsd-13-stable/sys/sys/
H A Ducred.h72 gid_t cr_rgid; /* real group id */
73 gid_t cr_svgid; /* saved group id */
82 gid_t *cr_groups; /* groups */
84 gid_t cr_smallgroups[XU_NGROUPS]; /* storage for small groups */
102 gid_t cr_groups[XU_NGROUPS]; /* groups */
140 void change_egid(struct ucred *newcred, gid_t egid);
142 void change_rgid(struct ucred *newcred, gid_t rgid);
144 void change_svgid(struct ucred *newcred, gid_t svgid);
161 void crsetgroups(struct ucred *cr, int n, gid_t *groups);
162 int groupmember(gid_t gi
[all...]
/freebsd-13-stable/usr.bin/at/
H A Dprivs.h66 extern gid_t real_gid, effective_gid;
70 gid_t real_gid, effective_gid;
105 if (setregid((gid_t)-1, effective_gid) != 0) err(1, "setregid failed"); \
/freebsd-13-stable/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-13-stable/contrib/sendmail/include/sm/
H A Dmbdb.h25 #define SM_NO_GID ((gid_t)(-1))
30 gid_t mbdb_gid;

Completed in 327 milliseconds

1234567891011>>