Commit Graph

252152 Commits

Author SHA1 Message Date
ozaki-r
74f0dfc527 Fix splx isn't called on some error paths 2017-07-13 01:48:52 +00:00
ozaki-r
24bce11942 Simplify; omit unnecessary saidx passing
- ipsec_nextisr returns a saidx but no caller uses it
- key_checkrequest is passed a saidx but it can be gotton by
  another argument (isr)
2017-07-13 01:22:44 +00:00
jmcneill
4bfd07dbda Add local patches to sun8i-h3-orangepi-plus2e and sun8i-h3-nanopi-neo to
enable ethernet support.
2017-07-13 01:17:58 +00:00
jmcneill
1b047987b1 Add support for dts files outside of external/gpl2. 2017-07-13 01:17:03 +00:00
nonaka
3ce7f47319 PR/52266: Before access MSR[APICBASE], need to check if APIC is present. 2017-07-13 00:44:14 +00:00
kre
cdfea65894 Fix a reference after free (and consequent nonsense diagnostic for
attempts to set readonly variables) I added in 1.60 by incompletely
copying the FreeBSD fix for the lost memory issue.
2017-07-12 19:06:16 +00:00
christos
97c79d531d rename the macro 2017-07-12 17:55:24 +00:00
christos
15e7a34b21 make this compile with debug again (symnum uninitialized) 2017-07-12 17:54:23 +00:00
maxv
9eebcc097f rsp2, not 3 2017-07-12 17:52:18 +00:00
maxv
f3887b4838 Enable PMCs by default. 2017-07-12 17:40:33 +00:00
maxv
138795e97b Update. 2017-07-12 17:38:15 +00:00
maxv
25d629d753 Properly handle overflows, and take them into account in userland. 2017-07-12 17:33:29 +00:00
perseant
adbde1f900 Add ISO10646 versions of these tests, conditional on __STDC_ISO_10646__ .
Also make the tests a bit more verbose, to aid debugging when they fail.
2017-07-12 17:32:51 +00:00
maxv
e0e9462ba4 Build the pmc tool on amd64. 2017-07-12 17:10:09 +00:00
maxv
d04cebf14c include opt_pmc.h 2017-07-12 16:59:41 +00:00
christos
f0c0aaa76f Oops, support IPv6 if not disabled.
XXX: pullup-8
2017-07-12 12:55:41 +00:00
wiz
c595431717 Whitespace. 2017-07-12 11:23:58 +00:00
wiz
7844c72a71 Remove superfluous Pp. 2017-07-12 11:23:52 +00:00
skrll
ed0c0172cf Alignment whitespace. No functional change. 2017-07-12 09:49:08 +00:00
hannken
31624a0218 Regen. 2017-07-12 09:31:59 +00:00
hannken
d29c150b3b As VOP_ADVLOCK() may block indefinitely we cannot take fstrans here.
Fixes PR kern/52364: System hangs not much before showing the login prompt
2017-07-12 09:31:07 +00:00
hannken
ef20bebb39 When initializing more inodes make sure to write them to disk
before writing the cylinder group with updated cg_initediblk.
2017-07-12 09:30:16 +00:00
msaitoh
7944d7b2c4 Remove debug printf(). 2017-07-12 08:18:36 +00:00
msaitoh
03af119d23 Disable D0 LPLU on 8257[12356], 82580, I350 and I21[01], too. Before this commit,
above devices and non-PCIe devices accessed wrong register.
2017-07-12 08:15:31 +00:00
martin
7102d57863 Add misising DEBUGLIB file 2017-07-12 07:38:17 +00:00
ozaki-r
23f5adbe69 Omit unnecessary check of sav->state
key_allocsa_policy picks a sav of either MATURE or DYING so we
don't need to check its state again.
2017-07-12 07:33:37 +00:00
skrll
6dc8ef990b In idcache_wbinv_range if the range size is bigger than the dcache size
then call idcache_wbinv_all

