Commit Graph

187508 Commits

Author SHA1 Message Date
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
jruoho a1ce08be6b Build links for rest of the sysmon_taskq(9) functions. 2010-01-26 08:14:09 +00:00
jmorse f3d653714c PR/42262: Support drm drivers (intel G33/G45) submapping pci resources 2010-01-26 08:01:26 +00:00
jruoho 4e017432fa Clarify that sysmon_task_queue_init() should be called from arch-specific
routine.
2010-01-26 07:58:16 +00:00
jruoho 5f432f93a1 Document also rest of the functions. 2010-01-26 07:53:25 +00:00
mbalmer 6b4a020188 What a pleasure to fix a typo in Webster's... (Though the typo most probably
was not in it).
2010-01-26 07:16:41 +00:00
jruoho 1555fa1c4f Instead of "general purpose task queue", call it "general purpose system
monitoring task queue". Also include a paragraph about the intended usage.
2010-01-26 07:12:06 +00:00
mrg 048f27069a remove the HISTORY section that merely claimed this manual page was
new (but it was written in 1994 :-)
2010-01-26 06:03:02 +00:00
mrg 495ccd8f3e convert fpulock into fpu_mtx. 2010-01-26 03:06:01 +00:00
pooka de4f105d4a Include sys/atomic.h now that it's used but gets stealth-included
only on some archs.
2010-01-26 01:06:23 +00:00
pooka daa3b2e4c7 need rumpvfs for etfs_register() and sys_mknod() 2010-01-25 22:26:19 +00:00
pooka d70c91c8de In case opening /dev/bpf fails, try to load bpf kmod and try again. 2010-01-25 22:25:38 +00:00
pooka 27d2b45e99 add bpf kmod 2010-01-25 22:21:28 +00:00
pooka b2bb0f38d5 Make bpf dynamically loadable. 2010-01-25 22:18:17 +00:00
drochner 7393fe922a fix some cases where the EREPORT macro defined to null (as in the NetBSD
build) could change the behaviour of the code in unexpected ways
2010-01-25 20:33:57 +00:00
jruoho c6660bc8ea Improve wording. 2010-01-25 20:09:15 +00:00
jruoho 7f23851633 Add the names of the parameters to the section describing the functions. 2010-01-25 19:58:46 +00:00