Commit Graph

17988 Commits

Author SHA1 Message Date
riastradh
07c506680f Move wayward clause to where it belongs and makes sense.
Note how blowfish-cbc chooses the CBC IV.
2020-08-17 17:18:02 +00:00
wiz
106ec726e5 cprng(9): Remove trailing comma. 2020-08-17 06:07:53 +00:00
riastradh
c4125b7509 Update cprng_strong API documentation.
Should maybe just get rid of the flags arguments.
2020-08-17 00:55:05 +00:00
riastradh
819baeb60c Update cprng(9) man page for CTR_DRBG -> Hash_DRBG change last year. 2020-08-17 00:49:53 +00:00
riastradh
9493ed8295 Update cgd(4) man page.
- Highlight security model at top.
- Add adiantum and aes-xts.
- Split ciphers into `ciphers' and `obsolete ciphers'.
- Specify the parameters to the ciphers: tweak, CBC IV.
- Relegate obsolete `IV method' concept to a much shorter section.
- Add references.
2020-08-17 00:43:15 +00:00
thorpej
2ba5a80446 Be explcit that all calls to pmap_activate() and pmap_deactivate()
from MI code are made with preemption disabled and with l == curlwp.
2020-08-16 16:48:08 +00:00
mrg
16596b51e5 switch netbsd/m68k to GCC 8.
special thanks to rin@ for fixing many things and figuring out
what was the major issue (STACK_BOUNDARY.)
2020-08-16 06:43:05 +00:00
nia
a39c900319 afterboot.8: Correct URL directory order 2020-08-15 14:45:31 +00:00
nia
aec9844dc5 afterboot.8: Use cdn. Don't be arch specific. Requested by leot. 2020-08-15 14:42:02 +00:00
nia
5d8c072424 afterboot.8: Mention mdnsd 2020-08-15 13:49:09 +00:00
nia
75bbbb9826 afterboot.8: Explain devpubd 2020-08-15 13:44:14 +00:00
nia
e33fbdfad9 afterboot.8: Be clearer about exactly when you might need to login as root 2020-08-15 13:35:12 +00:00
nia
857376a344 afterboot.8: Explain how to install pkgin on a fresh system 2020-08-15 13:32:26 +00:00
nia
21521a3c01 afterboot.8: Explain how connecting to open WiFi works with wpa_supplicant 2020-08-15 13:25:14 +00:00
mrg
1956332deb update GCC 7 version to nb4 20200810, and fix the unknown GCC version
error assignment from "=?" to "?=" so it works as designed.
2020-08-11 09:51:57 +00:00
rin
2cfebd8121 Fix typo: than --> then. Probably not worth bumping date. 2020-08-10 09:30:21 +00:00
mrg
65244620f1 fix various missing transforms for man page, ala PR#55422.
add method to transform both the "__foo__" and "@foo@"
version of various transforms, while upstream are converting
from the former to the latter it seems.  convert all the
common transforms to this method.

expand the grep for .pc files to look for missing @foo@
fixes to the man page genration, and ignore a few things
(thanks uwe@ - .IN lines, and stuff between tab(@) and .TE.)

xorg-server __default_font_path__ -> @default_font_path@,
and xfree86 transform xconfigdir, xkbdir, and modulepath
using new both method.
2020-08-10 09:23:37 +00:00
uwe
cc0600711b Formatting fixes for PostScript output.
Mostly use .Ar instead of .Va and use -literal, .Ql, etc where
appropriate.
2020-08-10 01:10:26 +00:00
maya
5d5e87bd22 Add another TOFU 2020-08-09 22:07:06 +00:00
christos
7b0a191e28 Expose 64 bit fileystems API's on Linux and make the default FS API 64 bits
Should unbreak newfs's of fs's, using the tool version of newfs.
2020-08-09 21:13:38 +00:00
kim
d02a9c330e Fix cross-refs to x86/mbr that were still missing x86
Additionally made some typo fixes, and added some vertical whitespace
to lists that felt crowded. Unified markup for displaying commands.
2020-08-09 18:54:59 +00:00
nia
f1cc503efa TIFU 2020-08-09 17:18:47 +00:00
christos
d3d529e02c Add TOFU 2020-08-09 13:48:00 +00:00
mrg
92a9ab1f55 fix a couple of minor issues:
- un_ed is not a function, but an array
- fix a typo
- add a blank line after a list
2020-08-09 09:20:30 +00:00
wiz
29f550240c Remove trailing whitespace. 2020-08-07 20:17:59 +00:00
christos
9a91acb10a Catch up with genfs_can argument changes 2020-08-07 18:13:19 +00:00
christos
ccc5c96d19 Catch up with lktype addition. 2020-08-07 17:59:32 +00:00
skrll
0902b73820 G/C USE_TOPDOWN_VM. __USE_TOPDOWN_VM is used (and hidden) 2020-08-04 06:10:27 +00:00
riastradh
ee750f0f85 Remove confusing advice about macros that might expand to nothing.
Such macros should not exist; as advised earlier in the file, they
should expand to `__nothing' (literally) from <sys/cdefs.h> which
itself expands to ((void)0) precisely so that the problem this advice
sought to avoid does not arise.
2020-08-02 01:36:46 +00:00
riastradh
07b8ffa655 Update style around single-line braces according to discussion.
https://mail-index.netbsd.org/tech-userlevel/2020/07/12/msg012536.html
https://mail-index.netbsd.org/tech-kern/2020/07/12/msg026594.html

