kamil
9425a92945
Switch kevent udata from intptr_t void*
...
Synchromize the struct field format with other BSDs and Darwin.
No ABI change between older and newer struct form on the ports.
The change will require no changes to most C users during the transition
period as the header keeps a caller cast.
Discussed with core@ and there were no objections for this move.
2019-10-03 22:16:52 +00:00
tnn
00bf802c59
annotate __dead
2019-10-03 20:29:19 +00:00
pgoyette
423739174a
Since we now have a compat_90 module, the compat_80 module should depend
...
on it.
2019-10-03 19:56:16 +00:00
tnn
f5cd05759f
also add mcx(4) to ALL
2019-10-03 19:01:13 +00:00
tnn
dd6c3e21f8
add mcx(4) to GENERIC
...
Tested on dual-port ConnectX-4 with 25 Gbit/s AOC
2019-10-03 18:57:38 +00:00
tnn
fa1e872217
change bus_space_map to _x86_memio_map
...
Resolves bus space reservation conflict between MI and MD code.
Discussion:
http://mail-index.netbsd.org/port-amd64/2019/09/28/msg003014.html
2019-10-03 18:53:08 +00:00
christos
5c84fc8d45
provide a default error function instead of trying to cast exit(3).
2019-10-03 18:12:44 +00:00
christos
d97b323d0b
Cast function pointers that take different arguments through void *
2019-10-03 18:02:05 +00:00
christos
d3574aa770
- user (an alias to the login buffer should be NUL terminated so use strlcpy
...
- double the size of the resulting buffer so that it can fit a copy of the
same sized buffer + more.
2019-10-03 17:56:17 +00:00
jmcneill
f1768a45f2
ieee80211_announce: Print supported rates with aprint_debug
2019-10-03 17:46:56 +00:00
christos
ae8d4ecfdb
Use strlcpy to NUL terminate the name string here. The kernel already
...
uses strlcpy() to set values in this field. We leave the kernel's strncmp()
alone to maintain compatibility.
2019-10-03 17:10:16 +00:00
christos
194e441521
use strlcpy here; the destination string is passed to strtok_r, and if it
...
is not NUL terminated, bad things can happen.
2019-10-03 17:08:26 +00:00
christos
01d1183f90
Since ch gets reassigned, it is not certain that it will be & or | again,
...
so return an illegal token if it is not instead of telling the compiler
that this is impossible.
2019-10-03 16:37:45 +00:00
christos
b490ea0c99
provide sizes so that we don't truncate accidentally.
2019-10-03 16:35:57 +00:00
christos
35a16a55bf
realloc(ptr, 0) != { free(ptr); return NULL; }
...
http://www.open-std.org/jtc1/sc22/wg14/www/docs/summary.htm#dr_400
2019-10-03 16:10:23 +00:00
msaitoh
7b77b401e9
s/0x0x/0x/
2019-10-03 15:36:24 +00:00
msaitoh
027d9892d8
- Add definitions of AMD's CPUID Fn8000_001f Encrypted Memory features.
...
- Add definition of AMD's CPUID Fn8000_000a %edx bit 11 "GMET".
- Define CPUID_AMD_SVM_PFThreshold correctly.
- Modify comment a bit for consistency.
2019-10-03 15:21:44 +00:00
jmcneill
dec6db4060
Do not print timeout message when SCF_TOUT_OK flag is set
2019-10-03 15:10:32 +00:00
jmcneill
8279a384e2
If firmware is connected in HT or VHT mode, report it to SIOCGIFMEDIA
2019-10-03 14:42:20 +00:00
jmcneill
b766b1586c
Add IFM_IEEE80211_VHT subtype, IFM_IEEE80211_11AC operating mode, and missing descriptions
2019-10-03 14:41:14 +00:00
jmcneill
16c816c6ca
Rework interrupt handling to reduce the number of wakeups required for
...
each command. Fix SDIO interrupt handling while here.
2019-10-03 13:49:33 +00:00
mlelstv
009daa2634
remove debug printfs, add more compat strings.
2019-10-03 11:24:27 +00:00
mlelstv
acc5d477cd
More register definitions.
2019-10-03 10:53:34 +00:00
tnn
e91fbc780d
improve error message
2019-10-03 10:34:30 +00:00
jnemeth
1b020fe5e7
typo
2019-10-03 06:27:09 +00:00
maxv
c3375309d2
Fix memory leaks. Was wondering where memory had gone after several hours
...
of attach/detach with vHCI.
2019-10-03 05:20:31 +00:00
maxv
6336c2341d
More less kmem_zalloc(0).
2019-10-03 05:16:16 +00:00
maxv
1f5569dfbd
Improvements:
...
- Don't process packets if the USB device is detached. Contrary to the
other HCIs, vHCI has no timeout, so we never collect the pending
packets, and must drop them synchronously.
- Fix refcounting bug in vhci_device_ctrl_abort.
- Implement vhci_activate.
- Add a few KASSERTs.
2019-10-03 05:13:23 +00:00
maxv
791ad2e67e
Remove the LazyFPU code, as posted 5 months ago on port-amd64@.
2019-10-03 05:06:29 +00:00
knakahara
5c0ef16821
Revert route.c:r1.224 to fix net/arp/t_arp and net/ndp/t_ndp failure.
...
And refactor a little. Discussed with ozaki-r@n.o.
2019-10-03 03:10:02 +00:00
mrg
b10b947bcc
add gcc-8 dirs, remove gcc-6 dirs.
2019-10-03 01:34:31 +00:00
sevan
df68535e27
Skip options which rely on crypto support in getopt() argument list, if we're
...
not building with cryto support.
via JP <rlntlss83 at gmail com> on tech-misc@
2019-10-03 01:15:19 +00:00
mrg
7cd6de38ea
gcc 8 set lists updates. i don't appear to have broken gcc 7 builds
...
but i only tested a couple of them.
2019-10-03 00:59:49 +00:00
kamil
081796c351
Remove ATF t_ptrace_wait test suspend1
...
The tests verifies that a thread can be suspended by a debugger and later
resumed by a tracee.
This is an unwanted behavior and will be fixed soon.
2019-10-02 23:15:09 +00:00
christos
da174a1fe9
PR/54594: Martin Husemann: bind may crash at startup
...
Use memcpy(3) instead of assuming casting "uint8_t *" to "uint64_t *" and
de-referencing works.
2019-10-02 15:43:15 +00:00
christos
0ce1e4fd59
Fix core-dump register fetching.
2019-10-02 15:15:09 +00:00
maya
d0e1ea051c
Note /rescue is a separate set now.
2019-10-02 11:18:55 +00:00
maya
50f7458533
Split out /rescue to its own set and adapt installers/images to add it.
...
This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.
2019-10-02 11:15:59 +00:00
sevan
eb128c78ad
DAAP DLNA
2019-10-02 11:14:46 +00:00
skrll
c3fbc82630
Remove garbage. Maybe something is wrong with mknative or mrg's script?
2019-10-02 10:34:48 +00:00
maya
ff1ecf5fdf
Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD
...
rescue set list files.
2019-10-02 09:47:24 +00:00
maya
586fb1f9e7
Remove ldconfig from /rescue, and mark it MI obsolete.
...
- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
since NetBSD 2.0 or so, and having it in /rescue served little purpose
even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
is the sole entry
2019-10-02 09:45:10 +00:00
rin
df564de276
Simplify logic to get rid of implicit dependence on order of ASCII
...
codes of upper and lower cases ('a' > 'A').
Found by the lgtm bot.
No functional changes intended.
2019-10-02 09:36:30 +00:00
rin
d66ba54477
Describe roundup2(9) in roundup(9).
...
Bump date.
Install it also as roundup2(9).
2019-10-02 08:21:08 +00:00
mrg
41cead3c75
mknative-gcc for GCC 8.3 and all ports.
2019-10-02 07:14:31 +00:00
mrg
c79e82c597
make most of this compile:
...
- sanitizer_procmaps_netbsd.cc is obsolete.
- fix merge botches where upstrem has as slightly different version
is upstream than prior local
- libstdc++ default is now gnu++17
- ubsan needs UBSAN_CAN_USE_CXXABI set
- properly use $G_RTL_BASE_H not (empty) $RTL_BASE_H
- libbackend HH gains new generated insn-modes-inline.h, and read-md.c
gains the HH dep.
2019-10-02 06:51:59 +00:00
mrg
06250edab5
avoid multiple tm_file headers being listed and breaking builds.
2019-10-02 05:58:03 +00:00
mrg
415bf64101
don't undef SDB_DEBUGGING_INFO. obsolete (and triggers a warning.)
...
disable isInDeadlySignal() for now.
fix some compile errors in asan and lsan.
2019-10-02 05:04:58 +00:00
mrg
013d491e47
recycle README.gcc7 as README.gcc8 and give it a fresh clean
2019-10-02 04:23:58 +00:00
msaitoh
08f48d8fd1
Print oversized frame's message only when DIAGNOSTIC is set. The message
...
is not so important because we increment if_iqdrops now.
2019-10-02 04:17:16 +00:00