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


Default branch: MAIN


Revision 1.51 / (download) - annotate - [select for diffs], Sat Aug 6 10:22:22 2022 UTC (20 months, 1 week ago) by rin
Branch: MAIN
CVS Tags: 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
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Assert postts only if we really obtained a timestamp.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Aug 6 10:19:44 2022 UTC (20 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.49: +7 -7 lines
Diff to previous 1.49 (colored)

Do not declare unused tstamp for SMALL. NFC.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Aug 6 10:16:18 2022 UTC (20 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.48: +16 -16 lines
Diff to previous 1.48 (colored)

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) - annotate - [select for diffs], Sat Aug 6 09:42:33 2022 UTC (20 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Oops, fix thinko in the previous.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Aug 6 09:39:32 2022 UTC (20 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.46: +34 -9 lines
Diff to previous 1.46 (colored)

Do not discard \[.*\] which is not identified as a timestamp.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Aug 6 09:33:56 2022 UTC (20 months, 1 week ago) by rin
Branch: MAIN
Changes since 1.45: +13 -15 lines
Diff to previous 1.45 (colored)

KNF. Do not unnecessarily define ADDC() for SMALL. No binary changes.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:18 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.33.2.1: +12 -4 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Merge changes from current as of 20200406

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sun Jan 5 09:32:10 2020 UTC (4 years, 3 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.43: +12 -4 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

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) - annotate - [select for diffs], Wed Jan 1 00:24:52 2020 UTC (4 years, 3 months ago) by kre
Branch: 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
Changes since 1.44: +6 -2 lines
Diff to previous 1.44 (colored)


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

Revision 1.44 / (download) - annotate - [select for diffs], Tue Dec 31 19:58:56 2019 UTC (4 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.43: +8 -4 lines
Diff to previous 1.43 (colored)

Fix dmesg(8) to preserve leading whitespaces of kernel messages.

Closes PR/54729.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:32 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.33: +109 -28 lines
Diff to previous 1.33 (colored)

Sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jun 4 11:59:05 2019 UTC (4 years, 10 months ago) by kre
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.42: +2 -3 lines
Diff to previous 1.42 (colored)


Delete a redundant (useless) assignment.   NFCI.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jun 4 11:37:39 2019 UTC (4 years, 10 months ago) by kre
Branch: MAIN
Changes since 1.41: +8 -10 lines
Diff to previous 1.41 (colored)

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) - annotate - [select for diffs], Mon Nov 26 01:52:14 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.27.40.3: +11 -4 lines
Diff to previous 1.27.40.3 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.41 / (download) - annotate - [select for diffs], Tue Oct 30 19:40:36 2018 UTC (5 years, 5 months ago) by kre
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.40: +11 -4 lines
Diff to previous 1.40 (colored)

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) - annotate - [select for diffs], Sun Sep 30 01:45:34 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.27.40.2: +94 -17 lines
Diff to previous 1.27.40.2 (colored) to branchpoint 1.27 (colored)

Ssync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Thu Sep 20 23:46:42 2018 UTC (5 years, 6 months ago) by kre
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.39: +7 -7 lines
Diff to previous 1.39 (colored)


Whitespace.  NFC.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Sep 20 19:50:42 2018 UTC (5 years, 6 months ago) by kre
Branch: MAIN
Changes since 1.38: +6 -5 lines
Diff to previous 1.38 (colored)


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

Revision 1.38 / (download) - annotate - [select for diffs], Thu Sep 20 06:06:06 2018 UTC (5 years, 6 months ago) by kre
Branch: MAIN
Changes since 1.37: +3 -34 lines
Diff to previous 1.37 (colored)


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) - annotate - [select for diffs], Wed Sep 19 23:02:14 2018 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.36: +32 -3 lines
Diff to previous 1.36 (colored)

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) - annotate - [select for diffs], Wed Sep 19 22:58:03 2018 UTC (5 years, 6 months ago) by kre
Branch: MAIN
Changes since 1.35: +9 -7 lines
Diff to previous 1.35 (colored)


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) - annotate - [select for diffs], Wed Sep 19 22:55:12 2018 UTC (5 years, 6 months ago) by kre
Branch: MAIN
Changes since 1.34: +13 -9 lines
Diff to previous 1.34 (colored)


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) - annotate - [select for diffs], Wed Sep 19 00:15:05 2018 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.33: +83 -11 lines
Diff to previous 1.33 (colored)

add -TT printing ISO 8601 duration

Revision 1.27.40.2 / (download) - annotate - [select for diffs], Mon Apr 16 01:59:51 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.27.40.1: +91 -21 lines
Diff to previous 1.27.40.1 (colored) to branchpoint 1.27 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.33 / (download) - annotate - [select for diffs], Sat Apr 14 01:37:34 2018 UTC (6 years ago) by kre
Branch: 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
Changes since 1.32: +57 -9 lines
Diff to previous 1.32 (colored)


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) - annotate - [select for diffs], Wed Apr 11 06:41:23 2018 UTC (6 years ago) by wiz
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Update usage.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Apr 10 22:21:52 2018 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.30: +41 -19 lines
Diff to previous 1.30 (colored)

match the linux dmesg flags.

Revision 1.27.40.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:09 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.27: +92 -28 lines
Diff to previous 1.27 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 2 01:15:31 2018 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0407
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

eat NUL's first so that the state machine is not altered by them.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Apr 1 19:36:13 2018 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.28: +4 -3 lines
Diff to previous 1.28 (colored)

handle log being before timestamp...

