Commit Graph

729 Commits

Author SHA1 Message Date
riastradh 83f1fd31d5 Clarify that `entropy' may be left unset in rc.conf. 2021-01-15 15:17:08 +00:00
riastradh 03120d5679 entropy(7): Add missing URL to reference. 2021-01-13 05:21:34 +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
wiz ab745aff6f Use Dv. Bump date for previous. 2020-10-17 09:20:33 +00:00
mlelstv b761783a16 Setting a socket buffer size stops autoscaling. Add a sysctl to
prevent this behaviour. The default is not changed.
2020-10-17 09:06:15 +00:00
roy f9cd9ecd85 sysctl: Adjust man page for new ARP sysctl ND settings 2020-09-11 15:16:48 +00:00
fcambus 527132cc8c Fix a bunch of typos in various man pages. 2020-08-29 13:32:27 +00:00
jruoho de35f5b630 Xref rfc6056(7). 2020-07-13 15:05:05 +00:00
pgoyette 78e3bc6422 Imnprove previous. 2020-07-13 13:42:51 +00:00
jruoho f2ada8ae6b Complete the example. 2020-07-13 12:44:04 +00:00
jruoho 7d2da5ea1f Add the missing rescue(8) and tests(7) sets. XXX: this manual is somewhat
broken due to the differences in the archival formats used.
2020-07-13 07:26:27 +00:00
skrll 1fde49c064 Note arm KUBSAN support 2020-07-12 13:40:44 +00:00
maxv 0d658a2d6f fix inaccuracy about kmsan 2020-07-12 10:10:53 +00:00
skrll d329adb039 Add support for KASAN on ARMv[67]
Thanks to maxv for many pointers and reviews.
2020-07-10 12:25:08 +00:00
maxv 64f849a4c1 fix file path 2020-06-30 16:22:55 +00:00
wiz bc3f8a62e1 New sentence, new line. Fix macro arguments. Improve Nd.
Remove superfluous Pp. Other minor cleanups.
2020-06-24 08:20:13 +00:00
maxv 61584588ce kernel_sanitizers.7 2020-06-23 16:08:46 +00:00
ad 83f424cd54 g/c vm.idlezero 2020-06-13 20:18:00 +00:00
snj f27f66ae80 - prune src/gnu and src/sys/netsmb
- add src/sys/netcan
- remove bogus statement about location of reachover Makefiles
- tweak language
2020-05-14 16:32:57 +00:00
leot 467c5d63f6 Remove a reference to /etc/netstart
It was removed in rc.d era and no longer honored (except by newbtconf(8)).

Noticed by Ottavio Caruso on #netbsd@Freenode, thanks!
2020-05-12 10:20:16 +00:00
riastradh 4fe11140e4 Mark experimental-default-off knobs clearly as such. 2020-05-10 02:32:32 +00:00
riastradh f96b491d2f Document vm.swap_encrypt. 2020-05-10 02:31:29 +00:00
riastradh 3d1d29c849 Tweak kern.arandom documentation. 2020-05-10 02:30:33 +00:00
nia a04ab133b7 Update documentation of kern.arandom. It uses cprng_strong(9). 2020-05-01 10:06:09 +00:00
jdolecek fea2af3136 remove mount_smbfs(8)/nsmb(4) references 2020-04-04 15:32:42 +00:00
roy 61a9079563 Add _dhcpcd entries. 2020-04-02 20:57:20 +00:00
kim aa06efc870 Typo fix (remove extra TPM) 2020-02-28 07:31:38 +00:00
kim 7fa57f6b97 Fix .Dt to match installed section 2020-02-28 07:30:51 +00:00
uwe 035e2f78b0 Make .Bl -width match the actual .It usage. 2020-02-26 18:39:24 +00:00
uwe 79985dd01d Minor formatting tweaks. 2020-02-26 18:32:57 +00:00
uwe e979ab6242 Fix unedited pasto. 2020-02-26 18:25:39 +00:00
wiz ed72789936 Minor fixes. 2020-02-26 10:06:08 +00:00
wiz 795276af5a Fix Xr section numbers. 2020-02-26 10:04:32 +00:00
riastradh e4d662933e Draft man pages for the standard users and groups.
These are currently listed in order of uid because I went through
src/etc/group and src/etc/master.passwd line by line, and sorting any
other way after the fact -- like lexicographically, how it should be
-- was kinda inconvenient.

Feel free to sort, add information, add historical references,
correct any mistakes, &c., so that these remain living documents
describing NetBSD's standard users and groups and practices around
them.
2020-02-26 07:31:51 +00:00
nia 288b76eaef when referring to the "user"/"operator"/"network manager": he -> they 2020-01-20 13:08:40 +00:00
maya 67719436d2 Fix markup typo. 2020-01-10 14:56:00 +00:00
maya 4fece28851 Add some more licenses appearing in external.
Remove mentions of src/gnu that no longer exists.
Mention /usr/pkg/etc.
Bump date
2020-01-10 12:58:41 +00:00
christos ee0c356bd6 Sync with FreeBSD which capitalizes the control character names, and adds
a binary set.
Add a table with the full names for the control character set.
2019-11-19 05:11:33 +00:00
nia dc40b3d931 Document usage of KERN_ARND 2019-11-16 17:33:09 +00:00
jdolecek bff033fe7d document vm.ubc_direct 2019-11-14 21:23:46 +00:00
sevan f3e3e81ae9 Document standards and correct history.
via Free / OpenBSD.
2019-09-30 13:44:52 +00:00
maya ba1beab6cb Provide documentation for KERN_LWP.
PR lib/20108
2019-08-05 22:03:10 +00:00
kamil c006081ad9 Document KERN_PROC_CWD in sysctl(7) 2019-06-01 19:54:34 +00:00
maxv ba0aa175c4 Remove compat_osf1, discussed on tech-kern@. 2019-03-25 19:24:29 +00:00
christos 80f2143057 Document kern.uidinfo.semcnt. 2019-03-01 03:05:08 +00:00
maxv e76f599b96 Remove reference to compat_darwin (was retired a long time ago). 2018-12-29 11:33:00 +00:00
maxv 08fa964521 Retire compat_ibcs2, as discussed on tech-kern@. FreeBSD did the same
recently.
2018-12-29 11:30:11 +00:00
maxv 43c9320743 Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,
but also as discussed several times in the past.
2018-12-19 13:57:44 +00:00
wiz 49bf433ea6 Remove trailing whitespace. Remove comma for better readability. 2018-12-05 21:15:20 +00:00
christos dea5460561 As discussed in tech-kern:
- make sysctl kern.expose_address tri-state:
	0: no access
	1: access to processes with open /dev/kmem
	2: access to everyone
  defaults:
	0: KASLR kernels
	1: non-KASLR kernels

- improve efficiency by calling get_expose_address() per sysctl, not per
  process.

- don't expose addresses for linux procfs

- welcome to 8.99.27, changes to fill_*proc ABI
2018-12-05 18:16:51 +00:00