Commit Graph

12696 Commits

Author SHA1 Message Date
msaitoh ffafe9308d Add missing 'q' modifier for the write command. 2021-02-19 08:57:56 +00:00
knakahara df9470fdc7 In 64 bit architectures, WM_EVENT_COUNTER is enabled by default.
No objection from tech-kern@n.o and tech-net@n.o.

ok'ed by msaitoh@n.o.
2021-02-17 08:15:43 +00:00
riastradh 17dd2b3b7e rnd(4): Consistently call it the `global pool'.
The `ready pool' is a term I used in a draft that I never committed.
2021-02-12 01:52:09 +00:00
nia efe89b021b Fix various typos, etc 2021-02-06 13:55:40 +00:00
nia 2e7e30272b Explain the format of the raw PCM data users can read from a pad(4).
Since it's headerless this is important so the data can be interpreted
properly. Also, ordinary audio ioctls cannot be used on a pad and the
format can't be changed, so applications that attempt to automatically
determine the format of a device like audiorecord don't work.
2021-02-06 12:13:44 +00:00
nia 8f7298006c Slightly adjust wording.
It does seem to work with multiple applications concurrently writing to
the device in a quick test I did.
2021-02-06 12:07:57 +00:00
nia 71b5ec1d14 Add another example of recording the output of an application.
Explain something that confused me.
2021-02-06 12:01:57 +00:00
nia 0d373c9fc6 Use /dev/audioX rather than /dev/soundX in examples.
Avoids accidentally running into confusing behavior.
2021-02-06 11:58:10 +00:00
isaki 3ab19efc6f Add a description to close().
> Before call to this, halt_input and halt_output are called if necessary.
2021-02-06 06:15:13 +00:00
thorpej 62be88ee26 Add kmem_tmpbuf_alloc(), a utility function for allocating memory for
temporary use where allocation on the stack is desirable, but only up to
a certain size.  If the requested size fits within the specified stack
buffer, the stack buffer is returned.  Otherwise, memory is allocated with
kmem_alloc().  Add a corresponding kmem_tmpbuf_free() function that frees
the memory using kmem_free() if it is not the tempory stack buffer location.
2021-01-24 17:29:11 +00:00
wiz af4f4aa108 Quote minus. 2021-01-21 17:05:50 +00:00
wiz 6666195182 Use Nm instead of xref to itself. Fix typo. 2021-01-21 16:57:52 +00:00
thorpej fed9ff05fd Add a manual page for strlist(9). 2021-01-21 15:53:15 +00:00
riastradh 81a8f89859 Add note about enabling TPM and rnd(4) source. 2021-01-19 05:05:39 +00:00
thorpej 7d1deea620 Note that TPM 1.2 devices can attach to ACPI, as well. 2021-01-16 01:47:23 +00:00
riastradh bb8365d71d rnd(4): Fix formatting of authors paragraph with `.An -nosplit'. 2021-01-15 15:54:20 +00:00
riastradh 15b5cd8a44 Tweak wording for consistency: `if empty or not set', not `if unset'. 2021-01-15 15:18:32 +00:00
riastradh 83f1fd31d5 Clarify that `entropy' may be left unset in rc.conf. 2021-01-15 15:17:08 +00:00
pgoyette 3eb7b7b72b Initial attempt at documenting the KERNEL_DIR option.
XXX EXPERIMENTAL, Work-In-Progress ! XXX
2021-01-14 23:32:12 +00:00
riastradh 03120d5679 entropy(7): Add missing URL to reference. 2021-01-13 05:21:34 +00:00
knakahara c8dbf241c1 Fix PR kern/55920 . Add pci_msi_count() and pci_msix_count() description. 2021-01-12 05:08:50 +00:00
riastradh cba96d16f7 Various entropy integration improvements.
- New /etc/security check for entropy in daily security report.

- New /etc/rc.d/entropy script runs (after random_seed and rndctl) to
  check for entropy at boot -- in rc.conf, you can:

  . set `entropy=check' to halt multiuser boot and enter single-user
    mode if not enough entropy

  . set `entropy=wait' to make multiuser boot wait until enough entropy

  Default is to always boot without waiting -- and rely on other
  channels like security report to alert the operator if there's a
  problem.

- New man page entropy(7) discussing the higher-level concepts and
  system integration with cross-references.

- New paragraph in afterboot(8) about entropy citing entropy(7) for
  more details.

This change addresses many of the issues discussed in security/55659.
This is a first draft; happy to take improvements to the man pages and
scripted messages to improve clarity.

I considered changing motd to include an entropy warning with a
reference to the entropy(7) man page, but it's a little trickier:
- Not sure it's appropriate for all users to see at login rather than
  users who have power to affect the entropy estimate (maybe it is,
  just haven't decided).
- We only have a mechanism for changing once at boot; the message would
  remain until next boot even if an operator adds enough entropy.
- The mechanism isn't really conducive to making a message appear
  conditionally from boot to boot.
2021-01-10 23:24:25 +00:00
riastradh 26da9de7e6 rc.subr(8): Fix markup -- use .It to set off a new item. 2021-01-10 19:26:31 +00:00
wiz 2e256d9d5b Simplify macro usage. 2021-01-06 18:05:58 +00:00
pgoyette 386ae5b46e Grammar fix for the grammer fix. Plural subject needs plural verb. :) 2021-01-06 17:22:36 +00:00
kre f9167198aa Minor grammar fix, more markup, and update date (Dd). 2021-01-06 17:13:23 +00:00
wiz f77ed54857 Add some paragraph breaks. 2021-01-06 14:07:43 +00:00
wiz 99fedf3d5f Markup improvements and typo fixes. 2021-01-06 10:19:27 +00:00
mlelstv a1d6d60c3f Explain wedge auto discovery. 2021-01-05 22:17:40 +00:00
pgoyette b5cd926b3f Better grammar. 2021-01-04 18:27:46 +00:00
uwe 5f81bb7325 wsdisplay(4): WSDISPLAYIO_GET_EDID - fix struct name.
Spotted by RVP.
2020-12-23 06:10:13 +00:00
nia dc3812a1c6 seemingly did not appear in netbsd 9 2020-12-21 11:30:59 +00:00
mrg 3996f2220f ddb: add two new modifiers to "show pool" and "show all pools"
- /s shows a short single-line per pool list (the normal output
  is about 10 lines per.)
- /S skips pools with zero allocations.
2020-12-19 23:38:21 +00:00
pgoyette 52df486e11 Minor typo - do I really need to bump the date for this? :) 2020-12-18 02:29:50 +00:00
isaki e0775c3f49 Remove an old description.
This behavior was modified in sys/dev/audio/audio.c rev 1.65 (Mar. 2020).
2020-12-09 05:48:56 +00:00
jmcneill 161b30af53 acpi: add character device for accessing ACPI tables
The /dev/acpi character device gives an aperture into physical memory
that allows only read access to known ACPI tables: RSDP, XSDT/RSDT, and
the root tables. Adapt acpidump(8) to use this interface by default,
falling back to the old /dev/mem method if it is not available or if
ACPIDUMP_USE_DEVMEM=1 is set in the environment. The user visible benefit
of this change is that "options INSECURE" is no longer required to
dump ACPI tables.
2020-12-06 02:57:29 +00:00
wiz d5fdd803ef Update default pkgsrc database location from /var/db/pkg to /usr/pkg/pkgdb. 2020-12-02 14:18:13 +00:00
kim a0c0a132d4 Add a comment to clarify the selected drivers to disable in the example 2020-11-24 07:46:46 +00:00
wiz ed388c6b2e Bump date for previous. 2020-11-21 12:26:41 +00:00
kim 3eea9a90f9 boot.cfg.5: Note that userconf can be used multiple times
Additionally:
- Make it easier for the reader to learn which keywords can be used
  multiple times
- Use multiple "userconf" lines in the EXAMPLES section, conveniently
  listing the current DRM drivers that a user might need to disable to
  troubleshoot "blank screen after boot" issues.
2020-11-21 11:41:54 +00:00
wiz 16da680a08 Add "x86" to Dt 2020-11-14 20:04:46 +00:00
kamil 994be4e978 Reintroduce the support of MKCATPAGES
Requested by <mrg>
2020-11-10 21:47:40 +00:00
kamil 4045d62396 Remove the support for MKCATPAGES
It was optional since 1999 and disabled by default since 2012.

Proposed on tech-userlevel@.
2020-11-08 14:52:35 +00:00
kim 42bf8f9bda Allow line breaks inside author names in prose paragraphs 2020-11-04 15:24:56 +00:00
khorben cb7259aba3 u3g(4): also list the Huawei EM770W as supported 2020-11-01 06:19:47 +00:00
uwe 3f54244104 Install ddb(9). Xref it from ddb(4). 2020-10-31 22:43:01 +00:00
christos 9ef58d7580 document f_touch 2020-10-31 16:03:01 +00:00
wiz 7c80034b55 Improve wording. 2020-10-31 10:48:17 +00:00
uwe 18275b593a Add a few missing articles. 2020-10-30 22:29:30 +00:00
uwe ed38e3002e ddb(9) - first cut at the documentation for writing and adding new DDB
commands.  Not yet complete and not hooked into the build.
2020-10-30 22:14:03 +00:00