Retain some examples of technically unnecessary braces that likely
aid legibility from the previous commit.
2020-08-02 01:35:07 +00:00
lukem
ff75c76280 style: revert previous
I misintepreted the consensus.
2020-08-02 00:20:21 +00:00
wiz
6b5b1a3c75 Fix typo. 2020-08-01 09:51:06 +00:00
wiz
44506434c1 Fix typo in macro and merge to error descriptions for the same error 2020-08-01 09:50:42 +00:00
maxv
b84521f2f3 Remove references to BRIDGE_IPF, it is now compiled in by default. 2020-08-01 08:20:47 +00:00
lukem
15dbb6ff7e style: prefer braces for single statement control statements
Prefer to use { braces } around single statements after
control statements, instead of discouraging them.

Per discussion on tech-userlevel & tech-kern, where the significant
majority of developers who responded (including current and former
core members) prefer this new style.
2020-08-01 02:45:35 +00:00
riastradh
d7f8883fa9 New workqueue flag WQ_FPU.
Arranges kthread_fpu_enter/exit around calls to the worker.  Saves
cost over explicit calls to kthread_fpu_enter/exit in the worker by
only doing it once, since there's often a high cost to flushing the
icache and zeroing the fpu registers.

As proposed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2020/06/20/msg026524.html
2020-08-01 02:14:43 +00:00
riastradh
7c54d842f7 New functions kthread_fpu_enter/exit.
The MI definitions don't do anything but maintain a flag, but MD code
can define kthread_fpu_enter/exit_md to actually enable/disable the
FPU.  (These are almost pcu_load/discard on systems that use pcu(9),
except they apply to all PCUs.)

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2020/06/20/msg026524.html

The proposed kthread flag KTHREAD_FPU is not included because I
couldn't find any particular need for it that would not be covered by
just calling kthread_fpu_enter/exit in the kthread function.
2020-08-01 02:04:55 +00:00
fcambus
e275f93abc Update Spleen wscons fonts to version 1.8.2, bringing the following
improvements:

- Fix size of the lower case 'ae' character in the 16x32 and 32x64 versions
- Shorten parentheses, square brackets, braces, slash, backslash in the
  8x16 version, fixing alignment issues
- Shift vertical line and double vertical line characters one pixel
  up in the 8x16 version
