Commit Graph

270412 Commits

Author SHA1 Message Date
gson 8dd7503246 Incrase pxeboot code size limit from 64k to 128k. Fixes PR kern/54560.
The start_pxe.S part was suggested by mlelstv.
2019-09-27 08:57:10 +00:00
mlelstv ac4fabcadc Ensure failure if resid goes negative. 2019-09-27 08:17:11 +00:00
mlelstv 2030671b99 signed/unsigned mismatch. 2019-09-27 08:12:01 +00:00
wiz 9d3e825cb4 Sort errors. Remove trailing whitespace. 2019-09-27 07:20:07 +00:00
hkenken 9e55e6308e Add i.MX SPI device type.
IMX31_CSPI
	IMX35_CSPI
	IMX51_ECSPI
2019-09-27 02:59:21 +00:00
hkenken d8665b6fda Add SDHC_FLAG_NO_BUSY_INTR flag. 2019-09-27 02:54:57 +00:00
chs 3ea1957ac9 do not clear "cold" in MD code, that is done in MI code.
this instance was missed when that was changed 20 years ago.
2019-09-27 00:53:34 +00:00
pgoyette ccc3f35b62 Actually return the updated pointer-to-mbuf-pointer to the caller
rather than discarding-after-assignment.  Introduced from the
[pgoyette-compat] branch work.

Welcome to 9.99.14 !!!  (Module hook routine prototype changed.)

