Commit Graph

250174 Commits

Author SHA1 Message Date
joerg
f72e0e86ab Tell GCC to shut up about strftime format strings. 2017-04-20 20:34:24 +00:00
uwe
8cfb8991bc Quash .eh_frame unwind tables in boot code. 2017-04-20 19:09:29 +00:00
uwe
bf646ffdb7 Merge .eh_frame_hdr and .eh_frame into .text 2017-04-20 18:53:12 +00:00
uwe
702f0ce987 Group CLEANFILES assignments. 2017-04-20 18:39:28 +00:00
joerg
29339fc58f Update libarchive and pkg_install. 2017-04-20 14:39:36 +00:00
joerg
fd4865e977 GC multistate_privsep. 2017-04-20 13:22:59 +00:00
joerg
5679a5096e Update build system for pkg_install-20170419. 2017-04-20 13:18:47 +00:00
joerg
b1d15cef7f Merge pkg_install-20170419. 2017-04-20 13:18:23 +00:00
joerg
e64dcdc0b6 Import pkg_install-20170419. 2017-04-20 13:12:46 +00:00
joerg
c57cca78b1 Use libarchive 3.x interface and not obsolete 2.x versions. 2017-04-20 13:11:35 +00:00
joerg
da0c2d9db7 Update build system for libarchive-3.3.2pre. 2017-04-20 13:11:03 +00:00
joerg
e0693879da GC old files. 2017-04-20 13:06:28 +00:00
joerg
62a2faf4ff Merge libarchive-3-3-2pre. 2017-04-20 13:01:40 +00:00
joerg
40b1a6e683 Import libarchive 3.3.2pre (7ad477ea7655f3dfcdcfa5adcb792f0ec864969d). 2017-04-20 12:55:31 +00:00
msaitoh
8156c7aa64 Add ixg(4). Fixes PR#52180 from Harry Waddell.
XXX pullup to netbsd-7
2017-04-20 09:56:27 +00:00
wiz
f2003e21e5 Use Fl, Xr. New sentence, new line. Bump date for previous. 2017-04-20 09:48:55 +00:00
wiz
c8a170c44c regen using regen target in doc. 2017-04-20 09:47:52 +00:00
wiz
ff6c2ab51c Use Fl and Xr. New sentence, new line. 2017-04-20 09:47:41 +00:00
ozaki-r
1300188462 Introduce MKSTRIPSYM build option
If it's yes, all local symbols of shared libraries are stripped
(default). If it's no, only temporary local symbols are stripped;
for example, symbols of static functions are kept. Keeping such
symbols is useful on using DTrace for userland libraries and
getting a backtrace from a rump server loading modules (shared
libraries).

Proposed and discussed on tech-kern and tech-toolchain
2017-04-20 09:29:10 +00:00
ozaki-r
c5b713b4e3 Fix build of kernel with SCTP 2017-04-20 09:19:19 +00:00
msaitoh
26079ea3f0 5776[0156], 5778[02568] and 5779[015] are not Fast Ethernet but
Gigabit Ethernet.
2017-04-20 09:18:05 +00:00
knakahara
29209776f3 missing if_extflags of l2tp(4). l2tp(4) is already MP-safe. 2017-04-20 09:11:58 +00:00
msaitoh
07f767d482 Fix device timeout problem when MSI is used on BCM57762, BCM57765 and
BCM57785. Check correctly for BGEF_TAGGED_STATUS. These devices' ASCI core is
BCM5776[56]. Other BSD's BGE_IS_5717_PLUS() include BCM5776[56] but ours
doesn't (because Linux tg3 does so).

 Tested with snj's MacBook (BCM57765 (BCM57765 B0 ASIC)) and my Acer Aspire
