OpenBSD CVS

CVS log for src/sys/kern/subr_prf.c


[BACK] Up to [local] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.106 / (download) - annotate - [select for diffs], Sun Aug 14 01:58:28 2022 UTC (21 months, 4 weeks ago) by jsg
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, HEAD
Changes since 1.105: +1 -5 lines
Diff to previous 1.105 (colored)

remove unneeded includes in sys/kern
ok mpi@ miod@

Revision 1.105 / (download) - annotate - [select for diffs], Thu Jan 20 17:11:30 2022 UTC (2 years, 4 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.104: +5 -5 lines
Diff to previous 1.104 (colored)

snprintf(9) allows NULL string if size is 0.  But doing NULL pointer
arithmetic is undefined behavior.  Check that size is positive
before adding to pointer.  While there, use NUL char for string
termination.
found by kubsan; joint work with tobhe@; OK millert@

Revision 1.104 / (download) - annotate - [select for diffs], Wed Jun 2 00:39:25 2021 UTC (3 years ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.103: +36 -19 lines
Diff to previous 1.103 (colored)

kernel: introduce per-CPU panic(9) message buffers

Add a 512-byte buffer (ci_panicbuf) to each cpu_info struct on each
platform for use by panic(9).  The first panic on a given CPU writes
its message to this buffer.  Subsequent panics on a given CPU print
the panic message to the console but do not modify the buffer.  This
aids debugging in two cases:

- If 2+ CPUs panic simultaneously there is no risk of garbled messages
  in the panic buffer.

- If a CPU panics and then the operator causes a second panic while
  using ddb(4), the operator can still recall the first failure on
  a particular CPU.

Misc. changes to support this bigger change:

- Set panicstr atomically to identify the first CPU to reach panic().

- Tweak db_show_panic_cmd() to print all panic messages across all
  CPUs.  Prefix the first panic with an asterisk ('*').

- Prefer db_printf() to printf() during a panic if we have it.
  Apparently it disturbs less global state.

- On amd64, tweak fault() to write the local panic buffer.  This needs
  more work.

Prompted by bluhm@ and deraadt@.  Mostly written by deraadt@.
Discussed with bluhm@, deraadt@ and kettenis@.

Borne from a discussion on tech@ about making panic(9) more MP-safe:

https://marc.info/?l=openbsd-tech&m=162086462316143&w=2

ok kettenis@, visa@, bluhm@, deraadt@

Revision 1.103 / (download) - annotate - [select for diffs], Sun May 16 15:10:20 2021 UTC (3 years ago) by deraadt
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

panic does not require a \n at the end.  When one is provided, it looks wrong.

Revision 1.102 / (download) - annotate - [select for diffs], Sat Nov 28 17:53:05 2020 UTC (3 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.101: +3 -13 lines
Diff to previous 1.101 (colored)

Rather than skipping %[sizearg]n in the kernel, panic when it is encountered.
printf(9) already lacked documentation and needs no change.

Revision 1.101 / (download) - annotate - [select for diffs], Fri Jul 24 14:27:47 2020 UTC (3 years, 10 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.100: +13 -3 lines
Diff to previous 1.100 (colored)

Implement BOOT_QUIET option that supresses kernel printf output to the
console.  When the kernel panics, print console output is enabled such
that we see those messages.  Use this option for the powerpc64 boot
kernel.

ok visa@, deraadt@

Revision 1.100 / (download) - annotate - [select for diffs], Mon Jul 20 17:55:28 2020 UTC (3 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.99: +12 -12 lines
Diff to previous 1.99 (colored)

fix macro indent

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jul 20 23:06:51 2019 UTC (4 years, 10 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.98: +3 -13 lines
Diff to previous 1.98 (colored)

Get rid of `ddb_is_active' instead use `db_active'.

From Christian Ludwig <christian_ludwig at genua dot de>

ok visa@

Revision 1.98 / (download) - annotate - [select for diffs], Wed May 8 16:22:42 2019 UTC (5 years, 1 month ago) by anton
Branch: MAIN
Changes since 1.97: +5 -1 lines
Diff to previous 1.97 (colored)

Add a compile-time option called SPLASSERT_WATCH which changes the
default value of kern.splassert to 3, i.e. enter ddb on splassert()
failure. Will be used during fuzzing.

ok mpi@ visa@

Revision 1.97 / (download) - annotate - [select for diffs], Mon Oct 29 14:29:44 2018 UTC (5 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.96: +0 -1 lines
Diff to previous 1.96 (colored)

irrelevant part snuck into previous commit; from semarie

Revision 1.96 / (download) - annotate - [select for diffs], Sun Oct 28 22:42:33 2018 UTC (5 years, 7 months ago) by beck
Branch: MAIN
Changes since 1.95: +2 -1 lines
Diff to previous 1.95 (colored)

Correctly deal with upper level unveil's by keeping track of the covering
unveil for each unveil in the process at unveil() time, and refactoring the
handling of current directory and ISDOTDOT to be much more sensible.
Worked out at ns2k18 with guenther@.
ok deraadt@

Revision 1.95 / (download) - annotate - [select for diffs], Tue Apr 10 09:24:56 2018 UTC (6 years, 2 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.94: +11 -5 lines
Diff to previous 1.94 (colored)

Do not call logwakeup(), ending in wakeup_n(), while holding a mutex.

Prevents a lock ordering issue between SCHED_LOCK() and printf(9)'s
mutex.  While here protect all kprintf() calls ending on the console
with the mutex.

ok kettenis@, visa@

Revision 1.94 / (download) - annotate - [select for diffs], Tue Mar 20 15:45:32 2018 UTC (6 years, 2 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.93: +3 -1 lines
Diff to previous 1.93 (colored)

Do not panic from ddb(4) when a lock requirement isn't fulfilled.

Extend the logic already present for panic() to any DDB-related
operation such that if ddb(4) is entered because of a fault or
other trap it is still possible to call 'boot reboot'.

While here stop printing splassert() messages as well, to not fill
the buffer.

ok visa@, deraadt@

Revision 1.93 / (download) - annotate - [select for diffs], Fri Jan 5 11:10:25 2018 UTC (6 years, 5 months ago) by pirofti
Branch: MAIN
Changes since 1.92: +2 -1 lines
Diff to previous 1.92 (colored)

Show uvm_fault and trace when typing show panic on a page fault'd kernel

Currently there is only support for amd64, if this change settles
I will add support for the rest of the architectures.

OK kettenis@.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:00 2017 UTC (6 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.91: +1 -2 lines
Diff to previous 1.91 (colored)

Delete unnecessary <sys/file.h> includes

ok millert@ krw@

Revision 1.91 / (download) - annotate - [select for diffs], Sun Apr 30 16:45:46 2017 UTC (7 years, 1 month ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

Rename Debugger() into db_enter().

Using a name with the 'db_' prefix makes it invisible from the dynamic
profiler.

ok deraadt@, kettenis@, visa@

Revision 1.90 / (download) - annotate - [select for diffs], Sun Apr 30 13:04:49 2017 UTC (7 years, 1 month ago) by mpi
Branch: MAIN
Changes since 1.89: +1 -7 lines
Diff to previous 1.89 (colored)

Unifdef KGDB.

It doesn't compile und hasn't been working during the last decade.

ok kettenis@, deraadt@

Revision 1.89 / (download) - annotate - [select for diffs], Thu Apr 27 11:48:08 2017 UTC (7 years, 1 month ago) by mpi
Branch: MAIN
Changes since 1.88: +1 -5 lines
Diff to previous 1.88 (colored)

Unifdef KADB.

ok deraadt@

Revision 1.88 / (download) - annotate - [select for diffs], Thu Apr 20 14:13:00 2017 UTC (7 years, 1 month ago) by visa
Branch: MAIN
Changes since 1.87: +3 -2 lines
Diff to previous 1.87 (colored)

Tweak lock inits to make the system runnable with witness(4)
on amd64 and i386.

Revision 1.87 / (download) - annotate - [select for diffs], Tue May 17 23:43:47 2016 UTC (8 years ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.86: +1 -2 lines
Diff to previous 1.86 (colored)

Allow sendsyslog(2) with LOG_CONS even when /dev/console has not
been opened during init(8).  Only log with cnwrite() if cn_devvp
exists, otherwise use cnputc() as fallback.  While there move extern
declarations to dev/cons.h.
input and OK deraadt@

Revision 1.86 / (download) - annotate - [select for diffs], Tue Sep 29 03:19:24 2015 UTC (8 years, 8 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.85: +1 -2 lines
Diff to previous 1.85 (colored)

Delete the final, inscrutable NOSTRICT and VARARGS lint comments

ok millert@

Revision 1.85 / (download) - annotate - [select for diffs], Sat Mar 14 03:38:50 2015 UTC (9 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.84: +1 -2 lines
Diff to previous 1.84 (colored)

Remove some includes include-what-you-use claims don't
have any direct symbols used.  Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@

Revision 1.84 / (download) - annotate - [select for diffs], Tue Jan 13 10:07:58 2015 UTC (9 years, 4 months ago) by mpf
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

Add dmesg -s support, to view the output of rc(8) system startup messages.
Help and feedback by Theo and Miod.
OK deraadt@, manpage-ok jmc@

Revision 1.83 / (download) - annotate - [select for diffs], Sun Jul 13 23:49:40 2014 UTC (9 years, 11 months ago) by uebayasi
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.82: +1 -2 lines
Diff to previous 1.82 (colored)

KASSERTMSG(9): New kernel assertion with message

KASSERT() is annoying as it only prints the expression as a string.  If you
(developers) want to know a little more information, you have to do:

	#ifdef DIAGNOSTIC
		if (bad)
			panic(...);
	#endif

KASSERTMSG() replaces it into a single line:

		KASSERTMSG(!bad, ...);

Taken from NetBSD.

(There is a concern that KASSERT() messages are too long; consume more memory,
and not friendly for small monitors.  This have to be considered & revisited
later.)

"Like" from henning@
Man page review & advices from jmc@ and schwarze@

Revision 1.82 / (download) - annotate - [select for diffs], Fri Jul 11 14:36:44 2014 UTC (9 years, 11 months ago) by uebayasi
Branch: MAIN
Changes since 1.81: +3 -2 lines
Diff to previous 1.81 (colored)

reboot(9): Add MI reboot entry function

Now, for kernel to "reboot" (reboot, halt, or shutdown), MD boot(9) is called
in some places.  This change introduces a new MI function reboot(9) which is
simply a wrapper to call MD boot(9).

OK kettenis@ deraadt@

Revision 1.81 / (download) - annotate - [select for diffs], Thu Dec 12 21:00:09 2013 UTC (10 years, 6 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.80: +13 -6 lines
Diff to previous 1.80 (colored)

Add db_vprintf(), and then use it in ACPI's db_disprint() instead of
formatting into a local buffer.

ok miod@

Revision 1.80 / (download) - annotate - [select for diffs], Mon Nov 25 00:33:21 2013 UTC (10 years, 6 months ago) by djm
Branch: MAIN
Changes since 1.79: +7 -6 lines
Diff to previous 1.79 (colored)

disable %n in printf(9); there is no need for it in the kernel besides
making format-string vulnerabilities exploitable; inspired by similar
change made by Kees Cook to Linux; ok deraadt@

Revision 1.79 / (download) - annotate - [select for diffs], Wed Aug 7 22:06:48 2013 UTC (10 years, 10 months ago) by bluhm
Branch: MAIN
Changes since 1.78: +4 -1 lines
Diff to previous 1.78 (colored)

After a panic, do not fill up the dmesg with splassert messages.
They scroll away the important information.  Disable splassert in
panic().
OK deraadt@ uebayasi@ sthen@

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jul 3 15:17:24 2013 UTC (10 years, 11 months ago) by sf
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.77: +4 -1 lines
Diff to previous 1.77 (colored)

add support for %td for ptrdiff_t in kernel printf

this also adds support in gcc 4.x kprintf format checks

ok kettenis@

Revision 1.77 / (download) - annotate - [select for diffs], Thu Mar 28 16:55:25 2013 UTC (11 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.76: +1 -2 lines
Diff to previous 1.76 (colored)

do not include machine/cpu.h from a .c file; it is the responsibility of
.h files to pull it in, if needed
ok tedu

Revision 1.76 / (download) - annotate - [select for diffs], Sun Apr 3 16:46:19 2011 UTC (13 years, 2 months ago) by drahn
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, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.75: +14 -3 lines
Diff to previous 1.75 (colored)

Allow kernel printfs to go to console if in ddb instead of being redirected
to xconsole. ok deraadt@ guenther@

Revision 1.75 / (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.74: +9 -7 lines
Diff to previous 1.74 (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.74 / (download) - annotate - [select for diffs], Fri Jun 27 17:23:24 2008 UTC (15 years, 11 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.73: +1 -8 lines
Diff to previous 1.73 (colored)

Do not disallow kernel crash dumps on panic if swap encryption is enabled,
as dumpsys() will now clear the sensitive information.

ok djm@ (and dumpsys changes too)

Revision 1.73 / (download) - annotate - [select for diffs], Sun Dec 30 11:54:55 2007 UTC (16 years, 5 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.72: +3 -10 lines
Diff to previous 1.72 (colored)

Remove unused variable consintr.  ok mbalmer

Revision 1.72 / (download) - annotate - [select for diffs], Mon Oct 8 04:15:10 2007 UTC (16 years, 8 months ago) by ray
Branch: MAIN
Changes since 1.71: +9 -1 lines
Diff to previous 1.71 (colored)

Introduce %z for printf(9), like %z for printf(3).  Used to print
size_t and ssize_t variables.

OK miod and cthulhu.

Revision 1.71 / (download) - annotate - [select for diffs], Sat Sep 1 11:54:49 2007 UTC (16 years, 9 months ago) by miod
Branch: MAIN
Changes since 1.70: +2 -66 lines
Diff to previous 1.70 (colored)

Remove support for ddb-only %r, %z, and the ddb-specific handling of %n from
the kernel printf. This will allow support for the real %z in the near future.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Apr 26 20:28:25 2007 UTC (17 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

enable splassert (1) by default; requested and ok many

Revision 1.69 / (download) - annotate - [select for diffs], Mon Dec 11 05:08:18 2006 UTC (17 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

allow bit 32 to be printed; bug spotted and fix tested by dlg

Revision 1.68 / (download) - annotate - [select for diffs], Fri Nov 17 09:21:52 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

missing punctuation in comments; from bret lambert

Revision 1.67 / (download) - annotate - [select for diffs], Thu Jul 6 18:14:49 2006 UTC (17 years, 11 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

Make the ddb.log sysctl available as an in-ddb variable, $log, for consistency.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jun 1 23:17:23 2006 UTC (18 years ago) by jason
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

the bit shifted should be a type at least as wide as the comparison (u_quad_t)

Revision 1.65 / (download) - annotate - [select for diffs], Mon May 29 20:33:15 2006 UTC (18 years ago) by jason
Branch: MAIN
Changes since 1.64: +24 -6 lines
Diff to previous 1.64 (colored)

extend %b support so that it will allow for arguments with more than 32 bits.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Dec 27 18:35:34 2005 UTC (18 years, 5 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.63: +5 -1 lines
Diff to previous 1.63 (colored)

tprintf() is now only necessary for NFS, so do not compile it for kernels
which like NFSSERVER and NFSCLIENT.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Dec 9 09:09:52 2005 UTC (18 years, 6 months ago) by jsg
Branch: MAIN
Changes since 1.62: +3 -6 lines
Diff to previous 1.62 (colored)

ansi and deregister. No binary change.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Sep 27 12:26:13 2005 UTC (18 years, 8 months ago) by grunk
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

typo in comment: sprintf -> snprintf, ok markus@

Revision 1.61 / (download) - annotate - [select for diffs], Thu Apr 14 21:58:50 2005 UTC (19 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.60: +3 -17 lines
Diff to previous 1.60 (colored)

Try to start log message buffer on a new line. Helps install scripts avoid
detecting phantom devices when scanning dmesg output.

Suggested by miod@, ok deraadt@.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jul 20 20:19:52 2004 UTC (19 years, 10 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.59: +10 -48 lines
Diff to previous 1.59 (colored)

protect printf with a mutex instead of SIMPLELOCK.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Jun 13 21:49:26 2004 UTC (20 years ago) by niklas
Branch: MAIN
Changes since 1.58: +52 -1 lines
Diff to previous 1.58 (colored)

debranch SMP, have fun

Revision 1.26.2.19 / (download) - annotate - [select for diffs], Sat Jun 5 23:18:25 2004 UTC (20 years ago) by tedu
Branch: SMP
Changes since 1.26.2.18: +2 -1 lines
Diff to previous 1.26.2.18 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

few fixes to make non-smp compile

Revision 1.26.2.18 / (download) - annotate - [select for diffs], Thu Feb 19 10:56:38 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.26.2.17: +7 -27 lines
Diff to previous 1.26.2.17 (colored) to branchpoint 1.26 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.58 / (download) - annotate - [select for diffs], Sat Jan 3 14:08:53 2004 UTC (20 years, 5 months ago) by espie
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Dec 21 15:30:21 2003 UTC (20 years, 5 months ago) by miod
Branch: MAIN
Changes since 1.56: +1 -24 lines
Diff to previous 1.56 (colored)

Kill non-standard kernel printf %: braindead extension for good.
ok markus@ drahn@

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jun 28 01:52:17 2003 UTC (20 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.55: +6 -3 lines
Diff to previous 1.55 (colored)

option to log ddb output to kernel message buffer, via sysctl ddb.log
ok deraadt@ henric@ djm@

Revision 1.26.2.17 / (download) - annotate - [select for diffs], Sat Jun 7 11:03:40 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.26.2.16: +17 -82 lines
Diff to previous 1.26.2.16 (colored) to branchpoint 1.26 (colored)

Sync SMP branch to -current

Revision 1.55 / (download) - annotate - [select for diffs], Mon Jun 2 23:28:06 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.54: +2 -6 lines
Diff to previous 1.54 (colored)

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

Revision 1.54 / (download) - annotate - [select for diffs], Thu May 29 14:41:53 2003 UTC (21 years ago) by ho
Branch: MAIN
Changes since 1.53: +7 -1 lines
Diff to previous 1.53 (colored)

Add kern.splassert=3. deraadt@ ok.

Revision 1.26.2.16 / (download) - annotate - [select for diffs], Thu May 29 14:35:58 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.26.2.15: +2 -2 lines
Diff to previous 1.26.2.15 (colored) to branchpoint 1.26 (colored)

The 'break' should be outside #ifdef DDB here.

Revision 1.53 / (download) - annotate - [select for diffs], Tue May 27 21:03:49 2003 UTC (21 years ago) by henning
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

typos in comments; From: Bengt Wessling <bengt@lemuria.org>, 10x

Revision 1.26.2.15 / (download) - annotate - [select for diffs], Sun May 25 19:26:49 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.26.2.14: +7 -1 lines
Diff to previous 1.26.2.14 (colored) to branchpoint 1.26 (colored)

Add kern.splassert = 3, which works like level 2 but also drops into the
debugger. niklas@ ok.

Revision 1.52 / (download) - annotate - [select for diffs], Thu May 22 20:42:43 2003 UTC (21 years ago) by deraadt
Branch: MAIN
Changes since 1.51: +1 -43 lines
Diff to previous 1.51 (colored)

remove sprintf() and vsprintf().  nothing in the kernel needs it.  if
some module does -- tough -- they can rewrite it using the safer versions.

Revision 1.51 / (download) - annotate - [select for diffs], Wed May 21 16:17:37 2003 UTC (21 years ago) by art
Branch: MAIN
Changes since 1.50: +5 -4 lines
Diff to previous 1.50 (colored)

Match vprintf prototype to userland and standards.

deraadt@ ok

Revision 1.50 / (download) - annotate - [select for diffs], Tue May 20 20:47:12 2003 UTC (21 years ago) by jason
Branch: MAIN
Changes since 1.49: +13 -33 lines
Diff to previous 1.49 (colored)

ansi and de-register; ok millert

Revision 1.37.2.4 / (download) - annotate - [select for diffs], Mon May 19 22:31:57 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.37.2.3: +38 -36 lines
Diff to previous 1.37.2.3 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync

Revision 1.26.2.14 / (download) - annotate - [select for diffs], Sun May 18 18:16:45 2003 UTC (21 years ago) by niklas
Branch: SMP
Changes since 1.26.2.13: +21 -1 lines
Diff to previous 1.26.2.13 (colored) to branchpoint 1.26 (colored)

Go back to defining simplelocks as noops, even if MULTIPROCESSOR.  Instead use
a new real simple recursive-lock capable lock implementation for the few
necessary locks (kernel, scheduler, tlb shootdown, printf and ddb MP).
This because we cannot trust the old fine-grained locks spread out all over
our kernel, and not really tested.

Revision 1.26.2.13 / (download) - annotate - [select for diffs], Fri May 16 00:29:43 2003 UTC (21 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.26.2.12: +2 -2 lines
Diff to previous 1.26.2.12 (colored) to branchpoint 1.26 (colored)

merge the trunk so we will get the genfs and locking fixes

Revision 1.26.2.12 / (download) - annotate - [select for diffs], Thu May 15 04:08:02 2003 UTC (21 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.26.2.11: +2 -2 lines
Diff to previous 1.26.2.11 (colored) to branchpoint 1.26 (colored)

Biglock!  Most of the logic
comes from NetBSD.
Also a lot of fixes, enough to get a dual cpu machine actually run MP for a
very short while (we are just talking about seconds) before starving out one
of the cpus.  More coming very soon.

Revision 1.26.2.11 / (download) - annotate - [select for diffs], Tue May 13 19:21:28 2003 UTC (21 years, 1 month ago) by ho
Branch: SMP
Changes since 1.26.2.10: +12 -7 lines
Diff to previous 1.26.2.10 (colored) to branchpoint 1.26 (colored)

Sync the SMP branch to -current. This includes moving to ELF.

Revision 1.49 / (download) - annotate - [select for diffs], Tue May 13 02:09:46 2003 UTC (21 years, 1 month ago) by jason
Branch: MAIN
CVS Tags: UBC_SYNC_A
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Kill a bunch more commons (very few left =)

Revision 1.48 / (download) - annotate - [select for diffs], Sat May 10 21:44:53 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.47: +7 -2 lines
Diff to previous 1.47 (colored)

warn for strcpy|strcat|sprintf|vsprintf; ok art dhartmei pval, and either henning or pb, i cannot tell which it was

Revision 1.47 / (download) - annotate - [select for diffs], Tue May 6 12:22:08 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.46: +6 -6 lines
Diff to previous 1.46 (colored)

use snprintf

Revision 1.26.2.10 / (download) - annotate - [select for diffs], Fri Apr 4 14:59:13 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.26.2.9: +31 -1 lines
Diff to previous 1.26.2.9 (colored) to branchpoint 1.26 (colored)

MP lock around printf, so printf debugging execution on other CPUs is safe

Revision 1.26.2.9 / (download) - annotate - [select for diffs], Fri Mar 28 00:41:27 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.26.2.8: +90 -35 lines
Diff to previous 1.26.2.8 (colored) to branchpoint 1.26 (colored)

Sync the SMP branch with 3.3

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jan 13 18:32:03 2003 UTC (21 years, 5 months ago) by weingart
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.45: +26 -29 lines
Diff to previous 1.45 (colored)

Fix kernel snprintf function(s) to be like
userland in return values.

deraadt@ ok.

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:44 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.37.2.2: +38 -9 lines
Diff to previous 1.37.2.2 (colored) to branchpoint 1.37 (colored)

sync to -current

Revision 1.45 / (download) - annotate - [select for diffs], Mon Oct 14 20:15:23 2002 UTC (21 years, 8 months ago) by art
Branch: MAIN
CVS Tags: UBC_SYNC_B
Changes since 1.44: +38 -9 lines
Diff to previous 1.44 (colored)

Stuff needed for gcc 3.X.

gcc has the nice feature of optimizing various common constructs into
more optimal ones, inlining various calls, etc. The problem with that
is that it assumes that we have a proper libc backing us. We really
don't want to loose all those features by defining -ffreestanding and
right now there is no way to just disable some of them, so we have to
make the kernel more libc-like in some aspects to make it work with
newer gcc.

rename putchar to kputchar because it was nothing like libc putchar (and
only internal to this function). Implement dummy putchar and puts (not
prototyped outside this file).

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Tue Jun 11 03:29:40 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.37.2.1: +33 -70 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored)

Sync UBC branch to -current

Revision 1.44 / (download) - annotate - [select for diffs], Mon May 20 22:16:36 2002 UTC (22 years ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.43: +8 -4 lines
Diff to previous 1.43 (colored)

Add one more level to the kern.splassert sysctl.
0 - do nothing.
1 - small message on error (function name and the levels).
2 - big message on error (function name, levels and traceback (if possible)).
3 - panic.
After suggestion from deraadt@.

Revision 1.43 / (download) - annotate - [select for diffs], Sat May 18 18:33:42 2002 UTC (22 years ago) by art
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

dump the stack on splassert failure (XXX - need some kind of
rate limiting).

Revision 1.42 / (download) - annotate - [select for diffs], Sat May 18 18:24:21 2002 UTC (22 years ago) by art
Branch: MAIN
Changes since 1.41: +3 -1 lines
Diff to previous 1.41 (colored)

If ddb.panic is disabled, print the stack trace before dumping.

Revision 1.41 / (download) - annotate - [select for diffs], Wed May 15 23:17:53 2002 UTC (22 years, 1 month ago) by art
Branch: MAIN
Changes since 1.40: +24 -1 lines
Diff to previous 1.40 (colored)

Implement splassert() for sparc - a tool for finding problems related to
spl handling (already found 3 problems).

Man page in a few seconds.
deraadt@ ok.

Revision 1.26.2.8 / (download) - annotate - [select for diffs], Thu Mar 28 11:43:04 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.26.2.7: +3 -69 lines
Diff to previous 1.26.2.7 (colored) to branchpoint 1.26 (colored)

Merge in -current from about a week ago

Revision 1.40 / (download) - annotate - [select for diffs], Fri Mar 15 18:19:52 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.39: +1 -67 lines
Diff to previous 1.39 (colored)

Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things
the ANSI way.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Mar 14 01:27:04 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

First round of __P removal in sys

Revision 1.26.2.7 / (download) - annotate - [select for diffs], Wed Mar 6 02:13:23 2002 UTC (22 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.26.2.6: +1 -0 lines
Diff to previous 1.26.2.6 (colored) to branchpoint 1.26 (colored)

Merge in trunk

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Thu Jan 31 22:55:41 2002 UTC (22 years, 4 months ago) by niklas
Branch: UBC
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored)

Merge in -current, builds on i386, otherwise untested

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jan 23 15:46:48 2002 UTC (22 years, 4 months ago) by art
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored)

Allocate rusage, pgrp, ucred and session with pool.

Revision 1.26.2.6 / (download) - annotate - [select for diffs], Wed Dec 5 01:02:39 2001 UTC (22 years, 6 months ago) by niklas
Branch: SMP
Changes since 1.26.2.5: +10 -18 lines
Diff to previous 1.26.2.5 (colored) to branchpoint 1.26 (colored)

Merge in -current

Revision 1.37 / (download) - annotate - [select for diffs], Sun Dec 2 02:03:13 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: UBC_BASE
Branch point for: UBC
Changes since 1.36: +6 -13 lines
Diff to previous 1.36 (colored)

remove some XXX comments

Revision 1.36 / (download) - annotate - [select for diffs], Thu Nov 15 07:57:29 2001 UTC (22 years, 7 months ago) by niklas
Branch: MAIN
Changes since 1.35: +5 -6 lines
Diff to previous 1.35 (colored)

remove statics

Revision 1.26.2.5 / (download) - annotate - [select for diffs], Wed Oct 31 03:26:29 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.26.2.4: +7 -6 lines
Diff to previous 1.26.2.4 (colored) to branchpoint 1.26 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.35 / (download) - annotate - [select for diffs], Wed Sep 5 22:32:39 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.34: +4 -3 lines
Diff to previous 1.34 (colored)

make sure that va_start() has matching va_end()

Revision 1.34 / (download) - annotate - [select for diffs], Wed Sep 5 19:22:23 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

use %ll instead of %q

Revision 1.26.2.4 / (download) - annotate - [select for diffs], Wed Jul 4 10:48:32 2001 UTC (22 years, 11 months ago) by niklas
Branch: SMP
Changes since 1.26.2.3: +32 -32 lines
Diff to previous 1.26.2.3 (colored) to branchpoint 1.26 (colored)

Merge in -current from two days ago in the SMP branch.
As usual with merges, they do not indicate progress, so do not hold
your breath for working SMP, and do not mail me and ask about the
state of it.  It has not changed.  There is work ongoing, but very, very
slowly.  The commit is done in parts as to not lock up the tree in too
big chunks at a time.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jun 27 04:49:46 2001 UTC (22 years, 11 months ago) by art
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

remove old vm

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jun 22 14:14:09 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.31: +30 -30 lines
Diff to previous 1.31 (colored)

KNF

Revision 1.26.2.3 / (download) - annotate - [select for diffs], Mon May 14 22:32:43 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.26.2.2: +9 -2 lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.31 / (download) - annotate - [select for diffs], Thu Feb 22 19:33:22 2001 UTC (23 years, 3 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

avoid sign extension for %b

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 25 18:45:19 2000 UTC (23 years, 11 months ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.29: +8 -1 lines
Diff to previous 1.29 (colored)

disable automatic crashdump when swap encryption is on

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Fri Mar 24 09:09:25 2000 UTC (24 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.26.2.1: +16 -0 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored)

Sync with -current

Revision 1.29 / (download) - annotate - [select for diffs], Mon Mar 13 04:05:15 2000 UTC (24 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Get rid of leading NULs in /kern/msgbuf.  If the msgbuf modified in between
reads at just the right time is is possible to get duplicate output but
in practice this is extremely rare.  Joint effort with Theo.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Mar 2 10:50:29 2000 UTC (24 years, 3 months ago) by art
Branch: MAIN
Changes since 1.27: +16 -1 lines
Diff to previous 1.27 (colored)

Add an option DDB_SAFE_CONSOLE that defaults db_console to 1.
In many cases, setting db_console in /etc/rc is too late.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Thu Mar 2 07:04:40 2000 UTC (24 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.26: +8 -4 lines
Diff to previous 1.26 (colored)

Sync with -current

Revision 1.27 / (download) - annotate - [select for diffs], Tue Feb 22 19:28:04 2000 UTC (24 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.26: +8 -4 lines
Diff to previous 1.26 (colored)

enlarge msgbuf, somewhat line netbsd did

Revision 1.26 / (download) - annotate - [select for diffs], Thu Dec 2 00:23:35 1999 UTC (24 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE
Branch point for: SMP
Changes since 1.25: +83 -17 lines
Diff to previous 1.25 (colored)

snprintf in kernel; assar@stacken.kth.se

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jan 11 05:12:23 1999 UTC (25 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

panic prints a newline for you, don't do it in the panic string

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 10 01:45:31 1999 UTC (25 years, 5 months ago) by niklas
Branch: MAIN
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored)

NUL terminate the buffer in vsprintf

Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 4 18:36:32 1998 UTC (26 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

default to console ddb off

Revision 1.22 / (download) - annotate - [select for diffs], Thu Feb 5 16:49:29 1998 UTC (26 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.21: +4 -3 lines
Diff to previous 1.21 (colored)

rename ddb.panic_ddb, and add ddb.console. Now you can stop console ddb entry
with a sysctl. There will be architectures and drivers that lack function,
and I trust the maintainers of those will forget to add the code..

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jan 24 17:54:07 1998 UTC (26 years, 4 months ago) by niklas
Branch: MAIN
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

NULL deref

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 21 21:59:38 1998 UTC (26 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +30 -4 lines
Diff to previous 1.19 (colored)

support expanded panicstr; and add vsprintf back

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 29 14:31:16 1997 UTC (26 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +6 -2 lines
Diff to previous 1.18 (colored)

sysctl ddb.panic_ddb; felix@mamba.pond.sub.org

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 28 23:39:28 1997 UTC (26 years, 5 months ago) by niklas
Branch: MAIN
Changes since 1.17: +4 -5 lines
Diff to previous 1.17 (colored)

Do not lose the first char in msgbuf

Revision 1.17 / (download) - annotate - [select for diffs], Tue Nov 4 20:43:26 1997 UTC (26 years, 7 months ago) by chuck
Branch: MAIN
Changes since 1.16: +783 -424 lines
Diff to previous 1.16 (colored)

import torek's vfprintf() from libc [renamed to kprintf and all
floating point stuff removed].

the new kprintf replaces the 3 different (and buggy) versions of
printf that were in the kernel before (kprintf, sprintf, and db_printf),
thus reducing duplicated code by 2/3's.   this fixes (or adds) several
printf formats.

XXX: new kprintf still supports several non-standard '%' formats:
  %: - passes an additional format string and argument list recursively
  %b - used to decode error registers
  %r - int, but print in radix "db_radix" [DDB only]
  %z - 'signed hex' [DDB only]
  %n - unsigned int, but print in radix "db_radix" [DDB only]

note that DDB's "%n" conflicts with standard "%n" which takes the
number of characters written so far and stores it into the integer
indicated by the "int *" pointer arg.  yuck!

while here, add comments for each function explaining what it is
supposed to do.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 1 02:22:59 1997 UTC (26 years, 8 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.15: +64 -19 lines
Diff to previous 1.15 (colored)

added 'q' modifier (64-bit integers) in kernel vsprintf/kprintf

Revision 1.15 / (download) - annotate - [select for diffs], Fri Dec 6 08:08:17 1996 UTC (27 years, 6 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored)

-Wcast-qual cleanup

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 29 04:53:39 1996 UTC (27 years, 6 months ago) by kstailey
Branch: MAIN
Changes since 1.13: +1 -78 lines
Diff to previous 1.13 (colored)

back out bitmask_snprintf()

Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 24 04:29:48 1996 UTC (27 years, 6 months ago) by niklas
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Commented out a def, only referenced in out-commented code

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 24 00:42:04 1996 UTC (27 years, 6 months ago) by kstailey
Branch: MAIN
Changes since 1.11: +78 -1 lines
Diff to previous 1.11 (colored)

added bitmap_snprintf

Revision 1.11 / (download) - annotate - [select for diffs], Sat Oct 19 10:02:49 1996 UTC (27 years, 7 months ago) by niklas
Branch: MAIN
Changes since 1.10: +15 -1 lines
Diff to previous 1.10 (colored)

__assert added, impl from netbsd, however put elsewhere. use it instead
of private versions (one even using the userland header) in if_sn.c

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 28 01:05:48 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

fix vsnprintf return val

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 23 23:54:19 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored)

make printf/addlog return 0, for compat to userland

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 19 23:13:39 1996 UTC (27 years, 10 months ago) by dm
Branch: MAIN
Changes since 1.7: +13 -1 lines
Diff to previous 1.7 (colored)

Fixed NetBSD pr #2633 (douzzer@mit.edu)--Be slightly more reasonable
about something like printf ("bogus format %l");

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 2 06:51:59 1996 UTC (27 years, 11 months ago) by niklas
Branch: MAIN
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)

-Wall & -Wstrict-prototype fixes

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 26 20:39:21 1996 UTC (27 years, 11 months ago) by dm
Branch: MAIN
Changes since 1.5: +28 -10 lines
Diff to previous 1.5 (colored)

expand %d is panicstr

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 2 13:12:20 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

sync syscalls, no sys/cpu.h

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 21 22:27:19 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.3: +7 -11 lines
Diff to previous 1.3 (colored)

partial sync with netbsd 960418, more to come

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 19 16:09:03 1996 UTC (28 years, 1 month ago) by niklas
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

NetBSD 960317 merge

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 29 13:38:52 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.1: +25 -14 lines
Diff to previous 1.1 (colored)

From NetBSD: Merge with NetBSD 960217

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:52:45 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:52:45 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.