From d9b4d146e8e597d70ec198bf8eb24892adf9962d Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 1 Jun 2009 20:26:51 +0000 Subject: 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 --- sys/sys/ucred.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/sys/ucred.h') 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 */ -- cgit v1.1