Commit Graph

259234 Commits

Author SHA1 Message Date
kamil b9cf72ac86 ksh: Remove symbol clash with libc
Rename local function glob() to ksh_glob().
This is needed for installing interceptors in sanitizers.

Sponsored by <The NetBSD Foundation>
2018-06-03 16:09:31 +00:00
jakllsch a7c48ad938 Make identification of accounted aprint_error()s possible by putting a
big ugly "autoconfiguration error: " in the log when they occur.
2018-06-03 15:26:03 +00:00
christos ce6d9321cf restore \n printing. 2018-06-03 15:10:12 +00:00
jakllsch a4accc81e1 Move two probe-time aprint_errors to debug and verbose level instead.
These two are regularly happening within qemu, and would muddle up the
aprint error counter otherwise.
2018-06-03 15:02:56 +00:00
christos 68837537fe The native mutex.h has a userland visible portion. make it so and fix the
build.
2018-06-03 14:56:52 +00:00
christos be8d485d01 use a more data-driven :-) approach to avoid cut-n-pasted code. 2018-06-03 14:41:05 +00:00
martin 197cc46010 Default console device and speed to that used by syinst 2018-06-03 14:38:28 +00:00
kamil 6d98e3fd29 ktruss: Remove symbol clash with libc
Rename local function wprintf() to xwprintf().
This is needed for installing interceptors in sanitizers.

Sponsored by <The NetBSD Foundation>
2018-06-03 13:41:30 +00:00
martin fe12f91a5e Reorder fetch options: http before ftp 2018-06-03 13:23:58 +00:00
martin c52e6b59cd In the generated /etc/fstab, do not use the (temporary, during sysinst)
path name for the file in the comment, but instead the one it will
have on the target system.
2018-06-03 13:18:06 +00:00
martin 2575b4dcc3 Add an option to install onto a pre-configured wedge.
Greatly simmplifies (U)EFI setups (but does not fully automate them yet).
2018-06-03 13:16:30 +00:00
gson 213fea331c Remove stray space to unbreak build 2018-06-03 12:54:51 +00:00
kamil 3eb9a6b77e ksh: Remove symbol clash with libc
Rename local function twalk() to ksh_twak().
This is needed for installing interceptors in sanitizers.

Sponsored by <The NetBSD Foundation>
2018-06-03 12:18:29 +00:00
pgoyette 291445ac20 Clean-up, improve wording, and use terminology from the implementation
(notably, value --> datum).
2018-06-03 11:55:27 +00:00
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