252637 Commits

Author SHA1 Message Date
maya
c8856768e5 fix buffer overflow/KASSERT when cookies are supplied
lfs no longer uses the ffs-style struct direct, use the correct minimum
size

from dholland
XXX more wrong
2017-08-04 07:27:42 +00:00
mrg
5e22a92ec6 add SIGINFO support. 2017-08-04 07:27:08 +00:00
mrg
9cb0f8bd7b add a "saveblks <file>" command that saves the data blocks of the current
inode into named file.
2017-08-04 07:19:35 +00:00
mrg
65d1d4aa12 normalise a BIOHIST log message 2017-08-04 07:00:17 +00:00
msaitoh
c359a2130c Sync with FreeBSD's r321294:
- Dump TCG ACPI spec table (TCPA) more.
 - Dump DMA Remapping Reporting table (DMAR).
 - Consistently cast ACPICA 64-bit integer types when we print them.
 - Display the 'Flags' field in the HPET Description Table.
 - Do not crash when RSDT/XSDT contains an empty entry.
 - Print 64-bit addresses clearly with leading zeros to avoid confusions.
 - Create temp file safely.
 - Add missing flags into FADT.
 - Print some new ACPI 5.1 MADT entries.
 - Use __arraycount().
 - Warn and exit loop on invalid subtable length.
 - Fix the type used to hold the value returned from getopt. On arm64 char is
   unsigned so will never be -1.
2017-08-04 06:30:36 +00:00
kre
7cd73c9220 Fix a typo, and make a couple of minor wording improvements.
I resisted the (very weak) impulse to Americanise some spellings ...
2017-08-04 02:43:56 +00:00
ginsbach
fdcd803e08 Expand the traceroute6 man page
- Add a proper description paragraph before launching into describing the
  options.  More closely follow format of the traceroute(8) man page.
- Improve the wording for some option descriptions.
- Add description what what is printed and define what the possible
  annotations mean.
2017-08-04 02:08:21 +00:00
mrg
bbf2be38c0 put the location of gmp/mpc/mpfr in a variable so we can .old them. 2017-08-04 01:18:39 +00:00
ginsbach
2c7d87026b There are more than four types of encoding. The combination of
VIS_CSTYLE | VIS_OCTAL is different from either separately.
2017-08-04 01:06:22 +00:00
mrg
634cdb733a put all the ELD debugging messages under #ifdef HDAFG_HDMI_DEBUG.
this silences a frequent and largely useless series of messages
in my dmesg.  ok jmcneill.
2017-08-04 00:25:23 +00:00
mrg
56cd2f0399 pass the target specific CPUFLAGS and CPPFLAGS for the .c.o rule.
should fix a problem rjs@ reported.
2017-08-03 22:01:29 +00:00
mrg
79ce5b417f remove unused files 2017-08-03 22:00:38 +00:00
phx
bb6df0b9c3 This driver should also support Schneider & Koch SK-9821 v2.0, besides
Marvell SKnet.
2017-08-03 19:51:00 +00:00
phx
835edfa396 Some Synology network devices show vendor 0x1148 (Schneider & Koch) instead
of 0x11ab (Marvell). Detect both.
Improve spinning up of both disk drives on Synology DS20x by adding some
more delays (directly at the start and after powering up the second drive).
2017-08-03 19:22:15 +00:00
msaitoh
1848778b0b Add note about bootme flag:
The bootme flag is used to indicate which partiotion should be booted
	by UEFI boot code.
2017-08-03 14:39:31 +00:00
mbalmer
efe7e63653 Apply a bug fix from lua.org/bugs.html: Lua does not check GC when creating
error messages.
2017-08-03 13:40:07 +00:00
martin
49eaa9042e Add options MODULAR 2017-08-03 12:34:32 +00:00
isaki
f0e0e27a84 Fix resource leaks on error handling in audio_open(). 2017-08-03 11:39:06 +00:00
phx
61de8846ba Fixed overflow in delay() for delays greater than 2 seconds.
Replaced u_long by uint32_t and u_quad by uint64_t whenever the exact
32- or 64-bit word is needed.
2017-08-03 09:42:34 +00:00
ozaki-r
8be5cabc41 Introduce KEY_SA_UNREF and replace KEY_FREESAV with it where sav will never be actually freed in the future
KEY_SA_UNREF is still key_freesav so no functional change for now.

This change reduces diff of further changes.
2017-08-03 06:32:51 +00:00
ozaki-r
531cb3d6df MP-ify SAD slightly
- Introduce key_sa_mtx and use it for some list operations
- Use pserialize for some list iterations
2017-08-03 06:31:58 +00:00
ozaki-r
f3f2610925 Rename local variable newsah to sah
It may not be new.
2017-08-03 06:31:16 +00:00
ozaki-r
421c6ccec6 Use pslist(9) for sah->savtree 2017-08-03 06:30:40 +00:00
ozaki-r
b6836b818e Use pslist(9) for sahtree 2017-08-03 06:30:04 +00:00
msaitoh
9b32f8487a On UEFI environment, ACPI table is not at low address. Get ACPI root pointer
from hw.acpi.root first. Same as FreeBSD. This change fixes a problem that
acpidump(8) showed "acpidump: Can't find ACPI information".

