Commit Graph

268809 Commits

Author SHA1 Message Date
wiz 7f55a9275e New sentence, new line. Avoid formatting punctuation. Remove superfluous Pp. 2019-07-23 14:20:22 +00:00
wiz eed20ae12c Try improving a description. 2019-07-23 14:18:20 +00:00
christos 755b70304b remove stray brace 2019-07-23 13:10:11 +00:00
martin 85d19b8858 Avoid a buffer overrun with too many interfaces. 2019-07-23 12:37:23 +00:00
jmcneill ed005302f3 No need for console=fb handling with WSDISPLAY_MULTICONS 2019-07-23 12:34:47 +00:00
jmcneill 146d8d9cef Add support for WSDISPLAY_MULTICONS 2019-07-23 12:34:05 +00:00
jmcneill 31039b9bf6 Attach uarts on pass 4, matching GENERIC64 2019-07-23 12:32:40 +00:00
jmcneill 6a84c46fd2 pckbd_cngetc: Set type=0 and return if no data is available 2019-07-23 12:28:52 +00:00
skrll c644c2667e Don't busy wait for a character in plcom_common_getc, but instead
return -1 if there are no characters available.

Fixes WSDISPLAY_MULTICONS for RaspberryPI and GENERIC.

Thanks to jmcneill@ for the hint
2019-07-23 12:13:47 +00:00
skrll 61d75e1821 Trailing whitespace 2019-07-23 12:10:38 +00:00
uwe f9f52b4a0c Use .Dl for displays with single command. Specify .Bl -width with the
same formatting as the actual tags.
2019-07-23 11:02:29 +00:00
uwe 800ba6691b strfile is installed, don't claim it isn't. 2019-07-23 10:40:55 +00:00
christos 585d8da984 put the NULL check immediately after the allocation 2019-07-23 10:19:35 +00:00
christos 113f06a345 PR/54399: Sören Tempel: Uninitialized memory access in libedit history.
Initialize the buffer using calloc. While here change all malloc(a * sizeof(b))
to calloc(a, sizeof(b)). XXX: should fix realloc similarly.
2019-07-23 10:18:52 +00:00
uwe 4d25743b11 Prettify formatting. 2019-07-23 09:50:27 +00:00
christos 38ee0c7eda PR/54400: Sören Tempel: out-of-bounds read in libedit c_delbefore 2019-07-23 09:47:16 +00:00
msaitoh 9af4574bab Add IT8655 support. 2019-07-23 09:38:53 +00:00
msaitoh a2ee02a7ae Define RETA_ENTRY_MASK_Q(used in RSS redirection table) correctly.
Found by UBSan.
2019-07-23 09:37:08 +00:00
hannken d233d0f45b Create "dtrace_taskq" here like FreeBSD does.
PR kern/54397: Panic when loading a DTrace module whilst DTrace is running
2019-07-23 09:06:12 +00:00
rmind c52ca7f90f NPF portmap: add a workaround for archs without 64-bit CAS. 2019-07-23 08:25:52 +00:00
rin a491818de0 PR port-mac68k/24883
Style-only changes in preparation to import AV DMA code:

- G/C unused from esp_softc
- clean up headers:
    - prefer <sys/bus.h> over <machine/bus.h>
    - G/C unused
    - sort
- staticify private functions and variables
- stop using inline qualifier for functions called via function pointers
- use C99 initializer
- provide bus_space_vaddr(9) and use it, instead of using member of
  bus_handle_t directly
- use uint*_t:
    - u_char --> uint8_t
    - u_int*_t --> uint*_t
- use proper names from ncr53c9xreg.h instead of magic numbers
- and some KNF, and etc.

No functional changes intended.
2019-07-23 07:52:53 +00:00
hannken b83fa74ac8 Move local changes to files below "external/cddl/osnet/dist/" and
remove now unneeded files from "external/cddl/osnet/sys/sys/".

- sys/sys/bitmap.h -> dist/uts/common/sys/bitmap.h
- sys/sys/callb.h -> dist/uts/common/sys/callb.h

Stop including "cpupart.h", not needed for build.
2019-07-23 07:46:22 +00:00
hkenken 0656a7fbc7 Modified enet_attach_common(). 2019-07-23 06:36:36 +00:00
martin 9aa5d31cf0 Add a note to rebuild jemalloc w/o debugging 2019-07-23 06:35:40 +00:00
martin 8576992150 Disable JEMALLOC_DEBUG, it served us well, but now we want performance
back. Discussed with christos.
2019-07-23 06:31:20 +00:00
knakahara 445b9abee3 vmx(4) can be detached now. 2019-07-23 04:50:05 +00:00
ozaki-r f9e037adf1 setkey: document getspi and update 2019-07-23 04:32:06 +00:00
ozaki-r ac002ee323 tests: add tests for getspi and udpate 2019-07-23 04:31:25 +00:00
ozaki-r 8e5aa2c9b8 setkey: enable to use the getspi API
If a specified SPI is not zero, tell the kernel to use the SPI by using
SADB_EXT_SPIRANGE.  Otherwise, the kernel picks a random SPI.

