kernel debug: priv can be NULL early on
[minix.git] / include / sys / ucred.h
blob3dfe8c1e2f09bcbdf8375e988b4f860c8c87cc6e
1 #ifndef __SYS_UCRED_H
2 #define __SYS_UCRED_H
4 struct ucred_old
6 pid_t pid;
7 short uid;
8 char gid;
9 };
11 struct ucred
13 pid_t pid;
14 uid_t uid;
15 gid_t gid;
18 /* Userland's view of credentials. This should not change */
19 struct uucred {
20 unsigned short cr_unused; /* not used, compat */
21 uid_t cr_uid; /* effective user id */
22 gid_t cr_gid; /* effective group id */
23 short cr_ngroups; /* number of groups */
24 gid_t cr_groups[NGROUPS_MAX]; /* groups */
27 #endif