258487 Commits

Author SHA1 Message Date
christos
a9650da3cd remove bsd.hostinit.mk 2018-05-04 00:36:16 +00:00
christos
9da3d19461 remove bsd.hostinit.mk; it breaks install. 2018-05-04 00:33:48 +00:00
pgoyette
3510fa3acc Add some comments/suggestions from John Nemeth. Thanks! 2018-05-04 00:25:26 +00:00
sevan
c38e7cc395 Hello bozohttpd(3lua) 2018-05-03 22:51:17 +00:00
sevan
4e0254f1b8 Hello libbozohttpd(3)
Enabling as it is a dependency for bozohttpd(3lua).
2018-05-03 22:27:58 +00:00
christos
331cb3c9dd Fix COMPAT_NETBSD32 cmsg handling:
1. alignment was wrong for > 1 message
2. macros were doing incorrect pointer comparisons, fortunately ending
   the iteration early after the fists cmsg instead of crashing.
3. don't output 32 bit ktrace records for cmsg. 32 bit programs running
   under emulation on 64 bit systems should produce 64 bit ktrace records
   so that the native ktrace can handle the records; remove extra arguments
   that are now not needed (the 32 bit msghdr).
4. output the correct type for cmsg trace records.
5. output all the cmsg records in traces instead of just the first one.

Welcome to 8.99.15 because of the argument removal.

XXX: Really all the code should be changed to use the CMSG_{FIRST,NXT}HDR
macros...
2018-05-03 21:43:33 +00:00
christos
dffc79e6eb make mbuftypes always visible 2018-05-03 21:37:29 +00:00
jnemeth
2526875ebb time marches on for lvm2tools 2018-05-03 20:15:49 +00:00
maxv
eb485b2186 Remove ovbcopy from net80211. 2018-05-03 17:14:37 +00:00
kamil
6c2b937b44 Fix VLC -> VLA 2018-05-03 17:03:20 +00:00
kamil
16df6f87f0 Register new acronym in wtf(6)
VLC    variable length array

Noted by <martin>
2018-05-03 17:01:08 +00:00
maxv
afdfea6b9c Drop early if there's no PPPoE interface. Otherwise it is easy for someone
to flood dmesg over the local subnet.
2018-05-03 16:52:42 +00:00
ryo
2972297404 add aarch64 support for cpuctl identify. 2018-05-03 15:47:36 +00:00
ryo
cfdea5e9ed add sysctl for machdep.{cpu_id,id_revidr,id_mvfr,id_mpidr,id_aa64isar,id_aa64mmfr,id_aa64pfr}
each corresponding to system registers MIDR_EL1, REVIDR_EL1, MVFR*_EL1, MPIDR_EL1, ID_AA64ISAR*_EL1, ID_AA64MMFR*_EL1, ID_AA64PFR*_EL1.
2018-05-03 15:47:22 +00:00
htodd
984edf1205 Added NTBF. 2018-05-03 15:38:13 +00:00
maxv
b4941eaf39 Remove unused M_MAXCOMPRESS macro. 2018-05-03 08:39:28 +00:00
maxv
908db84b9f Fix comment, M_LOOP is not used for statistics, it's mostly used to avoid
recomputing the checksum when the packet is received on loopback.
2018-05-03 08:14:29 +00:00
maxv
a9dcd320ab Revert my rev1.190, remove the M_READONLY check. The initial code was
correct: what is read-only is the mbuf storage, not the mbuf itself. The
storage contains the packet payload, and never has anything related to
mbufs. So it is fine to remove M_PKTHDR on mbufs that have a read-only
storage.

