259270 Commits

Author SHA1 Message Date
maxv
48dcf2f04d Constify atu_devs[] so that it lands in .rodata (600 bytes). 2018-06-03 10:59:35 +00:00
maxv
7d35607d24 Constify ahc_pci_ident_table[] so that it lands in .rodata (1488 bytes). 2018-06-03 10:45:16 +00:00
maxv
af97d7be29 Constify a bunch of global varialbes under ipf/ so that they land in
.rodata (3472 bytes).

Also, remove ipf_tuneables[], unused.
2018-06-03 10:37:23 +00:00
pgoyette
7ac450ca27 Add the module specificdata entries to the sets lists. While here, sort
the entries for module(9) and specificdata(9) and use the correct setname
selectors for the latter.
2018-06-03 10:35:57 +00:00
pgoyette
62ec288f8d Finish documenting the new modules(9) interfaces by adding the module
specificdata routines.
2018-06-03 10:34:59 +00:00
maxv
6ddae496fa Constify several variables in ixgbe/ so that they land in .rodata (1038
bytes).
2018-06-03 10:24:24 +00:00
martin
221ee7216c Whitespace 2018-06-03 10:20:54 +00:00
maxv
de7002fc2c Constify lpcib_devices[] so that it lands in .rodata (1584 bytes). 2018-06-03 10:13:54 +00:00
maxv
a2aecb60e1 Constify ug2_mb[], so that it lands in .rodata. 2018-06-03 10:04:40 +00:00
maxv
20dda1ec42 Constify the microcode variables used by BNX. This moves 38 pages of kernel
memory from .data to .rodata.
2018-06-03 10:01:21 +00:00
pgoyette
67d3587de3 Make a first pass at documenting the specificdata functionality.
XXX This is just a first pass, and I've probably made a ton of mistakes
XXX while reading the code!  Updates and corrections greatly appreciated.
2018-06-03 09:22:34 +00:00
maya
0161d86987 use ATF_CHECK instead of ATF_REQUIRE
(continue on failure, to see the rest of the failures)

From Ngie Cooper in PR bin/51834
2018-06-03 08:48:37 +00:00
maya
2b3568b36a Test and clear exception around scalbn calls.
Second part of PR bin/51834.

ifdef out vax to avoid netbsd-specific macros.
2018-06-03 08:39:00 +00:00
rin
65b076fb4d Make sure that every wide char occupies at least one display width:
- Replace non-printable multibyte char with ?-symbol.
  - Put space before non-spacing char.

Fix problems reported in PR bin/53164 and
PR bin/53323, that are because we did not take into account non-printable
multibyte char of wctob(wc) == EOF && wcwidth(wc) == -1.
2018-06-03 08:08:36 +00:00
rin
b232fd18de Add characters in "Emoji & Pictographs" from Unicode 10.0.0:
http://www.unicode.org/charts/

They are classified as PUNCT, which is historically used for characters other
than blank, alphabetic, or digit ones.

Glyph widths are taken from "East Asian Width":
  https://www.unicode.org/Public/10.0.0/ucd/EastAsianWidth.txt
Characters of "F" or "W" are classified to SWIDTH2, and others are classified
to SWIDTH1, as implicitly done in the previous revisions.

Should address problems like PR bin/53323.

Discussed with soda@. We thank Takuya SHIOZAKI (tshiozak@) for useful comments.
2018-06-03 07:54:51 +00:00
ryoon
d515f9dec1 Enable Synaptics multifinger capability (Extended W mode)
Magic parameters are taken from
  https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller/.
Tested on HP ProBook 4630s, Lenovo E530, VAIO Pro 11 and HP Spectre x360 ae.
2018-06-03 07:24:18 +00:00
chs
bbfe9dbd31 tweak the osnet compat headers to allow building on MacOS and Linux hosts. 2018-06-03 05:55:08 +00:00
eadler
94ea5fdc4c top(1): revert 1.11
This change breaks the expectations of users that would like a coredump
of top(1). Other similar applications such as vmstat(1) don't do this.
Since the change was just a courtesy, revert.
2018-06-03 05:29:27 +00:00
wiz
75813253f0 Fix MKFIRMWARE description. 2018-06-03 04:41:04 +00:00
wiz
c6684071f4 Fix MKSANITIZER default in description. 2018-06-03 04:38:12 +00:00
chs
01d6e97218 avoid calling kpause() with a delay of 0. 2018-06-03 03:05:56 +00:00
jakllsch
0916e62f2d remove trailing whitespace 2018-06-03 02:13:09 +00:00
pgoyette
4916f7c312 Update sets lists for new MLINKS for module(9) 2018-06-03 01:55:16 +00:00
pgoyette
208f2b06f4 Also add new entries in the .Nm list, and update Makefile to actually
build the MLINKS
2018-06-03 01:52:47 +00:00
pgoyette
67554cc5bd Add documentation on the module_{,un}register_callbacks() routines.
XXX Still need to document the module_specificdata_* stuff, which
XXX needs to refer to a non-existent specificdata(9) man page!
2018-06-03 01:50:28 +00:00
jmcneill
a49b409c2c Remove unnecessary include 2018-06-03 01:08:55 +00:00
jakllsch
1a7766ab41 Begin to detangle virtio from its PCI attachment 2018-06-02 22:43:15 +00:00
eadler
6aed99669b top(1): chdir to / at init
This allows us to unmount whatever directory we happen to be in when we
started top(1).

