summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/ucred.h1
-rw-r--r--sys/sys/user.h3
2 files changed, 3 insertions, 1 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 */
diff --git a/sys/sys/user.h b/sys/sys/user.h
index f111944..ba3dfb0 100644
--- a/sys/sys/user.h
+++ b/sys/sys/user.h
@@ -83,7 +83,7 @@
* it in two places: function fill_kinfo_proc in sys/kern/kern_proc.c and
* function kvm_proclist in lib/libkvm/kvm_proc.c .
*/
-#define KI_NSPARE_INT 10
+#define KI_NSPARE_INT 9
#define KI_NSPARE_LONG 12
#define KI_NSPARE_PTR 7
@@ -190,6 +190,7 @@ struct kinfo_proc {
*/
char ki_sparestrings[68]; /* spare string space */
int ki_spareints[KI_NSPARE_INT]; /* spare room for growth */
+ u_int ki_cr_flags; /* Credential flags */
int ki_jid; /* Process jail ID */
int ki_numthreads; /* XXXKSE number of threads in total */
lwpid_t ki_tid; /* XXXKSE thread id */
OpenPOWER on IntegriCloud