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