171672 Commits

Author SHA1 Message Date
kardel
fbcf7d7188 make mkver fetch the date information from src/usr.sbin/ntp/importdate
in order to achieve consistent version strings across all builds
2008-07-16 20:53:56 +00:00
pooka
cc7d901591 vfs_subr2 has lost its will to live. vfs_subr was originally split
into two parts so that some of the routines could be used by rump.
Now that rump uses both vfs_subr and vfs_subr2 and there is no
reason to keep two files lying around, re-unite them.
2008-07-16 20:06:19 +00:00
drochner
152044172b add a KASSERT to check the protection bits before using as array index 2008-07-16 18:56:34 +00:00
drochner
983ec2783f split device/softc for sd (tested with a USB stick) 2008-07-16 18:54:09 +00:00
drochner
a3df0dfc03 split device/softc for scsibus 2008-07-16 18:50:58 +00:00
drochner
8b720093a8 wipe out tty buffer contents after read, to avoid keeping possibly
sensitive information in memory longer than necessary
(We could make this depend on ~ECHO or so, but this would be an API
change and I don't think it is worth the effort.)
2008-07-16 18:27:49 +00:00
drochner
0a06aa4eeb While openpam overwrites possible sensitive data on cleanup, it misses
the buffers used in the password dialog. Clean them too.
2008-07-16 18:20:17 +00:00
drochner
1f6364ac89 some improvements to digital play mode:
-use AUMODE_PLAY_ALL, from Sergey Svishchev -- this might cause
 stuttering if the write to audio can't keep up, but it avoids pauses
 if the audio buffer drains out on stop/resume
-The timeout for the raw SCSI command to read audio data
 was too small, causing complete failure for me.
-Since the itimer can't do faster than HZ, a too small buffer doesn't
 work. Try to calculate a sensible buffer size.
-While it makes sense to deliver data a bit faster than necessary,
 it should be not that much that the blocking in the signal handler
 hurts interactive response. Allow for 50ms.
-Comment out a sched_yield() in the signal handler - this doesn't
 look right.
This is far from being perfect, but it makes digital mode usable for me.
And for Jeremy C. Reed, the author of PR bin/38493.
2008-07-16 17:26:25 +00:00
christos
657e141577 sockopts need to be int not ssize_t, which can be long on 64 bit machines.
fixes sparc64 issue. thanks to rafal for testing.
2008-07-16 16:51:14 +00:00
perry
6fb2ff15d2 Temporary hack to remove dates from generated postscript files.
Really, though, "mom" should go, or at least the generated PostScript
files should.
2008-07-16 16:34:36 +00:00
perry
7549434e22 Add -DM to the newvers_stand.h invocation.
Why is there a "Makefile.boot" used here, and a "Makefile.booters"
used one level up, with redundant stuff between both of them? This all
used to be so clean...
2008-07-16 16:13:38 +00:00
perry
12308daaf8 Remove another source of date/build user/build host that I hadn't
caught on the last sweep.
2008-07-16 16:07:42 +00:00
pooka
2707ee274f bring todo list upper-to-dater 2008-07-16 15:54:24 +00:00
pooka
76ee3b3a51 Sync data to baking storage in ukfs_write() 2008-07-16 15:44:11 +00:00
pooka
514afdda21 regen: fsync 2008-07-16 15:43:30 +00:00
pooka
b09210ace9 rumpalooza sys_fsync 2008-07-16 15:42:54 +00:00
tsutsui
a3c412626c Disable more pseudo-devices to shrink an install kernel. 2008-07-16 15:22:50 +00:00
tsutsui
6415b4ca38 Change boot messages to replace build date and maker with kernrev. 2008-07-16 14:45:17 +00:00
matt
3e3119f9fe Default PMAP_KMPAGE to 0 unless it's been previously defined by
<machine/pmap.h>
2008-07-16 14:33:09 +00:00
christos
d50e0bba82 remove unnecessary defines 2008-07-16 14:29:11 +00:00
christos
a8f5847fc4 allow fractional second values like lunix does. 2008-07-16 14:27:26 +00:00
tsutsui
a6ea1c4a92 Change boot messages to replace build date and maker with kernrev. 2008-07-16 13:44:51 +00:00
tsutsui
fc10d3a3fc Change boot messages to replace build date and maker with kernrev. 2008-07-16 13:19:20 +00:00
perry
ab1cc5d822 Call newvers_stand.sh with -DM so we don't include the (unused) date
and builder in the data segment.
2008-07-16 12:52:37 +00:00
kent
ecafa994fb * emitrules()
- code cleanup
 - support for extensions of which length is not 1
2008-07-16 11:45:56 +00:00
christos
72572e11a6 change the order that we build config.h 2008-07-16 11:30:36 +00:00
perry
c983ff2507 explain that mkver needs cleanup when a new version is imported
as per suggestion from simon
2008-07-16 11:11:37 +00:00
reinoud
d61a135a38 Make UDF allocation-sanity check optional even if the DEBUG flag is
specified. This should be sysctl-able when compiled with the DEBUG flag
eventually.
2008-07-16 09:36:08 +00:00
tonnerre
232e862b92 Don't ignore poor retarded ubt(4) devices which have vendor and product id
== 0. Discovered by mballmer@obsd, ok'd by plucky@.
2008-07-16 08:43:01 +00:00
chs
a1677d385b in pmap_map(), use pmap_kenter_pa() instead of pmap_enter()
so that we don't need to allocate memory to create the mapping.
this should help with getting crash dumps more reliably.
2008-07-16 03:22:04 +00:00
christos
5734987052 subst machine 2008-07-16 01:54:17 +00:00
christos
689a2f13d6 need to generate config.h dynamically 2008-07-16 01:51:56 +00:00
christos
23fb2b7b1a mention top 3.8beta1 2008-07-16 00:47:56 +00:00
christos
dd8e10b0fe top is now in dist/bsd 2008-07-16 00:43:04 +00:00
christos
f8e8331d64 more Makefile glue 2008-07-16 00:41:50 +00:00
christos
2b60e3f28a add build glue and local fixes 2008-07-16 00:36:14 +00:00
christos
10dd2532a5 import latest top 2008-07-16 00:20:32 +00:00
matt
1f9c1ede20 Revamp bookkeeping for pages entered by pmap_kenter_pa. Keep track of them
on pvlists so that the cacheability can be properly tracked.
2008-07-16 00:19:57 +00:00
perry
e2eca0cfb3 make vers.c also depend on the script that builds vers.c 2008-07-16 00:16:17 +00:00
matt
ad65eb54bc Add PMAP_KMPAGE flag for pmap_kenter_pa. This allows pmaps to know that
the page being entered is being for the kernel memory allocator.  Such pages
should have no references and don't need bookkeeping.
2008-07-16 00:11:27 +00:00
perry
ac6f476b2b Update the version numbers following commit, and make them all identical. 2008-07-15 23:16:26 +00:00
tonnerre
5bc4657a0a Regen. 2008-07-15 22:27:31 +00:00
tonnerre
8d218a9ef7 Add some PCI IDs from the Thinkpad T61/X61/R61 series as observed in
PR 37988 and on my own T61.
2008-07-15 22:26:42 +00:00
christos
460ae70d0a make l_flags contain more stuff. Fixes top thread display where system processes
were always displayed.
2008-07-15 22:25:30 +00:00
perry
17bba44783 Change the x86 boot blocks so they don't include builder login and date.
For now, we include kernel revision as a way of allowing users to
notice that boot blocks have gotten very old, so the first line of the
printout looks like this (depending on the particular block):

  >> NetBSD/x86 BIOS Boot, Revision 3.4 (from NetBSD 5.0)

This may be changed a bit pending feedback. (Some people think that
the kernel revision shouldn't be there at all, for example.)

Part of the project to assure that bit-identical sources produce
bit-identical release binaries.
2008-07-15 21:29:37 +00:00
dyoung
723da104d6 Cosmetic: s/xenv/oenv/ 2008-07-15 21:27:58 +00:00
dyoung
95a02c3401 Make usage() static. 2008-07-15 21:19:24 +00:00
dyoung
3e89e7b09b Only describe flags -L and -m in the usage if they are available.
That helps me get rid of some conditional compilation (INET6) in
ifconfig.

Let each protocol/feature-module print its own usage, so that the
ifconfig usage reflects the modules that are actually compiled-in.

Write usage information for carp(4) options.
2008-07-15 20:56:13 +00:00
perry
9b5b7fcda3 Add the kernel revision to vers.c, as in:
const char bootprog_kernrev[] = "4.99.70";

For now, we still also include the builder name and date and such, so
that we don't break anything, but those are (probably) on the way out.

Part of the "bit-identical sources yield bit-identical release files"
project.
2008-07-15 20:10:06 +00:00
perry
29ae1ed693 Don't burn the date and time and build userid and build path into the
ldap executables.

Part of the effort to make bit-identical sources produce bit-identical
binaries.
2008-07-15 18:38:38 +00:00