In fact it was kind of obvious, since several places already manually
remove M_PKTHDR without taking care of the external storage.
2018-05-03 07:46:17 +00:00
hannken
6c7fda3054 nfsrv_readlink: stop attaching a zero-length mbuf for zero length symlinks. 2018-05-03 07:28:43 +00:00
maxv
04b61f509d Rename m_pkthdr_remove -> m_remove_pkthdr, to match the existing naming
convention, eg m_copy_pkthdr and m_move_pkthdr.
2018-05-03 07:25:49 +00:00
maxv
5d73803e75 Remove now unused tcpip.h includes. Some were already unused before. 2018-05-03 07:13:48 +00:00
maxv
4a165b5280 Remove m_copy completely. 2018-05-03 07:01:08 +00:00
maxv
9208f79f61 Remove net_osdep.h completely. 2018-05-03 06:41:30 +00:00
wiz
f3452549f5 Sync usage with manpage. 2018-05-03 05:14:55 +00:00
wiz
48d7082b13 Merge options without arguments in synopsis. 2018-05-03 05:13:20 +00:00
wiz
b105f2c163 Remove Pps without effect. 2018-05-03 05:11:43 +00:00
wiz
b4c2969caa Sort sections. Sort ERRORS. Remove trailing whitespace. 2018-05-03 05:09:48 +00:00
maya
1322379206 regen 2018-05-03 04:22:17 +00:00
maya
185d82940b Add some broadcom 802.11ac wifi devices 2018-05-03 04:21:10 +00:00
jmcneill
68d92515b3 Add support for poweroff and the power on-off key (POK). 2018-05-03 02:10:17 +00:00
jmcneill
2fea52f446 Use IPL_VM for bus lock so we can do i2c xfers from interrupt context 2018-05-03 02:08:52 +00:00
christos
bad1191a12 Fix the tools build. 2018-05-03 01:32:17 +00:00
jmcneill
fffca4e9a0 Add axp806pmic, axp806reg 2018-05-03 01:17:04 +00:00
jmcneill
9a531f3639 FDT-ize X-Powers AXP805/806 PMIC driver. 2018-05-03 01:15:49 +00:00
christos
3357bd401d don't build for non pic 2018-05-03 01:14:54 +00:00
mrg
f2057d54c9 if just parsing don't try to read the uninitialised device name,
or display the unit number.

add a "-s" option that sends an ALL_SOUNDS_OFF midi event.  very
useful after an interrupted midiplay leaves notes on.
2018-05-03 01:12:57 +00:00
nonaka
4580fbbd43 Restore MAKEDOC. Fix a build failure on non NetBSD host. 2018-05-03 01:12:26 +00:00
christos
2acd48c6ea need bsd.hostinit.mk before bsd.endian.mk 2018-05-03 01:09:04 +00:00
kre
5cf0b51195 Simplify convoluted language, and remove incorrect statement
(that I added a while ago) about what is required by POSIX.
2018-05-03 00:32:11 +00:00
roy
74616670a2 Note import of dhcpcd-7.0.4 2018-05-02 22:11:49 +00:00
roy
bdaa820626 Sync 2018-05-02 22:08:45 +00:00
macallan
0606122c85 don't pull in pic_u3_ht with uninorth - it's part of ibmcpc 2018-05-02 22:07:37 +00:00
roy
d1cb50ca95 Import dhcpcd-7.0.4 with the following changes:
* Routing: Fix case when cloning route changes but needs to be replaced
 * DHCP6: Transpose DHCP userclass option into DHCP6
 * DHCP6: Fix sending custom vendor class option
 * Auth: Allow zero value replay detection data
 * Auth: Allow different tokens for send and receive
 * ND6: Warn if router lifetime is set to zero
 * DHCP6: Softwire Address and Port-Mapped Clients, RFC7598
2018-05-02 22:06:41 +00:00
pgoyette
d54998bbfe Minor grammatical correction (don't end a sentence/phrase with a
preposition).
2018-05-02 21:43:38 +00:00
jmcneill
7a670be542 Add sunxinmi 2018-05-02 21:20:58 +00:00
jmcneill
bf222c0dcd Add driver for Allwinner NMI / R_INTC interrupt controller. 2018-05-02 21:20:20 +00:00
kamil
e308425ef5 Add new ATF Undefined Behavior Sanitizer tests
Add new cc and c++ tests to check whether UBSan works.
These tests are prepared for GCC (in base) and Clang (with external patches).

Enable these tests for all ports by default, just verify whether we are
using GCC/Clang or a compatible compiler.

Add five equivalent C and C++ tests:
 - Integer addition overflow
 - Integer divide by zero
 - Integer negation overflow
 - Integer subtraction overflow
 - VLA out of bounds

All tests pass on NetBSD/amd64.

Patch submitted by <Harry Pantazis>
Minor cleanup by <myself>
2018-05-02 18:46:05 +00:00
christos
3e4df0d384 Explain PROT_MPROTECT better, add references to mremap(2), document the
unimplemented flags, documented the alignment pre-defined constants.
2018-05-02 16:00:20 +00:00
christos
652623d133 Add EXAMPLE and ERRORS section. 2018-05-02 15:25:13 +00:00
martin
0cfcd47b57 Use crypto code from openssl. Fixes PR bin/53250, suggested by Christos. 2018-05-02 14:43:59 +00:00