ok phone
2018-06-02 22:30:19 +00:00
christos
05bd7e9dc7 make his freestanding. 2018-06-02 22:25:30 +00:00
sevan
30515cfbc7 regen 2018-06-02 21:17:06 +00:00
sevan
63f24777ae Apple Bluetooth adapter, as found on the G4 PowerBook FW-800 (PowerBook5,2)
ubt0: Apple Computer (0x5ac) product 8203 (0x8203), rev 1.10/5.26, addr 2
2018-06-02 21:15:33 +00:00
mrg
446e08b1e8 just include <sys/mutex.h> for mkioctls. this works fine for me
for several platforms and fixes the clang build.
2018-06-02 20:07:15 +00:00
sevan
abfe5b0785 Enabled IPsec & ipsecif(4) support by default.
ok macallan
2018-06-02 19:28:39 +00:00
sevan
f43cf75ad4 gem(4) can also be connected to makphy(4), as found on a G4 PowerBook
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x80)
gem0: interrupting at irq 41
makphy0 at gem0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 1
gem0: Ethernet address 00:0a:95:xx:xx:xx, 10KB RX fifo, 4KB TX fifo
2018-06-02 19:08:34 +00:00
christos
5a38769f09 - Remove more extraneous includes to avoid circular dependencies with the
real header files.
- Add <sys/errno.h> to <sys/systm.h> to avoid changing the source, but
  it should really belong to the source.
2018-06-02 18:46:34 +00:00
christos
01b176c704 disable sanitizers and relro 2018-06-02 18:11:26 +00:00
christos
50f0215b97 don't include <sys/proc.h> 2018-06-02 15:47:22 +00:00
chs
c40f790c72 add missing boilerplate for UVMHIST. 2018-06-02 15:24:55 +00:00
christos
d0972049fa Sanitizers don't support static linking. 2018-06-02 15:19:45 +00:00
christos
47f8b73049 Disable sanitizers for the kernel. 2018-06-02 15:09:37 +00:00
christos
ee80b447c2 Disable MKSANITIZER 2018-06-02 14:31:40 +00:00
christos
2ca450f684 Add NORELRO 2018-06-02 14:30:35 +00:00
christos
6a25eb7024 - Disable MKSANITIZER
- Redo using NOPIE
- Add NORELRO
2018-06-02 14:30:06 +00:00
jakllsch
255b42d2c0 fix CVS keyword in __KERNEL_RCSID 2018-06-02 13:30:32 +00:00
maxv
975c668a99 Copy more mbuf flags. 2018-06-02 11:56:57 +00:00
roy
1b37df17ff Note import of dhcpcd-7.0.5 2018-06-02 09:45:56 +00:00
roy
0450c156e9 Sync 2018-06-02 09:44:27 +00:00
roy
32efa79ab1 Import dhcpcd-7.0.5 with the following changes:
*  dhcp: Clarified some checksumming code, style and commentary
     (thanks to Maxime Villard)
  *  dhcp6: IAID is now unique per IA type rather than global
  *  ip6: if an IA callback causes a fork, exit earlier
2018-06-02 09:42:48 +00:00
jnemeth
bb57c3804f Update calendar files for the upcoming NetBSD 8.0 release. I'm
assuming that it will be released by August 1, which is two months
from now.  Thus I used 2018 dates for all holidays between Aug.
1st and Dec. 31st, and 2019 dates for all holidays between Jan.
1st and Jul. 31st.
2018-06-02 05:55:47 +00:00
christos
622b8981a7 Move the RELRO and the SANITIZER stuff outside of the WARNS conditional! 2018-06-02 03:02:30 +00:00