The NetBSD Project

CVS log for src/sbin/dmesg/dmesg.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / dmesg

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Aug 6 10:22:22 2022 UTC (2 years, 4 months ago) by rin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
Assert postts only if we really obtained a timestamp.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Aug 6 10:19:44 2022 UTC (2 years, 4 months ago) by rin
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -7 lines
Do not declare unused tstamp for SMALL. NFC.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Aug 6 10:16:18 2022 UTC (2 years, 4 months ago) by rin
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +16 -16 lines
Get back to the statically-allocated tbuf.

If a string is longer than tbuf, it cannot be a timestamp.
Therefore, no need for buffering anymore in this case.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Aug 6 09:42:33 2022 UTC (2 years, 4 months ago) by rin
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Oops, fix thinko in the previous.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Aug 6 09:39:32 2022 UTC (2 years, 4 months ago) by rin
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +34 -9 lines
Do not discard \[.*\] which is not identified as a timestamp.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Aug 6 09:33:56 2022 UTC (2 years, 4 months ago) by rin
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +13 -15 lines
KNF. Do not unnecessarily define ADDC() for SMALL. No binary changes.

Revision 1.33.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:18 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.33.2.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.2.1: +12 -4 lines
Merge changes from current as of 20200406

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 5 09:32:10 2020 UTC (4 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +12 -4 lines
Pull up following revision(s) (requested by tsutsui in ticket #601):

	sbin/dmesg/dmesg.c: revision 1.44
	sbin/dmesg/dmesg.c: revision 1.45

Fix dmesg(8) to preserve leading whitespaces of kernel messages.
Closes PR/54729.

Make recent change build for SMALL builds as well as normal ones.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Jan 1 00:24:52 2020 UTC (4 years, 11 months ago) by kre
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -2 lines

Make recent change build for SMALL builds as well as normal ones.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Dec 31 19:58:56 2019 UTC (4 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +8 -4 lines
Fix dmesg(8) to preserve leading whitespaces of kernel messages.

Closes PR/54729.

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:32 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +109 -28 lines
Sync with HEAD

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Jun 4 11:59:05 2019 UTC (5 years, 6 months ago) by kre
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -3 lines

Delete a redundant (useless) assignment.   NFCI.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Jun 4 11:37:39 2019 UTC (5 years, 6 months ago) by kre
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +8 -10 lines
PR toolchain/54269

Make a SMALL dmesg even smaller.

When compiled -DSMALL, dmesg does nothing at all with the kernel
timestamps (it processes no options to be told what would be the
user's desire) so make it truly do (almost) nothing, rather than
some botched partial processing of them.

The "almost" is that a SMALL dmesg will now ignore spaces at the
beginning of each new message line ... those are (vanishingly)
unlikely to occur, as the kernel puts the timestamp (which starts
with '[' there) - fixing this would have meant even more #ifdef's
as the code that ignores that leading space is the only remaining
thing that (in a SMALL) dmesg looks at the value of the "tstamp"
variable, and if we don't keep some use of it, gcc complains...

These changes affect only SMALL dmesg (as installed on boot
floppies, etc) and have no intended effect on the version that's
installed on a normal (full size) running system.

Revision 1.27.40.4: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:14 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.27.40.3: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.40.3: +11 -4 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Oct 30 19:40:36 2018 UTC (6 years, 1 month ago) by kre
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +11 -4 lines
Correct the 6 second offset issue between the time reported by
dmesg -T and the actual time a message was produced, noted on
current-users by Geoff Wing (Oct 27, 2018).

The size of the offset would depend upon architecture, and processor,
but was the delay from starting the clocks to initialising the time
of day (after mounting root, in case that is needed).

Change the kernel to set boottime to be the time at which the
clocks were started, rather than the time at which it is init'd
(by subtracting the interval between).

Correct dmesg to properly compute the ToD based upon the
boottime (which is a timespec, not a timeval, and has been
since Jan 2009) and the time logged in the message.

Note that this can (rarely) be 1 second earlier than date reports.
This occurs  when the time when the message was logged was actually
in the next second, but the timecounters have not yet processed
the tick, and so the time of the last tick, near the end of the
previous second, is reported instead.   Since times are always
truncated, rather than rounded, it is occasionally possible to
observe that disparity (if you try hard enough).

IOW: sys/kern/subr_prf.c:addtstamp() uses getnanouptime() rather
than nanouptime().

Note in dmesg(8) that -T conversions are gibberish other than
when the message comes from current the running kernel.  (It
could be fixed when -M is used, for messages generated by the
kernel whose corpse is being observed.   But hasn't been...)

Revision 1.27.40.3: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:34 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.27.40.2: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.40.2: +94 -17 lines
Ssync with HEAD

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Sep 20 23:46:42 2018 UTC (6 years, 2 months ago) by kre
Branches: MAIN
CVS tags: pgoyette-compat-1020, pgoyette-compat-0930
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +7 -7 lines

Whitespace.  NFC.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Sep 20 19:50:42 2018 UTC (6 years, 2 months ago) by kre
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -5 lines

Use the locale's numeric radix character ("decimal point") more generally
(in !SMALL versions of dmesg).

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Sep 20 06:06:06 2018 UTC (6 years, 2 months ago) by kre
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -34 lines

Remove #if 0'd code that somehow got mangled in the (somewhat messy)
commit process and ended up being a syntax error...

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Sep 19 23:02:14 2018 UTC (6 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +32 -3 lines
changes from kre@
- pass intmax to fmtydhmsf instead of time_t to avoid extra conversions.
- make -TTT mean "always keep 3 decimal digits of duration precision" (ie:
  always print ms)  (including trailing 0's, even .000 if it happens)
- make -T (all forms) be subject to the locale (obey the radix character)
- don't print ymd, since that would require calendar calculations to get
  right.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Sep 19 22:58:03 2018 UTC (6 years, 2 months ago) by kre
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +9 -7 lines

Allow a third use of -T to force .NNN (always three digits) in -TT
(ISO8601 durations) format for timestamps - that is,not dropping trailing 0's.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Sep 19 22:55:12 2018 UTC (6 years, 2 months ago) by kre
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +13 -9 lines

In -TT mode (ISO8601 duration timestamps) print milliseconds as
decimal fractions of a second (as they should be) rather than integer
milliseconds (ie nnn.1means nnn seconds and 1/10 of a second, not
nnn seconds, and 1 millisecond).   While here convert some inappropriate
time_t usage to intmax_t which works better (int, or long, would probably
work just as well).

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Sep 19 00:15:05 2018 UTC (6 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +83 -11 lines
add -TT printing ISO 8601 duration

Revision 1.27.40.2: download - view: text, markup, annotated - select for diffs
Mon Apr 16 01:59:51 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.27.40.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.40.1: +91 -21 lines
Sync with HEAD, resolve some conflicts

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Apr 14 01:37:34 2018 UTC (6 years, 8 months ago) by kre
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Branch point for: phil-wifi
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +57 -9 lines

Make timestamp reading code adapt to whatever precision (up to
nanoseconds, 9 digits) the kernel happens to send in the timestamps
in log messages.

Output (numeric) timestamps (when produced) are unchanged and always
in microseconds (for now).

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Apr 11 06:41:23 2018 UTC (6 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
Update usage.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Apr 10 22:21:52 2018 UTC (6 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +41 -19 lines
match the linux dmesg flags.

Revision 1.27.40.1: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:12:09 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +92 -28 lines
Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Apr 2 01:15:31 2018 UTC (6 years, 8 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-0407
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -4 lines
eat NUL's first so that the state machine is not altered by them.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Apr 1 19:36:13 2018 UTC (6 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -3 lines
handle log being before timestamp...

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Apr 1 19:31:16 2018 UTC (6 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +89 -26 lines
Handle new timestamp sequences.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Aug 29 14:34:59 2011 UTC (13 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: pgoyette-compat
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -5 lines
Use __dead

Revision 1.25.18.1: download - view: text, markup, annotated - select for diffs
Sun Sep 28 11:17:10 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +4 -4 lines
Sync with HEAD.

Revision 1.25.22.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:28:22 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +4 -4 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jul 20 01:20:22 2008 UTC (16 years, 4 months ago) by lukem
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Oct 16 02:43:19 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa, mjf-devfs2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
c99 initializer

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Sep 5 20:56:41 2005 UTC (19 years, 3 months ago) by dsl
Branches: MAIN
CVS tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +14 -15 lines
Make is worthwhile haveing #ifdef SMALL by making the Makefile set it when
SMALLPROG is defined (eg by src/distrib/commonMakefile.crunch).
Shrink SMALL version even more.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jan 20 15:55:01 2005 UTC (19 years, 10 months ago) by xtraeme
Branches: MAIN
CVS tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -3 lines
Remove main() prototype; WARNS=2

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Aug 7 10:04:13 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -7 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jun 5 06:31:21 2002 UTC (22 years, 6 months ago) by augustss
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
Make it possible to see \ in dmesg.

Revision 1.16.8.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 16:05:22 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +77 -45 lines
Sync w/ netbsd-1-5-base.

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 20 01:49:21 2000 UTC (24 years, 6 months ago) by simonb
Branches: netbsd-1-5
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.1: +209 -0 lines
If "SMALL" is defined don't include kvm support, primarily for install
media.

Revision 1.20.2.1
Tue Jun 20 01:49:20 2000 UTC (24 years, 6 months ago) by simonb
Branches: netbsd-1-5
FILE REMOVED
Changes since revision 1.20: +0 -209 lines
file dmesg.c was added on branch netbsd-1-5 on 2000-06-20 01:49:21 +0000

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Jun 20 01:49:20 2000 UTC (24 years, 6 months ago) by simonb
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +16 -6 lines
If "SMALL" is defined don't include kvm support, primarily for install
media.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jun 16 04:00:44 2000 UTC (24 years, 6 months ago) by simonb
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Don't check namelist when choosing to use the sysctl interface.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Jun 16 03:42:12 2000 UTC (24 years, 6 months ago) by simonb
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -8 lines
ANSIfy.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jun 16 00:20:23 2000 UTC (24 years, 6 months ago) by simonb
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +62 -38 lines
Use new KERN_MSGBUF sysctl if running on a live kernel, and remove
setgid kmem bit from executable.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jul 5 08:56:54 1998 UTC (26 years, 5 months ago) by mrg
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, comdex-fall-1999-base, comdex-fall-1999
Branch point for: minoura-xpg4dl
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2 lines
discard privs as soon as possible.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Sep 20 09:48:35 1997 UTC (27 years, 3 months ago) by enami
Branches: MAIN
CVS tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -4 lines
Cosmetic change;

- indent continuation line by four space.
- put an empty line at the beginning of function which has no local variable.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Sep 20 09:43:22 1997 UTC (27 years, 3 months ago) by enami
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -9 lines
Fix revived bug, described in PR#3285.  But use a bit simple way;
Use loop count instead of hackery pointer play.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Sep 20 06:26:43 1997 UTC (27 years, 3 months ago) by enami
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -3 lines
Don't include <sys/cdefs.h> twice in same file.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Sep 19 19:38:57 1997 UTC (27 years, 3 months ago) by leo
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +19 -13 lines
Commit userland part of pr-1891.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Sep 14 08:53:46 1997 UTC (27 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +13 -11 lines
- cleanup for WARNS=1
- cleanup .Nm usage

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat May 3 17:18:05 1997 UTC (27 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -5 lines
We need a hint of *what* address is bad on the kvm_read. Also,
there are two reads- one for the msgbuf pointer, and then that
for what it points to.

Revision 1.8.6.1: download - view: text, markup, annotated - select for diffs
Thu Mar 6 23:59:21 1997 UTC (27 years, 9 months ago) by thorpej
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +7 -7 lines
Pull up from trunk:

  Don't get stuck in an infinite loop if the msgbuf index is 0 or 1, from
  enami tsugutomo <enami@ba2.so-net.or.jp>, PR #3285.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Mar 6 23:55:12 1997 UTC (27 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -7 lines
Don't get stuck in an infinite loop if the msgbuf index is 0 or 1, from
enami tsugutomo <enami@ba2.so-net.or.jp>, PR #3285.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Mar 18 14:54:49 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Branch point for: netbsd-1-2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -0 lines
convert to new RCS Id conventions; reduce my headache

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Dec 5 20:15:36 1994 UTC (30 years ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -0 lines
more cleanups from Jim Jegers, passed over by me.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed May 11 06:47:05 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +50 -83 lines
clean up import

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed May 11 06:46:12 1994 UTC (30 years, 7 months ago) by cgd
Branches: WFJ-920714, CSRG
CVS tags: lite-2, lite-1
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +51 -82 lines
oops

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Oct 13 18:33:58 1993 UTC (31 years, 2 months ago) by jtc
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
#include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:27:55 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Add RCS identifiers.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Mar 23 00:26:54 1993 UTC (31 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1 lines
changed "Id" to "Header" for rcsids

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Mar 22 08:04:00 1993 UTC (31 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -0 lines
added rcs ids to all files

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 9 months ago) by cgd
Branches: WFJ-920714, CSRG
CVS tags: patchkit-0-2-2, WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 9 months ago) by cgd
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>