Commit Graph

264443 Commits

Author SHA1 Message Date
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
msaitoh 909ebfa8a9 Add EEE(802.3az) support for I350, I210, I211, PCH2 and newer.
Not yet for I354(C2000). It'll be supported after implementing MI MII clause
45 register read/write API.
2019-01-07 01:43:22 +00:00
scole 08064bce7b increase IMAGESIZE slightly to avoid running out of space when doing some sysinst options 2019-01-07 01:39:26 +00:00
msaitoh dec2b78651 Add definitions of EEE advertisement(7.60) and EEE LP ability(7.61). 2019-01-07 01:37:05 +00:00
mrg a615742a1c s/1 << 31/1u << 31/.
XXX someone could __BIT() etc this file.
2019-01-07 01:03:05 +00:00
wiz 488e6a2141 Fix edito. 2019-01-06 22:30:02 +00:00
christos ba1213d69a regen 2019-01-06 22:22:02 +00:00
christos 6210d3c848 PR/53838: Scole Mail: OPENSSL_rdtsc() is reading a time counter
for randomness, and the powerpc code uses mftbu and mftb for access.
The 601 is different than other powerpcs. It doesn't have a time
base register (TBR), but a real time clock (RTC) so it needs to
use different calls like mfrtcu/mfrtcl instead.
2019-01-06 22:20:50 +00:00
joerg 06c9aa1116 When loading a non-PIE main binary, the virtual address must match.
Use MAP_TRYFIXED and verify that the result matches the expectation.
2019-01-06 19:44:54 +00:00
leot b0eace3d3a Adjust year in latest acpi(4) entry 2019-01-06 18:56:52 +00:00
maxv d89486b06d Add more VMCB fields. Also remove debugging code I mistakenly committed
in the previous revision. No functional change.
2019-01-06 18:32:54 +00:00
christos 3e93b12a17 now that our profiled c library is pic, we can use it in shared objects 2019-01-06 18:15:53 +00:00
christos a493019100 now that our profiled c library is pic we can use it in shared objects 2019-01-06 18:15:18 +00:00
christos f0d7eb24ef use the pico objects if we are making a PIC profiled library. 2019-01-06 18:14:10 +00:00
christos 9d350ea742 Since g++ uses stdc++_p when building with -pg make this PIC on the
platforms where PIC is available, so that linking shared objects with
-pg works, without needing to create a shared library version of the
profiled libraries.
2019-01-06 17:02:32 +00:00