summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-02-12 17:19:00 +0000
committerphk <phk@FreeBSD.org>2001-02-12 17:19:00 +0000
commit39208f46329ffdb90ba92b85481b12a71df42087 (patch)
treec5275db3972e075c8318dc66c8c5263a455670e1 /sys
parentde7048d1d2f8c8d01fb7e937a6831a099a0f42d6 (diff)
downloadFreeBSD-src-39208f46329ffdb90ba92b85481b12a71df42087.zip
FreeBSD-src-39208f46329ffdb90ba92b85481b12a71df42087.tar.gz
Since we're in "everybody is hosed anyway" add an layout identifier
to struct kinfo_proc. All userland/kernel shared structs should contain *both* a size and a layout field. I will add the code to use the field later.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/user.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/user.h b/sys/sys/user.h
index 7dac779..174b32a 100644
--- a/sys/sys/user.h
+++ b/sys/sys/user.h
@@ -82,6 +82,7 @@
struct kinfo_proc {
int ki_structsize; /* size of this structure */
+ int ki_layout; /* reserved: layout identifier */
struct pargs *ki_args; /* address of command arguments */
struct proc *ki_paddr; /* address of proc */
struct user *ki_addr; /* kernel virtual addr of u-area */
OpenPOWER on IntegriCloud