2020-07-31 20:46:53 +00:00
leot
afb9677731 Add TSV 2020-07-28 14:35:34 +00:00
jdolecek
9c53671351 add reference to net/py-xmm7360 for the network initialization script 2020-07-27 14:17:47 +00:00
jdolecek
030019dcc8 more attribution 2020-07-27 11:12:56 +00:00
skrll
97f524ff8a Don't define _LKM. LKMs are dead. Long live modules. 2020-07-27 08:26:09 +00:00
wiz
4fb043ce84 Minor wording improvements. 2020-07-26 21:47:16 +00:00
jdolecek
183910b65f finish sentence 2020-07-26 15:57:03 +00:00
jdolecek
73e870b5dc add note that the network initialization script needs the device nodes
to be created
2020-07-26 15:56:30 +00:00
jdolecek
6b6d7b2ff3 add rudimentary wwanc(4) manpage 2020-07-26 15:13:09 +00:00
rillig
3a4242ba1d share/mk/bsd.README: fix typo 2020-07-26 09:22:43 +00:00
rillig
1a15e1964e style: fix typo about enum constants being capitalized 2020-07-26 09:22:15 +00:00
tsutsui
090a690dad Switch x68k to HAVE_XORG_SERVER_VER=120.
Confirmed both color "Graph" VRAM and mono "Text" VRAM servers on XM6i.
2020-07-21 14:42:44 +00:00
tsutsui
2414371414 Switch ports using MI wsfb drivers to HAVE_XORG_SERVER_VER=120.
Xorg wsfb servers from 1.20 for dreamcast (16bpp), hp300 (8bpp), and
luna68k (1bpp) work fine even on NetBSD 9.0, and zaurus is also
confirmed working.

Discussed with mrg@ and macallan@ on tech-x11:
 https://mail-index.netbsd.org/tech-x11/2020/07/thread1.html#002098
2020-07-20 14:24:13 +00:00
fcambus
a41247a4c5 Update Spleen wscons fonts to version 1.8.1, bringing the following
improvements:

- Center tilde vertically for all sizes, as modern fonts do
2020-07-20 13:58:52 +00:00
tsutsui
879355ad78 Fix typos in ${X11INCS.DIX} include paths. PR/55500 2020-07-20 13:55:08 +00:00
dholland
2f503947a6 +craptacular
(originally suggested by pgoyette)
2020-07-16 03:08:58 +00:00
leot
562d999853 Document unbound and unbound_chrootdir. 2020-07-15 17:55:34 +00:00
leot
093639c62c MKBSDTAR is yes by default 2020-07-15 17:46:06 +00:00
jruoho
f1c3cdfd23 's/blacklistd/blocklistd/'. Note also blocklistd_flags. 2020-07-15 16:52:48 +00:00
jruoho
e86652a33f Note modules. 2020-07-15 16:46:11 +00:00
kim
7392fbb224 Document optional speed argument to consdev 2020-07-15 12:38:30 +00:00
jdolecek
5b894df5c4 update list of matched adapters 2020-07-14 17:39:19 +00:00
dholland
e98bb6b88a +corvid
This file already has "covid" somehow, and while that's fine now my
best guess is that it was originally an OCR blooper for "corvid",
which is missing.
2020-07-13 23:56:41 +00:00
jruoho
de35f5b630 Xref rfc6056(7). 2020-07-13 15:05:05 +00:00
uwe
08e4367608 Try to improve markup, PostScript output. 2020-07-13 14:11:16 +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
nia
f694c820c6 obviously wrong country code 2020-07-13 11:59:37 +00:00
wiz
d85411472e Whitespace/macro usage fixes. 2020-07-13 11:24:27 +00:00
nia
02a8d4e3ea wskbd.4: Add KB_LA 2020-07-13 11:15:48 +00:00
nia
4a2e556972 Move description of keyboard layouts to wskbd.4, add newer layouts
Previously, the best reference was pckbd.4. This does not make much
sense to read if you are on, say, an evbarm device with only USB.

wsconsctl.8 contained a vaguer description of supported language names,
which isn't very useful because you can't pass full language names
to the command. Point readers to wskbd.4 instead.