Revision 1.28 / (download) - annotate - [select for diffs], Sun Apr 1 19:31:16 2018 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.27: +89 -26 lines
Diff to previous 1.27 (colored)

Handle new timestamp sequences.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Aug 29 14:34:59 2011 UTC (12 years, 7 months ago) by joerg
Branch: 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-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
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

Use __dead

Revision 1.25.18.1 / (download) - annotate - [select for diffs], Sun Sep 28 11:17:10 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.25.22.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:28:22 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 20 01:20:22 2008 UTC (15 years, 8 months ago) by lukem
Branch: 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
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 16 02:43:19 2006 UTC (17 years, 6 months ago) by christos
Branch: 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
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

c99 initializer

Revision 1.24 / (download) - annotate - [select for diffs], Mon Sep 5 20:56:41 2005 UTC (18 years, 7 months ago) by dsl
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.23: +14 -15 lines
Diff to previous 1.23 (colored)

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) - annotate - [select for diffs], Thu Jan 20 15:55:01 2005 UTC (19 years, 2 months ago) by xtraeme
Branch: 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
Changes since 1.22: +2 -3 lines
Diff to previous 1.22 (colored)

Remove main() prototype; WARNS=2

Revision 1.22 / (download) - annotate - [select for diffs], Thu Aug 7 10:04:13 2003 UTC (20 years, 8 months ago) by agc
Branch: 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
Changes since 1.21: +3 -7 lines
Diff to previous 1.21 (colored)

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) - annotate - [select for diffs], Wed Jun 5 06:31:21 2002 UTC (21 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Make it possible to see \ in dmesg.

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:05:22 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.16: +77 -45 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Tue Jun 20 01:49:21 2000 UTC (23 years, 9 months ago) by simonb
Branch: netbsd-1-5
Changes since 1.20.2.1: +209 -0 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

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 (23 years, 9 months ago) by simonb
Branch: netbsd-1-5
Changes since 1.20: +0 -209 lines
FILE REMOVED

file dmesg.c was added on branch netbsd-1-5 on 2000-06-20 01:49:21 +0000

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jun 20 01:49:20 2000 UTC (23 years, 9 months ago) by simonb
Branch: 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
Changes since 1.19: +16 -6 lines
Diff to previous 1.19 (colored)

If "SMALL" is defined don't include kvm support, primarily for install
media.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jun 16 04:00:44 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Don't check namelist when choosing to use the sysctl interface.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 16 03:42:12 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.17: +6 -8 lines
Diff to previous 1.17 (colored)

ANSIfy.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 16 00:20:23 2000 UTC (23 years, 10 months ago) by simonb
Branch: MAIN
Changes since 1.16: +62 -38 lines
Diff to previous 1.16 (colored)

Use new KERN_MSGBUF sysctl if running on a live kernel, and remove
setgid kmem bit from executable.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jul 5 08:56:54 1998 UTC (25 years, 9 months ago) by mrg
Branch: 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
Changes since 1.15: +3 -2 lines
Diff to previous 1.15 (colored)

discard privs as soon as possible.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 20 09:48:35 1997 UTC (26 years, 6 months ago) by enami
Branch: 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
Changes since 1.14: +5 -4 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Sat Sep 20 09:43:22 1997 UTC (26 years, 6 months ago) by enami
Branch: MAIN
Changes since 1.13: +11 -9 lines
Diff to previous 1.13 (colored)

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) - annotate - [select for diffs], Sat Sep 20 06:26:43 1997 UTC (26 years, 6 months ago) by enami
Branch: MAIN
Changes since 1.12: +2 -3 lines
Diff to previous 1.12 (colored)

Don't include <sys/cdefs.h> twice in same file.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 19 19:38:57 1997 UTC (26 years, 7 months ago) by leo
Branch: MAIN
Changes since 1.11: +19 -13 lines
Diff to previous 1.11 (colored)

Commit userland part of pr-1891.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Sep 14 08:53:46 1997 UTC (26 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.10: +13 -11 lines
Diff to previous 1.10 (colored)

- cleanup for WARNS=1
- cleanup .Nm usage

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 3 17:18:05 1997 UTC (26 years, 11 months ago) by mjacob
Branch: MAIN
Changes since 1.9: +7 -5 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Thu Mar 6 23:59:21 1997 UTC (27 years, 1 month ago) by thorpej
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.8: +7 -7 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

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) - annotate - [select for diffs], Thu Mar 6 23:55:12 1997 UTC (27 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.8: +7 -7 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Sat Mar 18 14:54:49 1995 UTC (29 years, 1 month ago) by cgd
Branch: 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
Changes since 1.7: +6 -0 lines
Diff to previous 1.7 (colored)

convert to new RCS Id conventions; reduce my headache

Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 5 20:15:36 1994 UTC (29 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.6: +1 -0 lines
Diff to previous 1.6 (colored)

more cleanups from Jim Jegers, passed over by me.

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 11 06:47:05 1994 UTC (29 years, 11 months ago) by cgd
Branch: 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
Changes since 1.5: +50 -83 lines
Diff to previous 1.5 (colored)

clean up import

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Wed May 11 06:46:12 1994 UTC (29 years, 11 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1.1.1: +51 -82 lines
Diff to previous 1.1.1.1 (colored)

oops

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 13 18:33:58 1993 UTC (30 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

#include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 1 18:27:55 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Add RCS identifiers.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 23 00:26:54 1993 UTC (31 years ago) by cgd
Branch: 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
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

changed "Id" to "Header" for rcsids

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 22 08:04:00 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

added rcs ids to all files

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
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.




CVSweb <webmaster@jp.NetBSD.org>