It enables to mimic racoon.
2019-07-23 04:30:32 +00:00
ozaki-r 58b6a74e54 ipsec: fix a regression of the update API
The update API updates an SA by creating a new SA and removing an existing SA.
The previous change removed a newly added SA wrongly if an existing SA had been
created by the getspi API.
2019-07-23 04:29:26 +00:00
nonaka 889dcccd73 kdump(1): Symbolic printing for MALLOC_OPTIONS="U". 2019-07-23 01:54:51 +00:00
rmind dadc88e3b0 NPF improvements:
- Add support for dynamic NETMAP algorithm (stateful net-to-net).
- Add most of the support for the dynamic NAT rules; a little bit more
  userland work is needed to finish this up and enable.
- Replace 'stateful-ends' with more permissive 'stateful-all'.
- Add various tunable parameters and document them, see npf-params(7).
- Reduce the memory usage of the connection state table (conndb).
- Portmap rewrite: use memory more efficiently, handle addresses dynamically.
- Bug fix: add splsoftnet()/splx() around the thmap writers and comment.
- npftest: clean up and simplify; fix some memleaks to make ASAN happy.
2019-07-23 00:52:01 +00:00
rmind ac03b3fba2 - nvpair_create_stringf: use the in-kernel vasprintf().
- Make nvlist_add_stringf() availabe in the kernel.
2019-07-23 00:49:16 +00:00
kre 8ad10c91e9 Amend the previous change: we can have (almost) the best of both
worlds, as when the first arg (which should be the format) contains
no % conversions, and there are more args, the results are unspecified
(according to POSIX).

We can use this so the previous usage
	printf -- format arg...
(which is stupid, and pointless, but used to work) continues to
simply ignore the -- (unspecified results mean we can do whatever
feels good...)

This brings back the #if 0'd block from the previous modification
(so there is no longer anything that needs cleaning up later) but runs
the getopt() loop it contained only when there are at least 2 args
(so any 1 arg printf always uses that arg as the format string,
whatever it contains, including just "--") and also only when the
first (format) arg contains no '%' characters (which guarantees no %
conversions without needing to actually parse the arg).  This is the
(or a) "unspecified results" case from POSIX, so we are free to do
anything we like - including assuming that we might have options
(we don't) and pretending to process them.
2019-07-22 17:34:31 +00:00
wiz d3d2abdc28 Move bcm43xx to /libdata/firmware, where all the other firmwares live.
Deprecate /usr/libdata/firmware.
2019-07-22 14:47:51 +00:00
sevan 26965a4a65 Use double dash to simulate em dash 2019-07-22 13:44:13 +00:00
sevan cef2b4ad5b Use \(em to get an emphasis dash 2019-07-22 13:37:37 +00:00
hkenken f09655c62b Change register assignments. 2019-07-22 11:44:01 +00:00
nakayama 62fb785605 hvkbd requires pckbd_keydesctab in wskbdmap_mfii.c. 2019-07-22 09:58:39 +00:00
sevan a99bcdece4 Art for the masses - The Dream Machine
The text used an em dash which I've replaced with a coma here.
2019-07-22 09:47:28 +00:00
knakahara ae10409ad9 remove unnecessary NULL check after kmem_zalloc(KM_SLEEP) 2019-07-22 06:52:06 +00:00
skrll c9e2a29280 KNF (from nhusb) 2019-07-22 06:24:57 +00:00
hkenken 7f5c8c22f3 Trailing whitespace 2019-07-22 01:35:36 +00:00
wiz 3569e60225 Fix mismerge of man page after 1.0.8 import. 2019-07-21 21:07:12 +00:00
maya d2a15d1296 update bzip2 homepage and version 2019-07-21 19:03:12 +00:00
rin 06d032efb5 Enable DISKLABEL_EI, which is useful for machines that support both endian. 2019-07-21 17:05:11 +00:00
rin 84899fcd0b Enable us to load kernel image of different byte order. Now, earmv7hf-eb
kernel can successfully boot from EFI bootloader.

XXX
We need to recognize disklabel and filesystem written in opposite byte oder.
2019-07-21 17:01:39 +00:00
rin a1eeaadb07 Add SA_ENABLE_BIENDIAN option, which enable us to load kernel image of
opposite byte order (for arm EFI bootloader).

XXX
Currently, it is restricted to load_elf*.c. It would be nice if we can
recognize disklabel and filesystem of opposite byte order.
2019-07-21 16:53:17 +00:00
rin d4aa74c3bc Fix cursor movement for ri_xscale = 1, e.g., fontwidth = 8 and bpp = 1. 2019-07-21 16:19:45 +00:00
rin 6a0f68df82 Fix byte order of stamp for big endian so that width-optimized
putchar functions work correctly.
2019-07-21 16:18:08 +00:00