Note in the wskbd.4 page that while all layouts are generally supported
by pckbd(4) and ukbd(4), older keyboard interfaces might only support
a subset.
2020-07-13 11:14:12 +00:00
jruoho
0eb7ac5e23 Add stub manual pages for /etc/changelist and /etc/pkgpath.conf.
Fixes PR bin/55477.
2020-07-13 09:10:34 +00:00
wiz
2f0f2880cd Fix xref. 2020-07-13 08:59:34 +00:00
wiz
63b4dc12b3 New sentence, new line. 2020-07-13 08:58:48 +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
mrg
6ba881664e MKLLVMRT is automatically enabled on x86 and arm64, not mesa18+. 2020-07-13 07:22:51 +00:00
simonb
f732e865a3 Copy "mach reset" logic from arm32 recently added by jmcneill@. The
previous MIPS "mach reset" DDB command was hard-coded for Octeon Cavium
CPUs only.
2020-07-13 05:20:45 +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
nia
1930f11c1e Update lists of keyboard layouts to add Turkish and Brazilian 2020-07-12 01:36:32 +00:00
nia
eae18cbc82 spell system correctly; from vezhlys on freenode 2020-07-11 13:04:29 +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
wiz
9749401cc3 Remove trailing comma. 2020-07-10 06:28:49 +00:00
thorpej
26c5d1c962 Update pci_configure_bus(9) to reflect the new reality -- no more manual
fiddling with extent maps, use pciconf_resource_{init,add,fini}() instead.
2020-07-10 02:27:13 +00:00
fcambus
4e5575e9c8 Add font file for Spleen 6x12, which can be loaded into the wsfont pool
or a wscons display device using wsfontload(8).
2020-07-08 11:24:49 +00:00
uwe
c3c716f32b Fix the include file name in the synopsis.
While here, drop the device path from synopsis,
its place is in the files section.
2020-07-05 03:44:13 +00:00
uwe
ae1206698b Clarify initial state some more.
Mention that the initial current octave is 4.  Drop filler verbiage
that octaves are "from C to B".
2020-07-05 01:05:01 +00:00
uwe
918bd55417 Clarify that whitespace is only ignored between groups.
Actually everything that doesn't start a group is ignored.
Whitespace is not allowed inside groups.
2020-07-05 00:38:23 +00:00
uwe
bdbca37a95 BUGS: note that meaning of sustain dots differs from the standard notation.
From FreeBSD.
2020-07-05 00:33:18 +00:00
uwe
ace06697fe Middle C is in O2 (from RTFS). 2020-07-04 23:24:10 +00:00
uwe
87c8858e80 Add more markup. Edit for clarity. 2020-07-04 23:09:43 +00:00
christos
af4576753e add missing arg 2020-07-04 21:07:29 +00:00
chs
af5290a884 the x86 xen and non-xen modules are identical,
so remove the unneeded extra copies.
Xen kernels now use the same modules as native kernels.
2020-07-04 21:02:15 +00:00
uwe
124a6fcf7c Fix off by one in the range of note values (in one instance).
From xordspar0 at gmail.
2020-07-04 19:25:24 +00:00
ryoon
f75ffeda10 man4: Add Linux USB 3.0 debu port to ugensa.4 2020-07-04 08:10:21 +00:00
maxv
f235863a23 Enable trace-cmp. 2020-07-03 16:12:16 +00:00
jmcneill
336dbb3e65 Add ddb "mach reset" command for Arm ports. 2020-07-02 11:10:47 +00:00
jmcneill
891b1559b6 Document OBJMACHINE_ARCH 2020-07-02 10:22:28 +00:00
lukem
1defdf0961 bsd.dep.mk: fix "make tags" (again)
[repeat revision 1.85]

Fix "make tags" to actually build a tags file:
- Use !commands() instead of !target(), so that the rule actually works
- Write to ${.OBJDIR}/tags for read-only source (don't know why ${.TARGET}
  isn't sufficient).
- Only match *.[cly] from ${.ALLSRCS} - just excluding *.h causes failures
  because of ${targ}: subdir-${targ} in bsd.subdir.mk.

Thanks to uwe@ for assistance.
2020-07-01 07:38:29 +00:00
maxv
64f849a4c1 fix file path 2020-06-30 16:22:55 +00:00
fcambus
b11e06097c Update Spleen wscons fonts to version 1.8.0, bringing the following
improvements:

- Improve ampersand character, making it more consistent with other
  sizes (5x8 version)
2020-06-29 09:57:46 +00:00
fcambus
ad2873740c Add font files for Spleen, which can be loaded into the wsfont pool
or a wscons display device using wsfontload(8).

For example, Spleen 16x32 can be loaded and enabled as follow:

wsfontload -N spleen-16x32 -w 16 -h 32 spleen-16x32.fnt
wsconsctl -dw font=spleen-16x32
2020-06-28 14:26:18 +00:00
jruoho
319465cf55 As bin/55344 was fixed, note the flags also in rc.conf(5). 2020-06-24 10:30:43 +00:00