Commit Graph

187524 Commits

Author SHA1 Message Date
macallan
31d6295bdf round the space we bus_space_map() up to PAGE_SIZE alignment 2010-01-27 21:02:22 +00:00
macallan
5f203032ca tcx doesn't use bt_dac 2010-01-27 21:01:33 +00:00
drochner
b1a1fc216d fix return values for atan2(+-0,+-0) in the POSIX case 2010-01-27 20:23:53 +00:00
pooka
580ff1a88f ignore pmf threads if RUMP_THREADS == 0 2010-01-27 20:16:16 +00:00
drochner
7033707525 retire pw_policy(3) -- it is not found useful, there are other
(more common) ways to enforce a password strength policy
approved by elad
2010-01-27 19:10:30 +00:00
christos
13a5940614 use warn/err appropriately. 2010-01-27 18:34:02 +00:00
pooka
03fdf6b025 error message: \n\n -> \n 2010-01-27 17:02:06 +00:00
jmmv
224ba7b2c8 Reset the umask while refreshing the vulnerabilities database so that it
remains world-readable.  Otherwise, it ends up with 600 permissions which
make it unusable for building pkgsrc packages as non-root.

Problem found by wiz@.
2010-01-27 16:22:41 +00:00
uebayasi
a75c80a070 Use genfs_node_*lock(). 2010-01-27 15:53:06 +00:00
uebayasi
e0f79090b7 Don't forget to tell the result of rw_tryenter(). 2010-01-27 15:52:31 +00:00
uebayasi
241a34bafa Typo in comment. 2010-01-27 15:34:08 +00:00
uebayasi
2372674c71 Constify some pointers in genfs_getpages() and genfs_do_putpages(). 2010-01-27 15:24:54 +00:00
uebayasi
b9bfa07443 Add genfs_node_rdtrylock(). 2010-01-27 15:18:40 +00:00
drochner
6cbc5cbff1 fix behavior in case of +-Inf or NaN input: return the proper
values and set *iptr
(This code is only used under non-default build options, and on m68k.)
2010-01-27 14:10:41 +00:00
drochner
f12889bbfb fix return value in case of NaN input
(the code also shortcuts the +-inf case, but this was OK before -- it
only avoids an extra check of the mantissa)
2010-01-27 14:07:41 +00:00
martti
40b313cfaa Use tabs instead of 8 spaces. 2010-01-27 13:30:45 +00:00
spz
1cb24f3feb range-check what we assign to int cachebufs from calculations with
uint64_t usermem. This only becomes relevant if you have several TB of RAM.
Promoting cachebufs to uint64_t is not necessary as it gets limited to
(currently) 512 anyway.

fixes the last issue of PR: 19852
2010-01-27 12:20:25 +00:00
jmmv
296908ed7b Perform in-place replacement of the cypher type instead of renaming the
passwd.conf file to passwd.conf.pre-sysinst file and creating a new one
from scratch:

- This is consistent with all other edits of configuration files performed
  by sysinst.  (E.g. in-place changes of rc.conf.)

- This eases the upgrade of the system to a newer set of files because the
  diffs presented by etcupdate are easier to read.

No objections in tech-install@.  Tested installing NetBSD/amd64.
2010-01-27 11:02:03 +00:00
wiz
e08d841a54 + Fatal errors due to uninitialized components are ignored.
for -C. For dillo@
2010-01-27 09:26:16 +00:00
wiz
4421a69224 Consistently use "START disks" in examples. Bump date. 2010-01-27 08:56:08 +00:00
wiz
dfe95627e5 Bump date for previous. 2010-01-27 06:52:24 +00:00
wiz
e0df74826a Bump date for reorg. 2010-01-27 06:50:40 +00:00
pgoyette
f99bc3e09c Define sets of limits (including the set of all limits) symbolically.
These will be used in an upcoming change.

No functional change intended.
2010-01-27 04:36:34 +00:00
uebayasi
5620716c87 uvm_pageinsert, uvm_pageremove: Pass the uboj, to/from which a pg is
inserted/removed, as an argument, because looking up a back-reference from
pg is redundant.  No functional changes.
2010-01-27 03:56:33 +00:00
jruoho
72c95671ed Revert previous. 2010-01-26 22:35:11 +00:00
mrg
e3dc1c5e34 make this test actually work:
- posix_memalign() does not set errno, it returns 0 or an error number
  (maybe a jemalloc() vs. phkmalloc() issue, but also how the opengroup
  documents it.)
- since "align" must be >= sizeof(void *), expect to fail align=4 on
  LP64 systems.
