thorpej
d36becd30f
p_schedflags doesn't exist anymore; just set it to zero for now,
...
although we'll be able to get the correct info through kmem
groveling later.
2000-05-27 01:03:00 +00:00
simonb
a9f690ae2a
Add kvm interface to the new sysctls:
...
kvm_getproc2() -> sysctl(KERN_PROC2)
kvm_getargv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ARGV)
kvm_getenvv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ENV)
Add new KVM_NO_FILES flag to kvm_open*() - set up enough state to
use the above calls without having to open any kernel files.
XXX: kvm_getprocs.3 and kvm_open.3 to be updated soon.
2000-05-26 02:42:21 +00:00
simonb
21bd11df50
Fill in e_sid when building the eproc from a crash dump.
2000-04-15 15:52:52 +00:00
chs
e0acecf117
in kvm_getprocs(), check for error from kvm_deadprocs().
2000-01-15 19:16:32 +00:00
simonb
f68ec00b50
More trailing white space.
1999-07-02 15:28:49 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
mrg
5f0216fd45
catch up with the UVM amap changes.. tested by nathanw@mit.edu, thanks.
1999-01-25 03:38:57 +00:00
christos
cc7ffa0da4
Remove lint
1998-09-27 18:15:58 +00:00
thorpej
f45860f9b4
Adjust for the reaper process.
...
XXX Would really like to use proclists[] here, but not right now.
1998-09-09 00:31:25 +00:00
mycroft
3748c7c959
Assign my copyrights to TNF.
1998-08-15 09:16:27 +00:00
perry
a843f0f8a5
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-10 02:43:08 +00:00
thorpej
55c7ea7c28
Use pread(2) and pwrite(2) rather than lseek(2)/{read,write}(2).
1998-06-30 20:29:39 +00:00
chs
a6f9c2eab5
add UVM support.
1998-02-12 06:55:29 +00:00
mrg
0e91aec6e2
while it is still kinda broken, at least let it compile -DUVM...
1998-02-11 12:00:37 +00:00
perry
0b7831a37b
remove obsolete register declarations
1998-02-03 19:12:13 +00:00
drochner
cda7302736
Fix compiler warnings.
1997-08-15 17:52:45 +00:00
mikel
b4119f6b37
use <sys/cdefs.h> __RCSID() macro
1997-08-15 02:21:56 +00:00
gwr
99694d7c30
Instead of: USRSTACK, VM_MIN_ADDRESS, VM_MAXUSER_ADDRESS
...
Use these: kd->usrstack, kd->min_uva, kd->max_uva
1997-08-12 16:30:15 +00:00
mikel
7241b0ff92
fix some printf() formats
1997-06-20 05:18:22 +00:00
thorpej
346e67f879
RCS id police.
1996-03-18 22:33:07 +00:00
cgd
00fd6050b6
slight type cleanup. add some prototypes for internal functions,
...
some 'const' poisoning, some lvalue lossage.
1995-07-04 03:03:30 +00:00
mycroft
ee7138ecea
Fix up the last argv pointer correctly when terminating early.
1995-05-25 03:03:42 +00:00
mycroft
ac582e04f5
Fix one more reallocing bug.
1995-05-18 13:59:25 +00:00
mycroft
70258d9a3a
Fix up another pointer if we realloc the argument list.
1995-05-18 12:21:54 +00:00
mycroft
470f22b967
Update copyright.
1995-05-16 14:26:15 +00:00
mycroft
6506fa2b16
Use the new ps_strings format. Find the arguments using their
...
addresses in the argv array, rather than guessing based on the location
of NULs.
1995-05-16 14:21:08 +00:00
pk
762232f3d7
The sparc port no longer needs special casing.
1995-01-12 16:30:52 +00:00
mycroft
c304971439
Eliminate _kvm_uvatop(), in favor of using the machine-independent VM structures.
1995-01-09 08:59:25 +00:00
cgd
8c814fd78b
fix type of variables, add headers, protos, where necessary.
1994-10-19 03:03:39 +00:00
mycroft
b707f8aa13
Move the swap page buffer into struct __kvm. Cache the page size during
...
kvm_open(). Fix an existing memory leak.
1994-09-18 01:52:01 +00:00
deraadt
dbccee1a87
Don't use NBPG/PGOFSET/PGSHIFT. Use getpagesize() and calculate them.
1994-09-18 00:22:22 +00:00
mycroft
0e2293a33e
Update to match include files.
1994-08-30 17:39:11 +00:00
mycroft
6e04a46b3a
Don't return garbage if there are no argument and/or environment strings.
1994-08-13 10:15:02 +00:00
mycroft
c812277652
Deal with shadow objects correctly.
1994-05-23 22:22:24 +00:00
cgd
0215cc7d1f
new libkvm
1994-05-09 03:15:36 +00:00