kamil
5612f2cac8
Define target_not_supported_body() in TSan, MSan and libFuzzer tests
2019-08-23 06:39:54 +00:00
kamil
4ed00d96e7
Enhance MKSANITIZER support
...
Add i386 support for LLVM sanitizers.
Add new build phases do-sanitizer-* for building LLVM sanitizers after libs
and before other programs. This phase is important as sanitizers need
to link with libs and sanitized programs must link with sanitizer runtimes.
2019-08-23 06:38:27 +00:00
mrg
454a193c22
update for usbnet_mii and read/write reg return change.
2019-08-23 05:37:05 +00:00
mrg
48d4f9a608
convert aue(4) to usbnet(9).
...
besides the not-enabled umb(4), this completes the conversion
of all the non-wifi usb network devices.
2019-08-23 04:34:51 +00:00
mrg
d8e1e46eab
convert a debug message to an error message. will help more quickly
...
identify next time xhci version changes.
2019-08-23 04:34:01 +00:00
mrg
8352fa6550
s/UBSNET_MII_DECL_DEFAULT/USBNET_MII_DECL_DEFAULT/. from sc.dying.
2019-08-23 04:32:57 +00:00
mrg
543abf08ea
- remove unused uncd_rx_cnt
...
- add USBNETHIST_CALLARGSN and use it in many places
- add more history logs
- add a log if watchdog abort leaves uncd_tx_cnt non zero
- add a unique (32-bit) number for a each usbnet device and
use it for logging
- explicitly check for full tx ring in usbnet_start_locked()
and return early, which avoids setting the 5 second timer
and triggering a watchdog
- reset uncd_tx_prod and uncd_tx_cnt to zero in stop
2019-08-23 04:29:28 +00:00
msaitoh
390b526264
- kmem_alloc(,KM_SLEEP) never return NULL, so remove NULL check.
...
- VLAN ID is never duplicated, so break the loop when found. Also move
kmen_free() outside of ETHER_LOCK(ec)/ETHER_UNLOCK(ec) to reduce the hold
time. suggested by ozaki-r.
- Whitespace fix.
2019-08-23 02:33:15 +00:00
sevan
8f2c65b576
Donnie Darko
2019-08-22 22:51:47 +00:00
sevan
753807d576
ATF NURBS
2019-08-22 21:30:47 +00:00
roy
ece8d0874e
nd6: notify userland of neighbour lla updates once more
...
XXX pullup -8 -9
2019-08-22 21:22:50 +00:00
roy
508a301f81
rtsock: rework rt_clonedmsg to take a message type and lladdr
...
We will use this in a future patch to notify userland of lladdr
changes.
XXX pullup -8 -9
2019-08-22 21:14:45 +00:00
brad
ca50e52c93
Use getdiskrawname to find the device name
...
Reviewed by Christos
2019-08-22 20:28:08 +00:00
brad
277f8a757a
Use getdiskrawname to find the device name.
...
Reviewed by Christos
2019-08-22 20:26:07 +00:00
brad
c59f01cb01
Teach getdiskrawname and getdiskcookedname about zvols.
...
Reviewed by Christos
2019-08-22 20:23:43 +00:00
adam
4e86ae76ab
Fix building compiler_rt with MKCOMPAT=no; approved by kamil@
2019-08-22 18:15:44 +00:00
roy
2b94ade947
route(8): print RTM_CHANGE messages
...
XXX Pullup -9
2019-08-22 16:10:48 +00:00
rin
4b930c2368
Remove adbsys.c, which has been unused since 1998!
2019-08-22 14:57:00 +00:00
rin
bd68242c11
G/C obsoleted
2019-08-22 14:52:58 +00:00
isaki
5e4788ee0a
Fix assertion of "audiocfg list <n>" when n is an illegal index.
2019-08-22 14:40:14 +00:00
rin
e82eea1324
Adjust GMT bias automatically by using data obtained from Mac OS,
...
unless RTC_OFFSET is set explicitly.
2019-08-22 12:47:57 +00:00
mrg
d2638a5cd2
- move software parts into if_aue.c.
...
- s/Static/static/.
2019-08-22 09:16:08 +00:00
skrll
934bbc1299
Revert a change I made to this file a long time ago so that is now matches
...
linux mainline again. This fixes the rpi0w..
Tested on rpi0 and rpi0w by Jun Ebihara
PR/53284 (Support RPI3B+,RPI0W,RPI2-1.2)
2019-08-22 08:32:34 +00:00
mrg
c7e750b5e0
fix more kernhist vs 32 bit issues.
2019-08-22 07:38:06 +00:00
kamil
8b3baa27a8
Set NOSANITIZER in i386 ramdisk image
2019-08-22 04:25:38 +00:00
mrg
c92aec79da
like most things: turn debug off by default, sysctl to enable
2019-08-22 00:25:18 +00:00
mrg
de0a3ab576
usbhist(9):
...
- add a USBHIST_CALLARGSN() that only prints the message if debug level is N
aue(4):
- switch from printf() to usbhist for debugging
2019-08-22 00:24:07 +00:00
rmind
0e1944da36
npfkern/libnpf: Add support for the table replace/swap operation.
...
Contributed by Timshel Knoll-Miller.
2019-08-21 21:45:47 +00:00
rmind
f916b9b1ff
- npftest: fix a memleak in a unit test (standalone path only).
...
- Minor style fixes. No functional change.
2019-08-21 21:41:53 +00:00
skrll
921539fe19
Fix the pmap_bootstrap.o dependency (it was spelt pmap_boostrap.o before)
2019-08-21 20:31:23 +00:00
skrll
75222cfb98
Spell pmap_bootstrap in comments correctly
2019-08-21 20:30:36 +00:00
roy
e42970f3ba
Note import of dhcpcd-8.0.3
2019-08-21 17:14:26 +00:00
maxv
b1e6da1642
Style and cleanup.
2019-08-21 17:14:05 +00:00
roy
0875c12424
Sync
2019-08-21 17:12:19 +00:00
roy
e25a52da6a
Import dhcpcd-8.0.3 With the following changes:
...
* DHCP: Work with IP headers with options
* script: Assert that env string are correctly terminated
* script: Terminate env strings with no value
* script: Don't attempt to use an invalid env string
* route: Fix NULL deference error when using static routes
* ARP: Respect IFF_NOARP
* DHCP: Allow full DHCP support for PtP interfaces, but not by default
* control: sends correct buffer to listeners
dhcpcd-ui now correctly reports SSD association and all the addresses obtained (regression from dhcpcd-7)
2019-08-21 17:10:29 +00:00
maxv
5df0dd57ec
Remove the single-step check, it is wrong. There is no way we could
...
single-step on these entry points. If there were, we would be running
with the wrong GS.base, and we would have died long before.
2019-08-21 17:06:36 +00:00
maxv
4595fe3dd9
Switch from printf to panic. These messages were notorious for being
...
unreadable, and at least a clean panic allows the user to inspect the
system via DDB. Also simplify the output, EAX gets overwritten with
the error code so it indicates nothing meaningful.
2019-08-21 16:35:10 +00:00
nakayama
d9ec4c1e4c
Remove obsolete entry for libgomp.so.1.2.
...
Upgrading from netbsd-8 to netbsd-9 removes this library file, but some
programs (eg. packages compiled on netbsd-8) still use it.
2019-08-21 13:48:37 +00:00
maxv
3609a85773
Style and remove dead stuff.
2019-08-21 12:46:56 +00:00
maxv
8faa73b0cd
Don't depend on #ifdef USER_LDT in cpu_mcontext32_validate(), but rather on
...
whether the proc uses a user-set LDT. Same as check_sigcontext32().
2019-08-21 12:33:12 +00:00
maxv
abd5d6fbcf
No USER_LDT on Xen.
2019-08-21 12:16:07 +00:00
christos
a909d35bd1
Increment offset when adding an element to history to keep it aligned with
...
the last element entered (Sandy Li Changqing)
2019-08-21 11:11:48 +00:00
mrg
52a4543a10
convert pairs of USBHIST_CALLED()+USBHIST_LOG*() into
...
USBHIST_CALLARGS() calls. this reduces the number of
kernel history lines consumed by these callers, and
for the +LOGN versions, add useful log info to a
message that just says "called!".
reduces the line spam which means the total info in a
full log is significantly increased.
2019-08-21 10:48:37 +00:00
msaitoh
116af900a1
Simplify ix{gbe,v}_[un]register_vlan() API suggestesd by knakahara.
...
The API was the same as FreeBSD's pre-iflib's. They use iflib now and it's
not required for us to keep the old API.
2019-08-21 10:01:53 +00:00
martin
3ee8645531
Make this at least compile - I have no way to test.
2019-08-21 08:03:22 +00:00
mrg
e95f086a6d
match xhci version 3.10. allows properly finding all the USB
...
busses on new ryzen 3 based systems.
unfortunately, the USB busses are still non-functional.
2019-08-21 06:19:43 +00:00
mrg
901400fd26
regen for new micron/crucial/amd entries, and PCIe spelling.
2019-08-21 06:04:44 +00:00
mrg
2948ec3a8d
add micron/crucial SM2263 nvme.
...
add some device found on asus x570-p with ryzen 3200G cpu.
spell it "PCIe' when using the name.
2019-08-21 06:03:57 +00:00
msaitoh
5bdcaa2cac
Use ETHER_LOCK()/ETHER_UNLOCK() suggested by knakahara.
2019-08-21 06:00:07 +00:00
msaitoh
e88df844a3
Fix typo (s/controler/controller/).
2019-08-21 04:51:41 +00:00