One 756 (BCM57785(BCM57765 B0 ASIC)). Also Thunderbolt Ethernet
(BCM57762 (BCM57766 A0 ASIC)) should work.
2017-04-20 09:03:04 +00:00
ozaki-r
ed8b1986a9 Remove unnecessary NULL checks for inp_socket and in6p_socket
They cannot be NULL except for programming errors.
2017-04-20 08:46:07 +00:00
msaitoh
c6ed37c2be Add Downstream Port Containment (DPC) ECN and Enhanced DPC(eDPC) ECN. 2017-04-20 08:45:25 +00:00
ozaki-r
c4cc9034cb Simplify logic of udp4_sendup and udp6_sendup
They are always passed a socket with the same protocol faimiliy
as its own: AF_INET for udp4_sendup and AF_INET6 for udp6_sendup.
2017-04-20 08:45:09 +00:00
roy
5b2b9b53e2 Whitespace, fit in 80 and extra braces for readability.
No functional change.
2017-04-20 08:34:23 +00:00
ozaki-r
bc37e59456 Use IPSEC_DIR_IS_INOROUT (NFC) 2017-04-20 06:27:08 +00:00
msaitoh
5b60743311 Add 0x for register output. 2017-04-20 05:48:38 +00:00
sjg
28591a203d We cannot tollerate things like trailing /.. etc in .CURDIR
so only accept -C arg "as is" if it contains no relative components.
2017-04-20 03:57:27 +00:00
ozaki-r
0df8f574e7 Provide IPSEC_DIR_* validation macros 2017-04-20 03:41:47 +00:00
knakahara
1991706b40 always notice if the device's interrupt set affinity to other than CPU#0.
suggested by msaitoh@n.o.
2017-04-20 02:42:59 +00:00
kre
dfcb546256 If we are using the pad audio device, there must be a process with
the corresponding pad device open, or we get EIO from audio accesses

Explained and fix provided by Nathanial Sloss <nat@n.o>

Note: if we are testing and using real audio hardware, the open
of /dev/pad0 is irrelevant (but harmless, so we don't attempt to
check) and what's more it doesn't matter if it succeeds or fails.

If we're testing under qemu (or any other situation where the only
audio "hardware" is pad) then the open will work, and there should be
no more EIO.

If there is no audio hardware of any kind on the system being tested,
the attempt top open /dev/mixer should fail, and the test will be
skipped.
2017-04-20 00:17:11 +00:00
joerg
6a14b8a272 Add netpgpverify to the library list. 2017-04-19 23:41:00 +00:00
christos
6ad75611ab F_DUPFD* needs an argument (minfd) found by jmcneill 2017-04-19 22:21:07 +00:00
jdolecek
ad3f018705 ld(4) already improved to arbitrary ioctls, and nvme(4) updated to support
both DIOCGCACHE and DIOCCACHESYNC
2017-04-19 21:48:58 +00:00
christos
5d75b0065e simplify. 2017-04-19 15:54:45 +00:00
riastradh
434776404c The wiz daemon was unsatisfied with offering, so fix section heading. 2017-04-19 15:37:46 +00:00
christos
b397962d38 fix conflict. 2017-04-19 15:34:25 +00:00
jmcneill
4b6a251bc1 Provide a pci_intr_setattr implementation. For chipset tags that don't
implement pc_intr_setattr, simply return ENODEV.
2017-04-19 12:58:59 +00:00
jmcneill
e35c5c6f34 Initialize intr_setattr of arm32_pci_chipset 2017-04-19 12:26:00 +00:00
abhinav
f2320a05fa Fix typo: s/nshashtbl/nchashtbl 2017-04-19 11:33:01 +00:00
ozaki-r
07cdf4ae58 Reduce return points (NFC) 2017-04-19 09:23:19 +00:00
ozaki-r
da67e76875 Return early, reduce identation (NFCI) 2017-04-19 09:22:17 +00:00
skrll
a423f64965 Use designated initialisers and fix build in process. 2017-04-19 08:30:00 +00:00
msaitoh
32cc977d83 Add another BCM4401 chip support. 2017-04-19 07:35:44 +00:00
ozaki-r
1d3af2e6cf Use KASSERT for sanity checks of function arguments 2017-04-19 07:19:46 +00:00
ozaki-r
3f3c480840 Change ifdef DIAGNOSTIC + panic to KASSERT 2017-04-19 07:14:45 +00:00
msaitoh
6bddabc9e6 regen. 2017-04-19 06:54:14 +00:00
msaitoh
85ce0132f1 Add BCM4401 B0 step. Old BCM4401 B0 entry is changed to B1. From OpenBSD. 2017-04-19 06:53:52 +00:00