summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-11-20 02:31:46 +0000
committerdas <das@FreeBSD.org>2004-11-20 02:31:46 +0000
commit02205f8827ecfd431c5893cab3129df47d56a1f3 (patch)
treed1b4ff2f1df1eee196eb17e3ffb7dbcc7d027929 /sys
parentdbdcb7be99b5c334343f30e1ac5eb21658e30843 (diff)
downloadFreeBSD-src-02205f8827ecfd431c5893cab3129df47d56a1f3.zip
FreeBSD-src-02205f8827ecfd431c5893cab3129df47d56a1f3.tar.gz
We don't do U area swapping anymore, so update some comments. Also,
prototype the new routine that creates a mock U area for a.out core dumps. Reviewed by: arch@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/user.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/sys/user.h b/sys/sys/user.h
index 68ed894..145b578 100644
--- a/sys/sys/user.h
+++ b/sys/sys/user.h
@@ -197,15 +197,15 @@ void fill_kinfo_proc(struct proc *, struct kinfo_proc *);
#define KI_LOCKBLOCK 0x00000004 /* proc blocked on lock ki_lockname */
/*
- * Per process structure containing data that isn't needed in core
- * when the process isn't running (esp. when swapped out).
+ * This used to be the per-process structure containing data that
+ * isn't needed in core when the process is swapped out, but now it
+ * remains only for the benefit of a.out core dumps.
*/
struct user {
struct pstats u_stats; /* *p_stats */
- /*
- * Remaining field for a.out core dumps - not valid at other times!
- */
struct kinfo_proc u_kproc; /* eproc */
};
+void fill_user(struct proc *, struct user *);
+
#endif
OpenPOWER on IntegriCloud