269831 Commits

Author SHA1 Message Date
kamil
1222d7c306 Set NOLIBCSANITIZER for LLVM sanitizer runtimes
Do not sanitize sanitizer runtimes.
2019-09-03 03:04:31 +00:00
riastradh
8e07b51739 Switch from NIST CTR_DRBG with AES to NIST Hash_DRBG with SHA-256.
Benefits:

- larger seeds -- a 128-bit key alone is not enough for `128-bit security'
- better resistance to timing side channels than AES
- a better-understood security story (https://eprint.iacr.org/2018/349)
- no loss in compliance with US government standards that nobody ever
  got fired for choosing, at least in the US-dominated western world
- no dirty endianness tricks
- self-tests

Drawbacks:

- performance hit: throughput is reduced to about 1/3 in naive measurements
  => possible to mitigate by using hardware SHA-256 instructions
  => all you really need is 32 bytes to seed a userland PRNG anyway
  => if we just used ChaCha this would go away...

XXX pullup-7
XXX pullup-8
XXX pullup-9
2019-09-02 20:09:29 +00:00
msaitoh
4f7aaa0a26 s/etphy/atphy/. No functional change. 2019-09-02 12:48:52 +00:00
jmcneill
116cf3dd56 SD_IO_RW_EXTENDED is a data transfer command, so set ADTC flag instead of AC 2019-09-02 11:09:42 +00:00
sevan
18e2bd9a65 PPT 2019-09-02 10:35:15 +00:00
roy
c977d4cfab curses(3): add curses_version()
Returns NetBSD-Curses %s
Where %s is the NetBSD version taken from sys/param.h

Discussed on tech-net@, only for ncurses compat.
2019-09-02 09:08:29 +00:00
wiz
576c8e30e1 End sentence with a dot. 2019-09-02 08:26:00 +00:00
mlelstv
b8b1a47b3b tagging work queue as MPSAFE was premature. Revert. 2019-09-02 07:25:48 +00:00
manu
2e9b75405f Make sure devices names are copied including last byte
Fix from M. Levinson.
2019-09-02 06:10:24 +00:00
skrll
c06670ce77 Add (commented out) UVMHIST options 2019-09-02 06:08:04 +00:00
hkenken
1914e34e1b Add support for imx6qp-pcie.
+ Add vpcie-supply support
+ Add ext_osc support

Tested on SABRESD i.MX 6QP.
2019-09-02 01:28:41 +00:00
sevan
d284e45ce6 Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf
2019-09-02 00:51:48 +00:00
sevan
5856ef0738 putc & putw were in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf
putchar was in v4
https://minie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/putchr.3
2019-09-02 00:48:16 +00:00
sevan
e7c2f0e667 log appeared in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf
2019-09-02 00:37:47 +00:00
sevan
045ae074b5 Start documenting history
https://www.bell-labs.com/usr/dmr/www/man31.pdf
2019-09-02 00:30:58 +00:00
roy
99b959ff0d route(8): Show addres for RTM_LOSING
While here, add /* FALLTHROUGH */.
2019-09-02 00:30:01 +00:00
sevan
a8ce1a4d96 exp was present in v1
https://www.bell-labs.com/usr/dmr/www/man31.pdf
2019-09-02 00:25:47 +00:00
sevan
d051e0b21d start documenting history 2019-09-02 00:24:01 +00:00
sevan
211298066f write was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
2019-09-02 00:13:09 +00:00
sevan
35c5311442 wait was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
2019-09-02 00:12:11 +00:00
sevan
b26b6614cd unlink was presen in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
2019-09-02 00:09:14 +00:00
sevan
4bdf4627ad setuid was in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
2019-09-02 00:05:38 +00:00
sevan
9e15184fb2 seek was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
2019-09-02 00:01:42 +00:00
sevan
65ee4583a2 read was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
2019-09-02 00:00:25 +00:00
sevan
ff3425a0e5 Open was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
2019-09-01 23:57:14 +00:00
sevan
b561dbbbe6 mount & umount were present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
2019-09-01 23:53:45 +00:00
sevan
fbcb2c65d6 stty & gtty were around since v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
https://www.bell-labs.com/usr/dmr/www/man22.pdf
2019-09-01 23:42:19 +00:00
gutteridge
fc526dea88 urndis.4: note two additional brands/models known to work 2019-09-01 23:01:01 +00:00
sevan
b9c252d754 Document history.
https://www.bell-labs.com/usr/dmr/www/man11.pdf
Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which version,
hence I've skipped mentioning it.
2019-09-01 22:50:11 +00:00
roy
f97de93854 Note inet change as well. 2019-09-01 22:10:13 +00:00
roy
a07ba9f67e inet: Send RTM_MISS when we fail to resolve an address.
Takes the same approach as when adding a new address - we no longer
announce the new lladdr right away but we announce the result.
This will either be RTM_ADD or RTM_MISS.
RTM_DELETE is only sent if we have a lladdr assigned OR gc'ed.

This tells us when a new lladdr has been added (RTM_ADD),
changed (RTM_CHANGE), deleted (RTM_DELETED) or has failed to been
resolved (RTM_MISS). The latter case can be interpreted as unreachable.
2019-09-01 22:09:02 +00:00
sevan
83120a9834 GECOS
http://bitsavers.trailing-edge.com/pdf/ge/GE-6xx/CPB-1002A_GE-625_635_GECOS_Jan65.pdf
2019-09-01 21:55:13 +00:00
sevan
5ae2aa4a54 Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf
2019-09-01 19:52:32 +00:00
sevan
da65270b52 getuid was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
2019-09-01 19:46:58 +00:00
sevan
89c2482298 stat() was present in v1
https://www.bell-labs.com/usr/dmr/www/man22.pdf
document history of fstat()
https://www.bell-labs.com/usr/dmr/www/man21.pdf
2019-09-01 19:45:48 +00:00
sevan
2d5e133f80 fork was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
2019-09-01 19:40:07 +00:00
sevan
7356612ea6 Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf
2019-09-01 19:37:21 +00:00
wiz
fb6187f957 Remove superfluous Pp. 2019-09-01 19:36:09 +00:00
sevan
f769ad4c22 Document history of exec()
Move statement on execlpe() & execvpe() to HISTORY section.
2019-09-01 19:33:45 +00:00
roy
0171d82f9b Document recent inet6 changes. 2019-09-01 19:29:33 +00:00
sevan
04473fb0e1 create was present in v1
https://www.bell-labs.com/usr/dmr/www/man21.pdf
2019-09-01 19:28:31 +00:00
roy
ca7497cb84 inet6: Re-introduce ND6_LLINFO_WAITDELETE so we can return EHOSTDOWN
Once we've sent nd6_mmaxtries NS messages, send RTM_MISS and move to the
ND6_LLINFO_WAITDELETE state rather than freeing the llentry right away.
Wait for a probe cycle and then free the llentry.

If a connection attempts to re-use the llentry during ND6_LLINFO_WAITDELETE,
return EHOSTDOWN (or EHOSTUNREACH if a gateway) to match inet behaviour.
Continue to ND6_LLINFO_INCOMPLETE and send another NS probe in hope of a
reply. Rinse and repeat.

This reverts part of nd6.c r1.14 - an 18 year old commit!
2019-09-01 19:26:21 +00:00
sevan
60ffbc104f Document history
https://www.bell-labs.com/usr/dmr/www/man21.pdf
2019-09-01 19:20:45 +00:00
sevan
ceb77431eb Document history of chown(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf
2019-09-01 19:16:43 +00:00
sevan
d9e8d47bcc Document history of chmod(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf
2019-09-01 19:13:57 +00:00
wiz
7c8c4d229e Remove superfluous Pp. 2019-09-01 19:13:18 +00:00
wiz
f592f951d4 Remove superfluous Ns. 2019-09-01 19:12:16 +00:00
sevan
1644fb6375 Document history of chdir(2)
https://www.bell-labs.com/usr/dmr/www/man21.pdf
2019-09-01 19:11:41 +00:00
wiz
3e49c49077 Remove superfluous Pp. 2019-09-01 19:10:39 +00:00
wiz
edfa7875a1 fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9). 2019-09-01 19:09:00 +00:00