struct uucred

Change-Id: Ia97cb6c38bb566be30d568a252ae7b76142a21dd
This commit is contained in:
2014-02-18 11:25:01 +01:00
parent 744378194d
commit 55dcce66c6
11 changed files with 63 additions and 64 deletions
+3 -9
View File
@@ -43,12 +43,6 @@
/*
* Credentials.
*/
struct ucred
{
pid_t pid;
uid_t uid;
gid_t gid;
};
/* Userland's view of credentials. This should not change */
struct uucred {
@@ -59,9 +53,9 @@ struct uucred {
gid_t cr_groups[NGROUPS_MAX]; /* groups */
};
#ifdef __minix
#if defined(__minix)
#include <minix/type.h>
int getnucred(endpoint_t proc_ep, struct ucred *ucred);
#endif
int getnucred(endpoint_t proc_ep, struct uucred *ucred);
#endif /* defined(__minix) */
#endif /* !_SYS_UCRED_H_ */