- while i'm here, add a test for align=2 failing everywhere.
2010-01-26 22:14:01 +00:00
jruoho
be22957280 Give it a single name; it is sufficient to list the functions in the SYNOPSIS. 2010-01-26 21:50:57 +00:00
jruoho
9bca5c6314 Capitalize one more title. Use a complete sentence in CODE REFERENCES. 2010-01-26 21:40:34 +00:00
jruoho
c67fb61a01 Move the complete prototypes to the SYNOPSIS. Also capitalize the titles. 2010-01-26 21:37:02 +00:00
mlelstv
61ec757e43 Drop two uses of disk label data.
msdosfs and cd9660 are the only filesystems that verify the filesystem
type in the label. This is the wrong place, sanity checks should only
rely on the inner structure of the filesystem (like signatures or
magic numbers).

msdosfs also used the device type information from the label to
deduce a filesystem parameter heuristically for the gemdos variant.
If there is no information inside the filesystem data itself, this
should be an explicit mount option.
2010-01-26 21:29:48 +00:00
is
000fbf6b41 Add AF_APPLETALK support to getnameinfo(); make "route show" use it.
Doesn't print "ranges" yet (should it be done here?); only numeric
output.
2010-01-26 21:27:54 +00:00
jruoho
df40d4f10f Some miscellaneous fixes:
* Apparently there is only a single location for the scripts. Thus, remove
   the references to "/etc/powerd/scripts/apm" and "/etc/powerd/scripts/acpi".
 * Correct confusion: instead of "the device with which the device is
   associated", write "the device with which the event is associated".
   Correct also an example related to this.
 * Improve wording, grammar, and markup in few places.
2010-01-26 20:37:13 +00:00
joerg
816eaf9482 On broken filesystems the fillinmap inner loop may have never read a
block, so don't try to release it if bp==NULL.
2010-01-26 20:25:52 +00:00
drochner
ae6fdb5ce4 rather than adding braces in the code, define the offending macro
to "(void)0". This is what similar code in bind9 (up to 9.5) does.
(native NetBSD code usually does "do { } while (/* CONSTCOND */ 0)"
in this case)
Anyway, I've checked the code, didn't find ambiguities due to
the empty statements, so the whole thing is harmless.
2010-01-26 19:11:00 +00:00
pooka
54b3dc4108 tcp sockbuf autoscaling was initially added turned off because it
was experimental.  People (including myself) have been running with
it turned on for eons now, so flip the default to enabled.
2010-01-26 18:09:07 +00:00
pgoyette
5bbbb70cb0 Fix .Bl markup - s/-compat/-compact/ 2010-01-26 18:08:24 +00:00
pooka
c52d5453ad support bpf from sockin too (i.e. DLT_NULL/AF_UNSPEC) 2010-01-26 17:52:21 +00:00
pooka
ac4d3e46b5 let attach via module space 2010-01-26 17:50:02 +00:00
pooka
3694a1482e support bpf 2010-01-26 17:41:20 +00:00
drochner
69baaf3d28 note current isc-dhcp versions
(our branch is not listed as supported anymore)
2010-01-26 16:59:27 +00:00
wiz
ad9684dee2 Install mom macro sets again, per request from Petar Bogdanovic.
Don't install generated PostScript files that were part of the reason
for the removal.

Based on a patch by him with slight changes.
2010-01-26 15:11:56 +00:00
wiz
0add532ac7 libmagic compat lib is installed again, remove obsolete marker. 2010-01-26 15:08:52 +00:00
jruoho
65a2d62a82 Emphasize the script names and events. 2010-01-26 14:28:23 +00:00
pgoyette
af4bab2a6f Move the limits out of the event structure and into the main sensor.
Use the limits_flags only for calls to the {get,set}_limits() callbacks
and merge the results into upropset, rather than trying to maintain both
values (error prone).
2010-01-26 14:22:00 +00:00
jruoho
964a8c555f Add sysmon_pswitch(9). 2010-01-26 14:06:35 +00:00
jruoho
951041f5f8 Document also the sysmon power switches; sysmon_pswitch(9). 2010-01-26 14:00:38 +00:00
he
ce1061323d On a recursive panic(), don't try to take a dump, as that may very
well have triggered the recursive panic.
Fix the comment for panic() to reflect now-current reality: the code
was already changed never to sync() on panic(), now we avoid dumping
core on a recursive panic.
2010-01-26 12:59:50 +00:00
njoly
1dc2262518 Convert remaining base-obsolete to comp-obsolete. 2010-01-26 12:45:46 +00:00
jruoho
4bd7b88b38 Mention that all tasks are executed before the halt. 2010-01-26 08:48:39 +00:00
jruoho
b1433fc056 Include all references from sysmon_taskq(9). 2010-01-26 08:30:20 +00:00