Commit Graph

264407 Commits

Author SHA1 Message Date
wiz
65808c7ffa New sentence, new line. Punctuation fixes. Remove macros without effect. 2019-01-08 10:25:26 +00:00
msaitoh
fc10441db4 u_int{8,16,32}_t -> uint{8,16,32}_t. No functional change. 2019-01-08 08:52:46 +00:00
msaitoh
b0cab1f2c7 Whitespace fix. 2019-01-08 08:47:21 +00:00
tih
b953ff3f9a Remove a format character from a non-format string. 2019-01-08 08:22:20 +00:00
msaitoh
cca0bdd64f Fix a bug that bnx_miibus_read_reg() returns wrong value when
BNX_PHY_INT_MODE_AUTO_POLLING_FLAG is set. This bug doesn't cause a real
problem because BNX_PHY_INT_MODE_AUTO_POLLING_FLAG is not set.
2019-01-08 08:10:10 +00:00
mrg
3d2bd524de workaround a problem with the pegasos firmware interface:
attempting to use /dev/openfirm on this machine hangs hard.

this isn't a new problem, and i've been meaning to try to
figure it out for years, but it's become a problem since
the xf86-video-radeon driver gained code to look for the
macppc model using this interface.

this is why xorg-server 1.18 and 1.20 hang recently on the
pegasosII.


this change is fairly ugly but i couldn't think of a less
ugly method to avoid /dev/openfirm working just on this
one platform.  introduce new __OPENFIRMIO_OPEN_CHECK_BROKEN
macro and associated __openfirmio_open_check_broken(), and
use them in the new openfirmopen() to fail opens.

include proplib.h in macppc and ofppc autoconf.h since they
use it.
2019-01-08 07:46:10 +00:00
maxv
06484a82be Handle REPN. FreeBSD has a "repn movs", which is a bit unusual, but doesn't
seem illegal as far as I can tell from the AMD SDM.

With that, I can boot FreeBSD on Qemu+NVMM.
2019-01-08 07:34:22 +00:00
maxv
15c784a479 _IOWR -> _IOW 2019-01-08 07:29:46 +00:00
mrg
fa313414d6 remove the final tsleep/wakeup pair in raidframe. 2019-01-08 07:18:18 +00:00
msaitoh
7e15cd0234 KNF. No functional change. 2019-01-08 06:55:50 +00:00
kamil
8a730eb792 Import compiler-rt r350590 LLVM sanitizers 2019-01-08 06:34:23 +00:00
msaitoh
aca06011e2 KNF. No functional change. 2019-01-08 06:29:35 +00:00
msaitoh
e440d75bdf KNF. No functional change. 2019-01-08 06:17:40 +00:00
mrg
4aff0e8a96 remove reference to deleted -r option. fixes PR#53840 from J. Lewis Muir. 2019-01-08 06:04:29 +00:00
mrg
b61fdf9100 revert this commit:
>date: 2018-08-27 07:19:47 -0700;  author: riastradh;  state: Exp;  lines: +2 -0;  commitid: 9o7sY7hwNGx6zLPA;
>For now, unconditionally set nouveau verbosity to debug.

nouveau works mostly again now, and the debug output is very verbose.
2019-01-08 05:57:34 +00:00
kamil
38dfd33d61 merge new version 2019-01-08 05:44:58 +00:00
kamil
a7c257b03e Import compiler-rt r350590. LLVM sanitizers on top of unmodified files from compiler-rt-259194. 2019-01-08 05:40:27 +00:00
msaitoh
dd060881a9 Whitespace fix. No functional change. 2019-01-08 04:18:50 +00:00
msaitoh
c566509d8a u_int{8,16,32,64}_t -> uint{8,16,32,64}_t. No functional change. 2019-01-08 04:13:27 +00:00
msaitoh
ba98a0a811 Whitespace fixes. No functional change. 2019-01-08 03:14:51 +00:00
msaitoh
51c183ce48 s/u_int32_t/uint32_t/ 2019-01-08 03:03:50 +00:00
gutteridge
77213afac9 veriexecgen(8): improve example for appending /etc to the signatures
database. From Edgar Pettijohn in PR misc/53839.
2019-01-08 01:31:49 +00:00
gutteridge
a7a743c1a4 npf.conf(5): add a minor clarification about table types that can't
accept masks on IP addresses. Prompted by Rob Hunter in PR bin/51900.
2019-01-08 01:19:16 +00:00
christos
f629fca860 This now works too. 2019-01-08 00:22:11 +00:00
christos
82a6fadf05 this now works... 2019-01-08 00:21:19 +00:00
rin
814e58b5f5 Include unistd.h for write(2) and close(2). 2019-01-08 00:00:53 +00:00
sevan
ce651187b5 cgdroot 2019-01-07 23:06:40 +00:00
jdolecek
a679821368 add sysctl to easily set ubc_direct
PR kern/53124
2019-01-07 22:48:01 +00:00
jdolecek
941ea6f183 fix the disklabel sanity check coversion for case when both disklabel
and disk geometry are > DEV_BSIZE, such as fictitious cd(4) disklabel

still part of PR kern/53833
2019-01-07 22:35:55 +00:00
wiz
d8ad10e63e Remove leading zero from date. 2019-01-07 22:17:02 +00:00
jdolecek
6fb2c3e422 fix whitespace 2019-01-07 22:05:50 +00:00
jdolecek
072aa173aa move DEV_BSIZE, DEV_BSHIFT out of MD param.h, they are same on all ports
also move BLKDEV_IOSIZE, MAXPHYS, but allow override since some ports
have different value (powerpc uses NBPG for BLKDEV_IOSIZE, sun2/sun3
have lower MAXPHYS)
2019-01-07 22:00:30 +00:00
jdolecek
6779e7a282 convert the sector counts for label sanity checks to use same unit (DEV_BSIZE),
so that the check is meaningful if disklabel sector size and disk geometry
sector size differ - for example 512 disklabel vs 2048 for sparc cd(4)