Avoids a problem with large ranges as seen in
port-evbarm/52169: setting dtrace module to load cause Pi to hang on boot
2017-07-12 07:22:31 +00:00
martin
bb8ca22dcf Fix filename of new debug file 2017-07-12 07:18:40 +00:00
ozaki-r
7ec82a4369 Omit unnecessary NULL checks for sav->sah 2017-07-12 07:00:40 +00:00
pgoyette
fafd49f46d Add space before left-paren 2017-07-12 05:26:42 +00:00
msaitoh
15b23a5d89 - Add new Nuvoton devices.
- Add CAVEATS section from OpenBSD.
2017-07-12 04:39:25 +00:00
msaitoh
6b9514ee18 Add note about Nuvoton. 2017-07-12 04:38:40 +00:00
ozaki-r
040bd5bc86 Omit NULL checks for sav->lft_c
sav->lft_c can be NULL only when initializing or destroying sav.
2017-07-12 03:59:32 +00:00
ozaki-r
1d928a30be Simplify; remove unnecessary zero-clears
key_freesaval is used only when a target sav is being destroyed.
2017-07-12 03:53:55 +00:00
christos
2725a625f8 PR/52396: Edgar Pettijohn: Spell daemon consistently. 2017-07-12 01:57:43 +00:00
christos
3bf0a26b79 fix typo. 2017-07-11 21:52:54 +00:00
joerg
a5c3ba3e65 Allocate enough memory. 2017-07-11 21:19:42 +00:00
skrll
bb1020e3ec Fix up L{1_S,2_L,2_S}_PROT for recent changes to the
L{1_S,2_L,2_S}_PROT_RO* values.
2017-07-11 20:42:17 +00:00
perseant
b22c29c1cc A more correct fix for PR standards/52282. 2017-07-11 19:36:38 +00:00
christos
5dd54c880f https://orpheus-lyre.info/design/index.html
6dd3eb836b

In _krb5_extract_ticket() the KDC-REP service name must be obtained from
encrypted version stored in 'enc_part' instead of the unencrypted version
stored in 'ticket'.  Use of the unecrypted version provides an
opportunity for successful server impersonation and other attacks.

Identified by Jeffrey Altman, Viktor Duchovni and Nico Williams.

XXX: pullup 6, 7, 8.
2017-07-11 17:45:31 +00:00
dholland
b04f4542f2 Typo. 2017-07-11 15:39:31 +00:00
joerg
e5678be828 Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This
functions are used for destructors of thread_local objects.

If a pending destructor exists, prevent unloading of shared objects.
Introduce __dl_cxa_refcount interface for this purpose. When the last
reference is gone and the object has been dlclose'd before, the
unloading is finalized.

Ideally, __cxa_thread_atexit_impl wouldn't exist, but libstdc++ insists
on providing __cxa_thread_atexit as direct wrapper without further
patching.
2017-07-11 15:21:31 +00:00
gson
c73729d5e0 Fix typo in comment 2017-07-11 14:00:15 +00:00
msaitoh
1b8c284d12 - Add some devices to lm(4).
- Add NCT6795D to wbsio(4).
2017-07-11 10:14:10 +00:00
msaitoh
bf8f24ed11 lm(4): Add suport for NCT5174D, NCT6775F, NCT6779D and NCT679[1235]D.
wbsio(4): Add support for NCT6795D.
2017-07-11 10:10:51 +00:00
ozaki-r
e9d3b7a107 Separate sending message routine (NFC) 2017-07-11 10:06:07 +00:00
ozaki-r
93e528a232 Use time_mono_to_wall (NFC) 2017-07-11 09:49:15 +00:00
wiz
9f3dcb26cc Fix a macro. Fix two tables. 2017-07-11 08:32:17 +00:00
knakahara
a431af6bf4 l2tp(4): fix mbuf leak when tunnel nested over the limit
XXX need pullup -8 branch
2017-07-11 05:03:45 +00:00
ozaki-r
55664eabe8 Let key_getsavbyspi take a reference of a returning sav 2017-07-11 04:55:39 +00:00