diff options
author | 1997-11-06 15:59:49 +0000 | |
---|---|---|
committer | 1997-11-06 15:59:49 +0000 | |
commit | fc8192a436ba0b32dabf4fc6600bac2712e211f4 (patch) | |
tree | e8874db1d0f1f22e3620c7700d71587a2cb5f9ab /sys/kern/kern_sysctl.c | |
parent | Add some missing things for the MI vga driver. Move wscons to an MI place as (diff) | |
download | wireguard-openbsd-fc8192a436ba0b32dabf4fc6600bac2712e211f4.tar.xz wireguard-openbsd-fc8192a436ba0b32dabf4fc6600bac2712e211f4.zip |
fix ps(1) LIM column
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r-- | sys/kern/kern_sysctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 710f43f4ad8..5035cd21a18 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sysctl.c,v 1.22 1997/11/06 05:58:19 csapuntz Exp $ */ +/* $OpenBSD: kern_sysctl.c,v 1.23 1997/11/06 15:59:49 kstailey Exp $ */ /* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */ /*- @@ -48,6 +48,7 @@ #include <sys/kernel.h> #include <sys/malloc.h> #include <sys/proc.h> +#include <sys/resourcevar.h> #include <sys/file.h> #include <sys/vnode.h> #include <sys/unistd.h> @@ -754,4 +755,5 @@ fill_eproc(p, ep) ep->e_login[MAXLOGNAME-1] = '\0'; strncpy(ep->e_emul, p->p_emul->e_name, EMULNAMELEN); ep->e_emul[EMULNAMELEN] = '\0'; + ep->e_maxrss = p->p_rlimit[RLIMIT_RSS].rlim_cur; } |