perseant
80f1b646c3
Add a member to the test data structure that indicates whether the given
...
encoding is state-dependent, and test the results of wctomb(NULL, '\0') and
mbtowc(NULL, NULL, 0) against this instead of against each other.
2017-05-25 18:28:54 +00:00
ryo
2ed8e81e66
u3ginit rename to umodeswitch
2017-05-25 10:02:15 +00:00
para
1c68cddeef
follow u3ginit driver rename to umodeswitch
2017-05-25 05:54:29 +00:00
knakahara
ecc8a11166
add cryptkop alloc/free KPI instead of manipulating cryptkop_pool directly.
2017-05-25 05:24:57 +00:00
knakahara
cce0fc1eef
remove obsoleted declarations.
2017-05-25 05:22:55 +00:00
ozaki-r
acdabb990b
Support SO_OVERFLOWED on PF_KEY sockets
...
The original author is hsuenaga@IIJ
2017-05-25 04:45:59 +00:00
ozaki-r
69db236409
Warn if failed to send up a PF_KEY message
2017-05-25 04:35:02 +00:00
ozaki-r
3d84d3f13f
KNF: remove extra leading whitespaces
2017-05-25 04:19:50 +00:00
ozaki-r
7c276de754
Protect acqtree and regtree with a mutex (key_mtx)
...
The data structures aren't used in any performance-sensitive paths,
so just using a mutex to protect them is good enough.
2017-05-25 03:36:36 +00:00
ozaki-r
b760398bd2
Fix that a fresh in_ifaddr is unexpectedly freed before activating it
...
An in_ifaddr object is initialized with refcnt=0 and the refcnt
is incremented when being enqueued to the lists. However before
enqueuing it, in_ifinit can hold and refelease a reference to
it, i.e., call ifaref and ifafree, resulting in that the object
is freed in ifafree because its refcnt is decremented to 0.
It can be reproduced by doing:
ifconfig tun0 create
ifconfig tun1 create
ifconfig tun0 10.1 10.2
ifconfig tun1 10.2 10.1
ifconfig # Cause a kernel panic (may depend on environmemts)
We need to initialize a created in_ifaddr object with refcnt=1
to make the object survive over in_ifinit.
The issue is found by ryo@
2017-05-25 02:43:43 +00:00
pgoyette
3b2df19edf
When logging a history record for biowait(), include the return address
...
as a parameter, to identify to which of the many calls to biowait() the
record refers.
2017-05-25 02:28:07 +00:00
christos
2bcef12e42
add file
2017-05-25 00:12:34 +00:00
christos
e27253125a
merge 5.31
2017-05-25 00:11:26 +00:00
christos
008b33e8a4
Import file-5.31; mostly oss-fuzz found bugs.
2017-05-24 23:59:56 +00:00
joerg
0ad2a3f96d
Add __clear_cache implementatin for SPARC/SPARC64.
2017-05-24 21:45:40 +00:00
christos
88e04a21c7
split the mode switch part of the u3g driver into a separate file so that
...
others can use it.
2017-05-24 20:23:58 +00:00
christos
11ae70bcc0
rename u3ginit driver to umodeswitch
2017-05-24 20:23:04 +00:00
christos
f54caa8bd5
give it more time.
2017-05-24 15:29:51 +00:00
knakahara
c7023dc150
make the default values of q_maxlen build parameters.
2017-05-24 10:05:09 +00:00
knakahara
48886aaf2c
implement crypto_ret_q limitation. original code is implemented by hsuenaga@IIJ.
2017-05-24 09:57:36 +00:00
hannken
3194ba799d
Use VCALL() to lock or unlock the lower node.
2017-05-24 09:55:18 +00:00
hannken
a4311f705f
Protect layer_getpages against vnodes disappearing during a
...
forced unmount.
2017-05-24 09:54:40 +00:00
knakahara
6b65b884b0
add crypto_ret_{,k}q length sysctl entries and statistics codes.
2017-05-24 09:54:35 +00:00
hannken
69174779b1
With dounmount() working on a suspended file system remove no longer
...
needed fields mnt_busynest and mnt_unmounting from struct mount.
Welcome to 7.99.73
2017-05-24 09:53:55 +00:00
hannken
c2c49e1ed2
Remove the syncer dance from dounmount(). The syncer skips
...
unmounting file systems as they are suspended.
Remove now unused syncer_mutex.
2017-05-24 09:52:59 +00:00
ozaki-r
1104a9e5a4
Enable DEBUG to know what is happening on anita/sparc
2017-05-24 09:34:48 +00:00
pgoyette
bb5356376f
Call cv_destroy() to deactivate the tun_cv before calling kmem_intr_free()
...
to deallocate the containing memory chunk (the tunnel's softc). Otherwise
a LOCKDEBUG kernel will panic in tun_clone_destroy().
Fixes PR kern/52255
2017-05-24 06:52:14 +00:00
msaitoh
7cd8be93cc
Decode TPH Requester Control register.
2017-05-24 06:51:27 +00:00
skrll
88ec90756c
Check the "Havard TLB" maintenance operations if the "Unified TLB"
...
maintenance opeations don't include invalidate by ASID. Some CPUs, e.g.
Cortex-A8, have Havard TLBs and report ASID operations this way.
2017-05-24 06:31:07 +00:00
skrll
244dc6cfe5
Move closer to the common pmap by using the same pmap_remove_all
...
optimisation where TLB flushes are avoided by clever ASID assignment.
pmap_remove_all_complete can now be removed.
2017-05-24 06:27:33 +00:00
knakahara
e8e1213ba4
initialize sysctl in the same way regardless of module or not.
2017-05-24 05:11:29 +00:00
christos
f04dbdd3e4
sprinkle __diagused to fix the powerpc build, which is not DIAGNOSTIC.
2017-05-23 22:18:17 +00:00
christos
505231416e
Add the error in syscall failure.
2017-05-23 16:01:46 +00:00
christos
535d7bd162
not allowed to map RWX anymore.
2017-05-23 15:56:55 +00:00
abhinav
2f6fb75f1b
Make the name comparison case insensitive.
...
(The old whatis(1) also used to do case insensitive string comparisons).
2017-05-23 15:27:54 +00:00
abhinav
f703bc6a87
Use literal for formatting the examples
...
Based on OpenBSD awk(1) man page.
Ok wiz@
2017-05-23 14:11:08 +00:00
wiz
0fd9b44efc
New sentence, new line. Bump date for previous.
2017-05-23 13:55:32 +00:00
christos
c415a8906b
Handle dk disks and print errors.
2017-05-23 13:04:29 +00:00
ozaki-r
8db5286d3d
Use __arraycount (NFC)
2017-05-23 09:08:45 +00:00
nonaka
5c120a76bd
x86: Add preliminary x2APIC support.
...
x2APIC is used only when x2APIC is enabled in BIOS/UEFI.
LAPIC ID is not supported above 256.
2017-05-23 08:54:38 +00:00
nonaka
b38f39ae58
x86: hypervisor detection from FreeBSD for x2APIC support.
2017-05-23 08:48:34 +00:00
nat
0186f2c0eb
Fix broken logic with regard to the use of uvm_unmap. Call uvm_unmap with
...
the correct arguments.
Ok chs@.
2017-05-23 07:57:26 +00:00
nonaka
1d6b1544e7
regen
2017-05-23 07:13:11 +00:00
nonaka
94940de272
Add some AMD entries.
2017-05-23 07:12:56 +00:00
nat
d149b257d2
Revert locking changes back to rev 1.149. Dropping and reaquiring the
...
interrupt lock was not necessary for the proper operation of uaudio
devices.
2017-05-23 04:58:49 +00:00
ozaki-r
b93af5517f
Fix builds
2017-05-23 04:51:31 +00:00
ozaki-r
18db854e5d
Disable secspacq stuffs that are now unused
...
The stuffs are used only if sp->policy == IPSEC_POLICY_IPSEC
&& sp->req == NULL (see ipsec{4,6}_checkpolicy). However, in the
current implementation, sp->req never be NULL (except for the
moments of SP allocation and deallocation) if sp->policy is
IPSEC_POLICY_IPSEC.
It seems that the facility was partially implemented in the KAME
era and wasn't completed. Make it clear that the facility is
unused for now by #ifdef notyet. Eventually we should complete
the implementation or remove it entirely.
2017-05-23 04:26:08 +00:00
nonaka
e033f55374
whitespace
2017-05-23 03:23:58 +00:00
nonaka
1ed4d0df21
x86: No ioapic_softc.sc_apicid is used anymore. Use ioapic_softc.sc_pic.pic_apicid.
2017-05-23 03:18:40 +00:00
ozaki-r
cc005244cf
Prepare to retire __LIST_CHAINED
...
We shouldn't relpy on the band-aid and instead use a lock or
refcnt to maintain chains properly. Before removing them,
replace conditionals with KASSERTs and see what will happen.
2017-05-23 03:13:52 +00:00