conversion assumes that the sector sizes are multiples of DEV_BSIZE (512)

fixes kern/53833 by Andreas Gustafsson

Note: the checks are executed #ifdef DIAGNOSTIC, that's why nothing
is printed by 8.0 kernel, or anything built from release branches
2019-01-07 21:04:35 +00:00
sevan
c6823dd59e Add Bluetooth related terms: ACL, LMP, LELL, SCO 2019-01-07 18:48:07 +00:00
maxv
75c7df3cfe Optimize the legpref node: omit BRN (we don't care and it's the same as
OVR_CS), inline the loops, sort the checks from most to least likely
prefix, and use a compact structure.
2019-01-07 18:13:34 +00:00
scole
160c07be3d Add GENERIC.MP and GENERIC_601 kernels to sysinst menu 2019-01-07 18:08:28 +00:00
maxv
04b8bfbf75 Optimize: on single memory operand instructions, take the GPA directly from
the exit structure provided by the kernel. This saves an MMU translation,
and sometimes complex address computation (eg SIB).

Drop the GVA field, it is not useful to virtualizers.
2019-01-07 16:30:25 +00:00
christos
b5c288663f new trousers/tpm-tools 2019-01-07 15:44:47 +00:00
christos
c48b6ae7fc new config file 2019-01-07 15:43:17 +00:00
christos
71d1bfd50f merge conflicts. 2019-01-07 15:43:04 +00:00
christos
8cc77b481a tpm-tools (1.3.9.1)
- Builds with openssl 1.1.0
    - Align code properly so gcc-6 does not complain
    - update symbol file.
    - drop 02-cflags-errors-unused.patch, -Werror is gone.
    - update 03-fix-bool-error-parseStringWithValues.patch, different fix
      upstream, does not look right.

tpm-tools (1.3.8.2)

  * Add patch 03 to fix FTBFS with gcc-5
  * Merge patch 04 to fix FTBFS with clang
    Thanks to Alexander <email address hidden> for the patch.
  * Bump Standards Version to 3.9.6
2019-01-07 15:37:41 +00:00
christos
1cebe59da2 merge conflicts 2019-01-07 15:18:03 +00:00
christos
1023804e38 * TROUSERS_0_3_14
- Changes to support OpenSSL 1.1.0
- Removed some warnings for proper builds
- Changes to allow building on OS X
- Fixed memory leaks
- Fixed failure to recognize connections from localhost over IPv6
- Fixed for an exploitable local denial of service in tcsd

* TROUSERS_0_3_13
- Changed exported functions which had a name too common, to avoid collision
- Assessed daemon security using manual techniques and coverit
- Fixed major security bugs and memory leaks
- Added debug support to run tcsd with a different user/group
- Daemon now properly closes sockets before shutting down

* TROUSERS_0_3_12
- Added new network code for RPC, which supports IPv6
- Users of client applications can configure the hostname of the tcsd server
they want to connect through the TSS_TCSD_HOSTNAME env var (only works if
application didn't set a hostname in the context)
- Added disable_ipv4 and disable_ipv6 config options for server

* TROUSERS_0_3_11
- Fix build process for distros
- License was changed from GPL to BSD
- Many bugfixes
- updated man pages
2019-01-07 14:57:23 +00:00
maxv
7b117cdc82 Optimize: cache the guest state entirely in the VMCB-cache, flush it on a
state-by-state basis when needed.
2019-01-07 14:08:02 +00:00
maxv
960d1f7675 Improvements and fixes:
* Decode AND/OR/XOR from Group1.

 * Sign-extend the immediates and displacements in 64bit mode.

 * Fix the storage of {read,write}_guest_memory, now that we batch certain
   IO operations we can copy more than 8 bytes, and shit hits the fan.

 * Remove the CR4_PSE check in the 64bit MMU. This bit is actually ignored
   in long mode, and some systems (like FreeBSD) don't set it.
2019-01-07 13:47:33 +00:00
martin
d473da7064 When writing a kernel core dump, display the countdown w/o timestamps. 2019-01-07 13:10:44 +00:00
martin
0eae8cc98b Introduce new helper printf functions that get passed output
flags. Add a new kprintf flag to avoid adding time stamps
when outputing to the console. Mostly from Christos, any bugs
added by me.

Use above to print the "twiddle" (when using boot -z) without
timestamps.
2019-01-07 13:09:47 +00:00
msaitoh
fc0204df06 Fix a bug that rlphy might ignore the link partner's advertised speed. 2019-01-07 05:01:10 +00:00
jakllsch
1b966d8474 Seperate xHCI and xhci(4) TRB structs so as to avoid some of them
(the ones that the hardware doesn't touch) ending up less-aligned
than the compiler assumed.

Additionally, fix the most obvious problems that xhci(4) had on
big endian systems.

Briefly tested on a Jetson TK1 in LE and BE w/ evbarm GENERIC kernel.
2019-01-07 03:00:39 +00:00
scole
693a7a6474 increase MEMORY_DISK_ROOT_SIZE slightly to avoid running out of space
when doing some sysinst options.

Add ahc and rtk options for my testing convenience.  The 601 kernels
are still small enough for netbooting.
2019-01-07 01:44:59 +00:00