Found by the lgtm bot, reported via private Email from maxv@
2019-09-27 00:32:03 +00:00
bad 604f5fbb67 rtadvd needs expandm.[hc] from libwrap. 2019-09-26 22:43:36 +00:00
bad 6551e0cc8c revert r1.35-r1.40 of sys/rump/listsrcdirs.
addressed differently in tools/Makefile r1.204.
2019-09-26 22:39:55 +00:00
sjg 7d130808c7 Do not assume safe to pass NULL to realpath(3).
PR: 54574
Reviewed by: buhrow
2019-09-26 21:09:55 +00:00
christos d23402aa92 provide VNOVALSIZE and VNOVALFLAGS to avoid casting in source. 2019-09-26 20:57:19 +00:00
christos 5c69aad9bb Validate register number before fetching/storing it (Gopikrishnan Sidhardhan) 2019-09-26 20:11:10 +00:00
christos 5305e0052c kill WARNS = 3 2019-09-26 18:45:00 +00:00
christos 931165c7dc Cast m_mbuflen() result to "size_t". It could also be "u_int" since it is
assigned to "u_int", but all the other "standalone" equivalent functions return
"size_t".
2019-09-26 18:44:45 +00:00
christos b9a70faf36 kill WARNS = 3 2019-09-26 18:36:08 +00:00
christos e86444da16 cast VNOVAL to the the va_size type which is u_quad_t... I think it is time
to change this to uint64_t...
2019-09-26 18:35:48 +00:00
bad c3c178f615 Provide a weak alias for vnode_to_path to be used unless librumpvfs is present. 2019-09-26 17:52:50 +00:00
christos 1283b96a83 Kill WARNS = 3 2019-09-26 17:34:56 +00:00
christos 41d496bc7d fix sign-compare issues: uio->uio_offset (off_t) is compared with (size_t):
cast the offset to size_t.
2019-09-26 17:34:08 +00:00
christos 9625eb0427 Rewrite the procfs_fileno as an inline function to make it more clear what
it does...
2019-09-26 17:33:18 +00:00
christos 75a357d94d document errors returned by F_GETPATH 2019-09-26 17:13:52 +00:00
jmcneill 1814583a15 Do a full reset of the console at startup 2019-09-26 14:28:14 +00:00
nonaka fcd0bf31a0 x86 efiboot: pass a filename to BOOTP and parse a DHCP server provided filename. 2019-09-26 12:21:03 +00:00
nonaka 067319d1de nvme(4): Don't attach the device, if namespace not found. 2019-09-26 11:50:32 +00:00
gutteridge 869ccd074a cgd_crypto.c: fix minor typo in comment 2019-09-26 11:47:38 +00:00
mlelstv 6883e45b87 Fix FALLTHROUGH comments. 2019-09-26 11:01:09 +00:00
mlelstv dacdd9d9b5 Need MIN in userland. Also some more signed/unsigned clashes. 2019-09-26 10:47:30 +00:00
mlelstv 3a8aa0a47c nspares is now unsigned. Validate and use as positive integer. 2019-09-26 10:33:30 +00:00
bad e768752f39 Exclude more subdirs if TOOLS_BUILDRUMP=yes.
Exclude subdirs added in the last 3 years but not need for rumpkernel builds.
2019-09-26 09:21:34 +00:00
bouyer 00fd5b55ed Abort attach if acpi_intr_establish() fails. From K. Schreiner on
current-users@.
2019-09-26 08:16:26 +00:00
mrg 36ac495d2b merge gcc 7.4 into gcc.old part 3 (last?) 2019-09-26 08:02:28 +00:00
msaitoh 04f094f7be Define CPUID_CAPEX_FLAGS's bit 10 correctly. 2019-09-26 06:42:52 +00:00
mrg 1debfc3d3f merge gcc 7.4 into gcc.old part 2. 2019-09-26 05:55:33 +00:00
mrg ac10021d3f merge gcc 7.4 into gcc.old. 2019-09-26 05:51:13 +00:00
mrg 3ad841b2f6 import GCC 7.4 as gcc.old 2019-09-26 05:45:16 +00:00
msaitoh 5d363c29eb Fix typo in comment. 2019-09-26 04:16:03 +00:00
christos 8e49ef1dbc Kill WARNS = 3 from all the modules that now compile cleanly. 2019-09-26 02:01:02 +00:00
christos 0de6c9f66d Limit -Wno-sign-compare to only rtsock_50.c which by virtue of including
rtsock_shared.c and using m_len is a mess to fix.
2019-09-26 02:00:27 +00:00
christos f84e75b881 - promote regs from int to u_int in comparisons with unsigned constants
- cast -1 to __greg32_t which is unsigned and the LHS.
2019-09-26 01:39:22 +00:00
christos 1dee79c2bd - "source" is u_long in the kernel (and int in userland). Cast -1 to u_long.
- make "s" unsigned since blocksize is too.
2019-09-26 01:37:52 +00:00
christos a06bace066 make nspares unsigned; it is assigned from numSpares which is unsigned. 2019-09-26 01:36:10 +00:00
christos 864734c343 subdevlen is an array length, make it unsigned 2019-09-26 01:35:08 +00:00
christos fc72d154af make nmountcompatnames unsigned (assigned from __arraycount, compared with
unsigned in compat code)
2019-09-26 01:34:16 +00:00
christos 3138343282 use size_t for counters (which are compared and set with unsigneds) 2019-09-26 01:32:09 +00:00
christos 8ee34099a7 accrightslen should be u_int for compat too 2019-09-26 01:30:46 +00:00
christos 0fff779d52 make the ?: expression types match 2019-09-26 01:30:00 +00:00
christos dbc229020c accrightslen is always used in an unsigned context so make it. 2019-09-26 01:29:00 +00:00
christos 535ba13aa8 fix sign-compare issues. 2019-09-26 01:28:27 +00:00
abs 039df638d6 Switch default console tty from /dev/console to /dev/constty
With this switch processes (such as xconsole) can open /dev/console
without breaking login on the text or serial console. This can be
trivially triggered by enabling xdm in rc.conf and hitting
Ctrl+Alt+F1 or equivalent once booted.

The changes:
- Add entry for /dev/console or /dev/constty if missing
- If a port's had /dev/console 'on' switch it off and enable /dev/constty
- If a port did not have /dev/console 'on', leave /dev/constty off

Some ports had /dev/console off and /dev/ttyE0 enabled, presumably to
avoid just this issue. It may make sense to adjust these also (but not
in this pass)

As discussed on current-users
2019-09-25 23:09:19 +00:00