Commit Graph

251992 Commits

Author SHA1 Message Date
jmcneill 20c8c3ce7c Remove SUNXI_INSTALL kernel 2017-07-05 17:19:52 +00:00
wiz bb90c083fe gcc 6.4 out. 2017-07-05 11:22:18 +00:00
jmcneill 82d58f5675 Wrap include of opt_machdep.h in ifdef _KERNEL_OPT 2017-07-05 09:37:14 +00:00
ozaki-r 2b6b0bfccb Remove codes for PACKET_TAG_IPSEC_IN_CRYPTO_DONE
It seems that PACKET_TAG_IPSEC_IN_CRYPTO_DONE is for network adapters
that have IPsec accelerators; a driver sets the mtag to a packet
when its device has already encrypted the packet.

Unfortunately no driver implements such offload features for long
years and seems unlikely to implement them soon. (Note that neither
FreeBSD nor Linux doesn't have such drivers.) Let's remove related
(unused) codes and simplify the IPsec code.
2017-07-05 03:44:59 +00:00
ozaki-r 9f04f77dde Add test cases for updating SA/SP
The tests require newly-added udpate command of setkey.
2017-07-05 01:25:03 +00:00
ozaki-r a607076325 Add update command for testing
Updating an SA (SADB_UPDATE) requires that a process issuing
SADB_UPDATE is the same as a process issued SADB_ADD (or SADB_GETSPI).
This means that update command must be used with add command in a
configuration of setkey. This usage is normally meaningless but
useful for testing (and debugging) purposes.
2017-07-05 01:22:40 +00:00
jmcneill dfe9578fbd Load address is not required for "ramdisk" images. 2017-07-05 01:09:17 +00:00
jmcneill 1f933be8ea Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based
kernels.
2017-07-05 01:08:44 +00:00
mlelstv 245a1a4599 Use I/O timestamps to compute disk statistics for better precision.
Disk statistics are collected in a fixed size array, that got corrupted
when a disk was detached. Adapt by skipping entries of detached disks
and detect reused disknames at the array end.
2017-07-04 21:19:33 +00:00
roy 51158c7f10 Rename u to udst, .dst to .sa and .dst4 to sin.
Create sockaddr for the source address in usrc so it won't stamp on udst.

This fixes a regression caused in r1.280
2017-07-04 10:25:45 +00:00
wiz 8fe8a5d09d Update README. Noted by kre. 2017-07-04 09:32:20 +00:00
ozaki-r 555a6b151d KNF 2017-07-04 08:12:28 +00:00
ozaki-r c18aa5892a Introduce and use SADB_SASTATE_USABLE_P 2017-07-04 08:11:32 +00:00
ozaki-r 2fcbe0b494 KNF; replace leading whitespaces with hard tabs 2017-07-04 08:09:19 +00:00
wiz f8e5212cee Use Ex. 2017-07-04 07:13:18 +00:00
wiz 4827dcf9ca Add EXIT STATUS section. Use Ex. 2017-07-04 07:12:18 +00:00
wiz 597b141c6c Use Ex. 2017-07-04 07:08:42 +00:00
wiz 6f62608235 Use more macros. 2017-07-04 07:07:23 +00:00
wiz 40396b53cb Add EXIT STATUS section. Use Ex. 2017-07-04 07:01:07 +00:00
wiz 0aaaa77458 Add EXIT STATUS section. Use Ex. Remove duplicate RCS Id. 2017-07-04 07:00:30 +00:00
wiz 39aca47cc7 Add EXIT STATUS section. Use Ex. 2017-07-04 06:59:34 +00:00
wiz 99a393ce51 Add EXIT STATUS section. Use Ex. New sentence, new line. 2017-07-04 06:58:55 +00:00
wiz d2c81abc95 Add EXIT STATUS section. Use Ex. 2017-07-04 06:56:50 +00:00
wiz 1595760100 Use Ex. 2017-07-04 06:54:20 +00:00
wiz b3f33fc531 Add EXIT STATUS section. Use Ex. Sort sections. 2017-07-04 06:53:12 +00:00
wiz 7bd68c88c1 Add EXIT STATUS section. Use Ex. 2017-07-04 06:52:20 +00:00
wiz ee3d656c82 Use Ex. 2017-07-04 06:50:04 +00:00
wiz 285e86b675 Use Ex. Remove superfluous Pp. 2017-07-04 06:49:35 +00:00
wiz 39b251a71c Use Ex. 2017-07-04 06:46:51 +00:00
ozaki-r fc624c4a0a Simplify IPSEC_OSTAT macro (NFC) 2017-07-04 06:45:05 +00:00
wiz fb2b8f52bb Add EXIT STATUS section. Use more macros.
New sentence, new line.
2017-07-04 06:42:46 +00:00
wiz b118761ef3 Use more macros. 2017-07-04 06:34:03 +00:00
wiz c2dbb32a65 Use EXIT STATUS and .Ex. 2017-07-04 06:33:13 +00:00
msaitoh 6dbf68c51b Regen. 2017-07-04 05:03:08 +00:00
msaitoh 20bbd4c051 Add Intel 82Q965 HECI. 2017-07-04 05:02:47 +00:00
wiz 01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
pgoyette 97e7aebdc1 Update to include new cv_timedwaitbt() and cv_timedwaitbt_sig().
Also update code example.

OK riastradh@
2017-07-03 21:16:36 +00:00
kre a64e63ed28 Do a better job of detecting the error in pkgsrc/devel/libbson-1.6.3's
configure script, ie: $(( which is intended to be a sub-shell in a
command substitution, but is an arith subst instead, it needs to be
written $( ( to do as intended.   Instead of just blindly carrying on to
find the missing )) somewhere, anywhere, give up as soon as we have seen
an unbalanced ')' that isn't immediately followed by another ')' which
in a valid arith subst it always would be.

While here, there has been a comment in the code for quite a while noting a
difference in the standard between the text descr & grammar when it comes to
the syntax of case statements.   Add more comments to explain why parsing it
as we do is in fact definitely the correct way (ie: the grammar wins arguments
like this...).
2017-07-03 20:16:44 +00:00
khorben 774ab82e9f Typo 2017-07-03 18:54:11 +00:00
roy c02f483da3 When outputting, search for the sending address on the sending interface
rather than blindly picking the first matcing address from any interface
when testing source address validity.

This allows another interface to have the same address, but be detached.
2017-07-03 16:43:01 +00:00
wiz e8c03fc557 Add 3lua and 9lua. 2017-07-03 13:18:31 +00:00
nat 27ecfe9c27 As pad devices are now created on demand - pad has to be open for a
corresponding mixer to be available.
2017-07-03 09:08:35 +00:00
msaitoh 3b2d2ff178 Print PHY ID. 2017-07-03 08:29:58 +00:00
msaitoh c45a60d028 Regen. 2017-07-03 08:29:22 +00:00
msaitoh 8207d057e6 Add X550 and X557. 2017-07-03 08:29:03 +00:00
mrg 480adae332 only do wedges if not the tools version. fixes build on netbsd-4,
and any other place that might have the same ioctl name while having
something not quite right (in this case, cpuid_t in headers not
working properly..)

XXX: pullup-8
2017-07-03 06:44:58 +00:00
ozaki-r b95a267001 Add test cases for IPComp 2017-07-03 06:01:16 +00:00
riastradh 58b9762c9a Add new declarations of cv_timedwaitbt and cv_timedwaitbt_sig, too.
Helps to put all the files I meant to commit on the command line!

Noted by pgoyette, thanks!
2017-07-03 03:12:42 +00:00
riastradh 0a89dacf06 Add cv_timedwaitbt, cv_timedwaitbt_sig.
Takes struct bintime maximum delay, and decrements it in place so
that you can use it in a loop in case of spurious wakeup.

Discussed on tech-kern a couple years ago:

https://mail-index.netbsd.org/tech-kern/2015/03/23/msg018557.html

Added a parameter for expressing desired precision -- not currently
interpreted, but intended for a future tickless kernel with a choice
of high-resolution timers.
2017-07-03 02:12:47 +00:00
riastradh a18efaac6b Nix trailing whitespace. No functional change. 2017-07-03 00:53:33 +00:00