XXX pullup-8
2017-08-03 05:54:45 +00:00
ozaki-r
894072c9be Remove unnecessary KEY_FREESAV in an error path
sav should be freed (unreferenced) by the caller.
2017-08-03 04:42:26 +00:00
ozaki-r
3f30ca4e9f Clean up clunky eval strings
- Remove unnecessary \ at EOL
  - This allows to omit ; too
- Remove unnecessary quotes for arguments of atf_set
- Don't expand $DEBUG in eval
  - We expect it's expanded on execution

Suggested by kre@
2017-08-03 03:16:26 +00:00
ozaki-r
2e797675fd Don't allow sav->lft_c to be NULL
lft_c of an sav that was created by SADB_GETSPI could be NULL.
2017-08-03 03:12:02 +00:00
taca
649a518996 ISC DHCP 4.3.6 has released. 2017-08-03 00:05:56 +00:00
jmcneill
1385e4296e Make the 'no results found' message sound less harsh.
Changes "try using better keywords" to "try using different keywords".
2017-08-02 12:52:18 +00:00
simonb
ccaf532779 Kernel output format nit. 2017-08-02 12:23:43 +00:00
isaki
e5eeedffd9 Use endian conversion macros (and some rearrange for readability).
No functional changes.
2017-08-02 10:10:10 +00:00
cherry
da413d611f Reorg the virtio(4) config(9) code to be explicitly pci specific.
We'll later use this for a non-pci virtio(4) usecase.

ok martin
2017-08-02 08:39:14 +00:00
msaitoh
0bd083dcfb regen. 2017-08-02 07:35:47 +00:00
msaitoh
b3e4786cbc PCI device ID of Atom x5-Z8350's video is 0x22b0. ark.intel.com says 0x22b0 is
Intel HD Graphics 400.
2017-08-02 07:35:05 +00:00
ozaki-r
5084329750 Add test cases that there are SPs but no relevant SAs 2017-08-02 06:30:00 +00:00
ozaki-r
2f2b76a0a5 Comment out unused functions 2017-08-02 04:03:28 +00:00
ozaki-r
9b2bb5af94 Don't use KEY_NEWSP for dummy SP entries
By the change KEY_NEWSP is now not called from softint anymore
and we can use kmem_zalloc with KM_SLEEP for KEY_NEWSP.
2017-08-02 03:45:57 +00:00
ozaki-r
548d2e187c Add test cases for setsockopt(IP_IPSEC_POLICY) 2017-08-02 02:19:56 +00:00
ozaki-r
ae6fc59569 Add missing IPsec policy checks to icmp6_rip6_input
icmp6_rip6_input is quite similar to rip6_input and the same checks exist
in rip6_input.
2017-08-02 02:18:17 +00:00
ozaki-r
85726f01af Fix updating ipsec_used; turn on when SPs on sockets are added 2017-08-02 02:12:42 +00:00
ozaki-r
be3162c03e Fix updating ipsec_used
- key_update_used wasn't called in key_api_spddelete2 and key_api_spdflush
- key_update_used wasn't called if an SP had been added/deleted but
  a reply to userland failed
2017-08-02 01:59:26 +00:00
ozaki-r
0c084e85e9 Make IPsec SPD MP-safe
We use localcount(9), not psref(9), to make the sptree and secpolicy (SP)
entries MP-safe because SPs need to be referenced over opencrypto
processing that executes a callback in a different context.

SPs on sockets aren't managed by the sptree and can be destroyed in softint.
localcount_drain cannot be used in softint so we delay the destruction of
such SPs to a thread context. To do so, a list to manage such SPs is added
(key_socksplist) and key_timehandler_spd deletes dead SPs in the list.

For more details please read the locking notes in key.c.

Proposed on tech-kern@ and tech-net@
2017-08-02 01:28:02 +00:00
uwe
02e8a058e6 Fix the previous fix that doesn't even compile. 2017-08-02 00:58:18 +00:00
mrg
611da43091 convert two pairs of MACHINE_ARCH into two single MACHINE_CPU checks. 2017-08-01 21:50:36 +00:00
joerg
201c4626ec Fix linking for the optional llvm-ar tool. 2017-08-01 21:40:03 +00:00
joerg
f60dfd87d2 Update LLVM entry. 2017-08-01 20:09:43 +00:00
joerg
7c192b2a5e Update LLVM build glue for 5.0RC1. 2017-08-01 20:07:37 +00:00
joerg
ae9e4753b7 Mark files not present in 309604 as dead. 2017-08-01 19:58:33 +00:00
joerg
db05eb1cc8 Import clang r309604 from branches/release_50 2017-08-01 19:34:09 +00:00