OpenBSD CVS

CVS log for src/lib/libkvm/kvm_open.3


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18 / (download) - annotate - [select for diffs], Sat Apr 4 18:53:18 2015 UTC (9 years, 2 months ago) by jca
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, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, HEAD
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

The swapfile argument is also const char *.

Found a while ago when porting cpulimit.

ok deraadt@

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 21 03:15:45 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

obvious .Pa fixes; found with mandocdb(8)

Revision 1.16 / (download) - annotate - [select for diffs], Wed Aug 14 08:39:25 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.15: +8 -4 lines
Diff to previous 1.15 (colored)

some Bx/Ox conversion;
From: Jan Stary

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 5 03:40:26 2013 UTC (11 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarze

Revision 1.14 / (download) - annotate - [select for diffs], Thu Aug 18 13:01:26 2011 UTC (12 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.13: +3 -6 lines
Diff to previous 1.13 (colored)

where a man page has multiple links, only reference that page
once in SEE ALSO; also prefer Xr to Fn where relevant;

diff started by Martin Pelikan

Revision 1.13 / (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_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.12: +3 -6 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Thu May 31 19:19:35 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

convert to new .Dd format;

Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 31 03:09:35 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

kvm_openfiles() should take int flag, not unsigned

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 14 22:39:56 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsigned
int instead of int; millert ok

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 2 20:18:41 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 2 09:56:20 2003 UTC (21 years ago) by jmc
Branch: MAIN
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

section reorder;

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 8 22:31:24 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.6: +5 -1 lines
Diff to previous 1.6 (colored)

Add a flag - KVM_NO_FILES which tells kvm_openfiles to not
open any files, just return an kvm handle that we can use to some
of the functions.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 4 15:29:56 2000 UTC (24 years, 3 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.5: +29 -17 lines
Diff to previous 1.5 (colored)

Various cleanups and mdoc'ing.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 9 13:35:25 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.4: +11 -11 lines
Diff to previous 1.4 (colored)

- remove all trailing whitespace
     * except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
  working on some scripts for fixing formatting errors in mdoc'd man pages

Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 7 14:22:25 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

when using `-' as a negative sign, escape it with a backslash so troff knows
it's not supposed to be a hyphen/dash

Revision 1.3 / (download) - annotate - [select for diffs], Mon Aug 24 05:46:27 1998 UTC (25 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

mention _PATH_KSYMS

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 5 14:57:35 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +3 -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, 7 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, 7 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.