Lines Matching refs:ucred_t
39 typedef struct ucred_s ucred_t;
45 extern ucred_t *ucred_get(pid_t pid);
47 extern void ucred_free(ucred_t *);
49 extern uid_t ucred_geteuid(const ucred_t *);
50 extern uid_t ucred_getruid(const ucred_t *);
51 extern uid_t ucred_getsuid(const ucred_t *);
52 extern gid_t ucred_getegid(const ucred_t *);
53 extern gid_t ucred_getrgid(const ucred_t *);
54 extern gid_t ucred_getsgid(const ucred_t *);
55 extern int ucred_getgroups(const ucred_t *, const gid_t **);
57 extern const priv_set_t *ucred_getprivset(const ucred_t *, priv_ptype_t);
58 extern uint_t ucred_getpflags(const ucred_t *, uint_t);
60 extern pid_t ucred_getpid(const ucred_t *); /* for door_cred compatibility */
64 extern int getpeerucred(int, ucred_t **);
66 extern zoneid_t ucred_getzoneid(const ucred_t *);
68 extern bslabel_t *ucred_getlabel(const ucred_t *);
70 extern projid_t ucred_getprojid(const ucred_t *);