diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-06-01 20:26:51 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-06-01 20:26:51 +0000 |
commit | d9b4d146e8e597d70ec198bf8eb24892adf9962d (patch) | |
tree | 21b7b1caecf777819da4b46ce32688d6c45e7458 /sys/sys/ucred.h | |
parent | 427620ee0659b77e2b931afe638be6b5a9b1a058 (diff) | |
download | FreeBSD-src-d9b4d146e8e597d70ec198bf8eb24892adf9962d.zip FreeBSD-src-d9b4d146e8e597d70ec198bf8eb24892adf9962d.tar.gz |
Add a flags field to struct ucred, and export that via kinfo_proc,
consuming one of its spare fields. The cr_flags field is currently
unused, but will be used for features, including capability mode and
pay-as-you-go audit.
Discussed with: jhb, sson
Diffstat (limited to 'sys/sys/ucred.h')
-rw-r--r-- | sys/sys/ucred.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h index bac4899..626b501 100644 --- a/sys/sys/ucred.h +++ b/sys/sys/ucred.h @@ -56,6 +56,7 @@ struct ucred { struct uidinfo *cr_ruidinfo; /* per ruid resource consumption */ struct prison *cr_prison; /* jail(2) */ struct vimage *cr_vimage; /* vimage */ + u_int cr_flags; /* credential flags */ void *cr_pspare[2]; /* general use 2 */ #define cr_endcopy cr_label struct label *cr_label; /* MAC label */ |