OpenBSD CVS

CVS log for src/lib/libkvm/kvm_proc.c


[BACK] Up to [local] / src / lib / libkvm

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.64 / (download) - annotate - [select for diffs], Fri May 10 06:46:14 2024 UTC (4 weeks, 4 days ago) by asou
Branch: MAIN
CVS Tags: HEAD
Changes since 1.63: +12 -13 lines
Diff to previous 1.63 (colored)

Correct display the details of COMMAND using the ps command from the kernel
crash dump.

OK millert@

Revision 1.63 / (download) - annotate - [select for diffs], Tue Feb 22 17:35:01 2022 UTC (2 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

MAXCOMLEN is no longer needed in these programs, so remove the annotation
from sys/param.h include lines, or remove the include lines entirely if
it this was the least requirement.
ok millert

Revision 1.62 / (download) - annotate - [select for diffs], Fri Sep 10 00:02:43 2021 UTC (2 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.61: +9 -5 lines
Diff to previous 1.61 (colored)

annotate what symbols are used from sys/param.h lines, or delete them
if not required.  when deleting, add sys/signal.h or other lines which
were not being pulled in

Revision 1.61 / (download) - annotate - [select for diffs], Mon Oct 12 22:08:33 2020 UTC (3 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.60: +2 -4 lines
Diff to previous 1.60 (colored)

make fixed-sized fixed-value mib[] arrays be const
ok guenther tb millert

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:42 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.59 / (download) - annotate - [select for diffs], Thu May 3 15:47:41 2018 UTC (6 years, 1 month ago) by zhuk
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.58: +80 -61 lines
Diff to previous 1.58 (colored)

A few fixes for kvm_getargv(3)/kvm_getenv(3):

  1. Most notable: this splits argv buffer into argv-specific one
     and environ-specific one. This makes ps -eww totally happy.

  2. realloc() usage in kvm_argv() is now ENOMEM-prone.

  3. The "int off" changed to "ptrdiff_t off", as it should be.

input & okay deraadt@, millert@

Revision 1.58 / (download) - annotate - [select for diffs], Mon Nov 7 00:26:33 2016 UTC (7 years, 7 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Split PID from TID, giving processes a PID unrelated to the TID of their
initial thread

ok jsing@ kettenis@

Revision 1.57 / (download) - annotate - [select for diffs], Fri Sep 16 04:03:27 2016 UTC (7 years, 8 months ago) by dlg
Branch: MAIN
Changes since 1.56: +8 -4 lines
Diff to previous 1.56 (colored)

handle fallout of moving the address maps to RBT code.

because userland doesnt have subr_tree, and the tree traversal in
this file is simple, this inlines the logic that the functions in
the kernel do.

Revision 1.56 / (download) - annotate - [select for diffs], Thu May 26 13:37:26 2016 UTC (8 years ago) by stefan
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.55: +53 -11 lines
Diff to previous 1.55 (colored)

Make amaps use less kernel memory (2nd try)

The original diff would crash at least i386 and powerpc, as spotted by
guenther@ The reason was an incorrect use of sizeof in amap_lookups().

Confirmation that powerpc works by mpi@ and mglocker@

"throw it in" deraadt@

Original commit message:

This is achieved by grouping amap slots into chunks that are allocated
on-demand by pool(9). Endless "fltamapcopy" loops because of kmem
shortage should be solved now. The kmem savings are also important to later
enable vmm(4) to use larged shared memory mappings for guest VM RAM.

This adapts libkvm also because the amap structure layout has changed.

Testing and fix of libkvm glitch in initial diff by tb@
Feedback and "time to get this in" kettenis@

Revision 1.55 / (download) - annotate - [select for diffs], Sun May 22 22:52:01 2016 UTC (8 years ago) by guenther
Branch: MAIN
Changes since 1.54: +10 -52 lines
Diff to previous 1.54 (colored)

Revert previous: breaks i386 and powerpc, probably all non-PMAP_DIRECT archs

Revision 1.54 / (download) - annotate - [select for diffs], Sun May 22 16:18:26 2016 UTC (8 years ago) by stefan
Branch: MAIN
Changes since 1.53: +53 -11 lines
Diff to previous 1.53 (colored)

Make amaps use less kernel memory

This is achieved by grouping amap slots into chunks that are allocated
on-demand by pool(9). Endless "fltamapcopy" loops because of kmem
shortage should be solved now. The kmem savings are also important to later
enable vmm(4) to use larged shared memory mappings for guest VM RAM.

This adapts libkvm also because the amap structure layout has changed.

Testing and fix of libkvm glitch in initial diff by tb@
Feedback and "time to get this in" kettenis@

Revision 1.53 / (download) - annotate - [select for diffs], Wed May 11 17:46:44 2016 UTC (8 years, 1 month ago) by tedu
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

convert bcopy to memcpy. ok dlg millert

Revision 1.52 / (download) - annotate - [select for diffs], Wed Oct 22 04:13:35 2014 UTC (9 years, 7 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.51: +5 -3 lines
Diff to previous 1.51 (colored)

Don't leak the old data if _kvm_reallocarray() fails

ok millert@ doug@

Revision 1.51 / (download) - annotate - [select for diffs], Wed Oct 15 02:03:05 2014 UTC (9 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.50: +10 -10 lines
Diff to previous 1.50 (colored)

Apply reallocarray() idiom.
ok guenther

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jul 4 05:58:31 2014 UTC (9 years, 11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.49: +13 -6 lines
Diff to previous 1.49 (colored)

Track whether a process is a zombie or not yet fully built via flags
PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's
thread data.  This eliminates the need for the thread-level SDEAD state.

Change kvm_getprocs() (both the sysctl() and kvm backends) to report the
"most active" scheduler state for the process's threads.

tweaks kettenis@
feedback and ok matthew@

Revision 1.49 / (download) - annotate - [select for diffs], Fri Nov 1 15:57:56 2013 UTC (10 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

reduce use of <sys/user.h>
ok guenther millert

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jan 14 06:32:37 2013 UTC (11 years, 4 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.47: +13 -40 lines
Diff to previous 1.47 (colored)

No longer need the "miniproc" glue, as we only have kinfo_proc now.

ok deraadt@ pirofti@ kettenis@

Revision 1.47 / (download) - annotate - [select for diffs], Sat Apr 14 12:11:47 2012 UTC (12 years, 2 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.46: +5 -2 lines
Diff to previous 1.46 (colored)

Need to read in the vmspace to dig out the root of the rb-tree

Revision 1.46 / (download) - annotate - [select for diffs], Fri Mar 9 13:02:45 2012 UTC (12 years, 3 months ago) by ariane
Branch: MAIN
Changes since 1.45: +14 -13 lines
Diff to previous 1.45 (colored)

Userspace counterpart of new vmmap.

Allows memory walks to function.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 7 05:38:12 2012 UTC (12 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.44: +1 -13 lines
Diff to previous 1.44 (colored)

Add rtable id and thread id to struct kinfo_proc (and fix process id)
and add an 'rtableid' keyword to ps.

Add rtable id, thread id, and socket splice info to struct kinfo_file2
and make fstat display socket splice information.

Remove old KVM_PROC2 and kinfo_proc2 interfaces; bump libkvm major

Socket splice info and corrections from bluhm@  "Lovely" deraadt@

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 6 17:18:26 2011 UTC (13 years ago) by ariane
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.43: +13 -14 lines
Diff to previous 1.43 (colored)

Userland counterpart of the vmmap backout; cranks major version of libkvm.

Revision 1.43 / (download) - annotate - [select for diffs], Tue May 24 15:27:36 2011 UTC (13 years ago) by ariane
Branch: MAIN
Changes since 1.42: +14 -13 lines
Diff to previous 1.42 (colored)

Reimplement uvm/uvm_map.

vmmap is designed to perform address space randomized allocations,
without letting fragmentation of the address space go through the roof.

Some highlights:
- kernel address space randomization
- proper implementation of guardpages
- roughly 10% system time reduction during kernel build

Tested by alot of people on tech@ and developers.
Theo's machines are still happy.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Mar 12 04:54:28 2011 UTC (13 years, 3 months ago) by guenther
Branch: MAIN
Changes since 1.41: +13 -310 lines
Diff to previous 1.41 (colored)

Replace the old, broken KERN_PROC ABI and its matching functions
in libkvm with the stable-ABI versions that are currently named
KERN_PROC2, kvm_get{proc,argv,envv}2().  The latter names and symbols
will continue to be supported for a few releases.

Committing now that they ports people have had a couple releases
to update pkgs that usd the old functions

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jul 26 01:56:27 2010 UTC (13 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.40: +7 -6 lines
Diff to previous 1.40 (colored)

Correct the links between threads, processes, pgrps, and sessions,
so that the process-level stuff is to/from struct process and not
struct proc.  This fixes a bunch of problem cases in rthreads.
Based on earlier work by blambert and myself, but mostly written
at c2k10.

Tested by many: deraadt, sthen, krw, ray, and in snapshots

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jan 10 03:37:50 2010 UTC (14 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.39: +1 -199 lines
Diff to previous 1.39 (colored)

Reimplement kvm_getproc2()'s support for reading crash dumps and
/dev/mem to be direct instead of going through kvm_getprocs(), as
that function is going to get more an more broken as we move stuff
from struct proc to struct process for rthreads.  To minimize the
code copying, put the common logic of filling in a kinfo_proc2
structure into a macro FILL_KPROC2() in <sys/sysctl.h> for use from
both the kernel and user-space.  This also hides the KERN_PROC
#define behind "#if defined(_KERNEL)||defined(_LIBKVM)", as it's
deprecated.

Positive feedback from millert and blambert; so committing to unblock
further rthreads work.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:28 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.38: +1 -9 lines
Diff to previous 1.38 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jun 20 20:20:43 2009 UTC (14 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.37: +2 -5 lines
Diff to previous 1.37 (colored)

Move KREAD define to kvm_private.h

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jan 21 22:18:00 2009 UTC (15 years, 4 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.36: +4 -3 lines
Diff to previous 1.36 (colored)

All operation on live kernels uses sysctl interface, there is no reason to
access the swap area. Change kvm_open() to no longer require a swap area,
and to not consider failure to open() it as fatal. Post-mortem analysis
would need an image of the swap area at the time of the crash, anyway.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:05 2008 UTC (15 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.35: +2 -9 lines
Diff to previous 1.35 (colored)

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

Revision 1.35 / (download) - annotate - [select for diffs], Wed Oct 10 15:53:51 2007 UTC (16 years, 8 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.34: +2 -4 lines
Diff to previous 1.34 (colored)

Make context switching much more MI:
 - Move the functionality of choosing a process from cpu_switch into
   a much simpler function: cpu_switchto. Instead of having the locore
   code walk the run queues, let the MI code choose the process we
   want to run and only implement the context switching itself in MD
   code.
 - Let MD context switching run without worrying about spls or locks.
 - Instead of having the idle loop implemented with special contexts
   in MD code, implement one idle proc for each cpu. make the idle
   loop MI with MD hooks.
 - Change the proc lists from the old style vax queues to TAILQs.
 - Change the sleep queue from vax queues to TAILQs. This makes
   wakeup() go from O(n^2) to O(n)

there will be some MD fallout, but it will be fixed shortly.
There's also a few cleanups to be done after this.

deraadt@, kettenis@ ok

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jun 18 21:51:15 2007 UTC (16 years, 11 months ago) by pedro
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Bring back Mickey's UVM anon change. Testing by thib@, beck@ and
ckuethe@ for a while. Okay beck@, "it is good timing" deraadt@.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Apr 14 11:06:43 2007 UTC (17 years, 2 months ago) by espie
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored)

hide struct process from userland, allow kvm_proc to see it.
okay miod@

Revision 1.32 / (download) - annotate - [select for diffs], Thu Apr 12 22:14:15 2007 UTC (17 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.31: +9 -4 lines
Diff to previous 1.31 (colored)

move p_limit and p_cred into struct process
leave macros behind for now to keep the commit small
ok art beck miod pedro

Revision 1.31 / (download) - annotate - [select for diffs], Wed Nov 29 12:32:57 2006 UTC (17 years, 6 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Sync with struct proc change.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jul 13 22:51:24 2006 UTC (17 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.29: +1 -1 lines
Diff to previous 1.29 (colored)

Back out the anon change.  Apparently it was tested by a few, but most of
us did not see it or get a chance to test it before it was commited. It
broke cvs, in the ami driver, making it not succeed at seeing it's devices.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jun 21 16:20:05 2006 UTC (17 years, 11 months ago) by mickey
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

from netbsd: make anons dynamically allocated from pool.
this results in lesse kva waste due to static preallocation of those
for every phys page and also every swap page.
tested by beck krw miod

Revision 1.28 / (download) - annotate - [select for diffs], Fri Mar 31 03:59:40 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.27: +10 -10 lines
Diff to previous 1.27 (colored)

careful cleanup following advice from lint.  be very very very careful
with sprinkling in size_t!

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 12 07:24:28 2005 UTC (18 years, 8 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Use queue macros instead of directly accessing fields. ok millert@

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 24 21:06:47 2004 UTC (19 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Back out part of last commit; we want to realloc + loop for argv too.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 24 18:19:25 2004 UTC (19 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Allocate 8 pages for process argv, not one.  This should really be ARG_MAX
but sysctl_proc_args() needs changes to support that.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jun 15 03:52:59 2004 UTC (20 years ago) by deraadt
Branch: MAIN
Changes since 1.23: +100 -162 lines
Diff to previous 1.23 (colored)

knf; ok millert

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 14 03:46:46 2004 UTC (20 years ago) by millert
Branch: MAIN
Changes since 1.22: +3 -5 lines
Diff to previous 1.22 (colored)

Zero p_schedflags in struct struct kinfo_proc2 for the non-sysctl case.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 13 23:01:09 2004 UTC (20 years ago) by deraadt
Branch: MAIN
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

temporary tree building workaround until millert shows  up

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 7 03:47:46 2004 UTC (20 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.20: +3 -5 lines
Diff to previous 1.20 (colored)

Sync PTRTOINT64 w/ kernel version and remove some unused vars.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 7 02:16:33 2004 UTC (20 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.19: +333 -38 lines
Diff to previous 1.19 (colored)

Implement kvm_getproc2(), kvm_getargv2() and kvm_getenvv2() that use
the KERN_PROC2 sysctl.  Based on changes from NetBSD but uses our
own kvm_arg_sysctl().

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 17 20:25:18 2003 UTC (20 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.18: +4 -3 lines
Diff to previous 1.18 (colored)

Zero nlist array before using; fixes a bug in the error condition
when the corefile is not a valid executable.  otto@ OK

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 6 21:08:05 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Remove some double semicolons (hmm, do two semis equal a maxi?).
I've skipped the GNU stuff for now.  From Patrick Latifi.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jun 2 20:18:41 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.16: +3 -7 lines
Diff to previous 1.16 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jun 20 17:16:56 2002 UTC (21 years, 11 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.15: +22 -24 lines
Diff to previous 1.15 (colored)

Redo the logic in kvm_arg_sysctl for resizing the buffer.
 - actually use the value we've just reallocated.
 - Don't return success just because the error wasn't ENOMEM (doh!).

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 8 22:32:36 2002 UTC (22 years ago) by art
Branch: MAIN
Changes since 1.14: +54 -2 lines
Diff to previous 1.14 (colored)

If possible get arg and env information with sysctl.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 17 19:42:25 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.13: +8 -10 lines
Diff to previous 1.13 (colored)

Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)

Revision 1.13 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:26 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 13 08:16:00 2001 UTC (22 years, 6 months ago) by hugh
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Reorder new includes. art@ says ok.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 5 01:01:58 2001 UTC (22 years, 6 months ago) by art
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

Must include machine/pmap.h and machine/vmparam.h here now
that uvm headers won't do that for us.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 6 19:17:36 2001 UTC (22 years, 7 months ago) by art
Branch: MAIN
Changes since 1.9: +2 -4 lines
Diff to previous 1.9 (colored)

Adapt to new uvm/ includes.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 5 23:04:35 2001 UTC (22 years, 7 months ago) by art
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

No need to pull in vm/vm_param.h in any of these files.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 27 06:16:45 2001 UTC (22 years, 11 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.7: +2 -199 lines
Diff to previous 1.7 (colored)

UVM is no longer an option

Revision 1.7 / (download) - annotate - [select for diffs], Fri May 18 09:08:38 2001 UTC (23 years ago) by art
Branch: MAIN
Changes since 1.6: +10 -18 lines
Diff to previous 1.6 (colored)

Convert lseek/{read,write} pairs into pread and pwrite.
from my todo list, work by Jonathon Fletcher <jonathon.fletcher@pobox.com>.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 18 17:59:54 2000 UTC (23 years, 11 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.5: +7 -2 lines
Diff to previous 1.5 (colored)

Mark kernel threads as system processes.  Make ps hide them by default,
show them with -k.  Do not try to show RSS based values for them as they
mess up column alignment.  vmstat -f now shows kernel threads separately
from rforks too.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 22 12:54:45 1999 UTC (24 years, 11 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.4: +137 -32 lines
Diff to previous 1.4 (colored)

UVM support + some cleanup

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 26 16:46:33 1997 UTC (27 years, 3 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Switch alpha from libkvm.old to libkvm with code from NetBSD.
%x -> %lx format fixes from me.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 23 16:43:08 1996 UTC (27 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +14 -1 lines
Diff to previous 1.2 (colored)

use psstrings sysctl

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 5 14:57:42 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +7 -0 lines
Diff to previous 1.1 (colored)

sync with 0430

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:42:44 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:42:44 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.