]>
git.proxmox.com Git - mirror_spl.git/blob - include/linux-cred.h
1 #ifndef _SYS_LINUX_CRED_H
2 #define _SYS_LINUX_CRED_H
8 #include <linux/types.h>
10 /* XXX - Portions commented out because we really just want to have the type
11 * defined and the contents aren't nearly so important at the moment. */
13 uint_t cr_ref
; /* reference count */
14 uid_t cr_uid
; /* effective user id */
15 gid_t cr_gid
; /* effective group id */
16 uid_t cr_ruid
; /* real user id */
17 gid_t cr_rgid
; /* real group id */
18 uid_t cr_suid
; /* "saved" user id (from exec) */
19 gid_t cr_sgid
; /* "saved" group id (from exec) */
20 uint_t cr_ngroups
; /* number of groups returned by */
23 cred_priv_t cr_priv
; /* privileges */
24 projid_t cr_projid
; /* project */
25 struct zone
*cr_zone
; /* pointer to per-zone structure */
26 struct ts_label_s
*cr_label
; /* pointer to the effective label */
27 credsid_t
*cr_ksid
; /* pointer to SIDs */
29 gid_t cr_groups
[1]; /* cr_groups size not fixed */
30 /* audit info is defined dynamically */
31 /* and valid only when audit enabled */
32 /* auditinfo_addr_t cr_auinfo; audit info */
39 #endif /* _SYS_LINUX_CRED_H */