opnsense-src/sys
Jason A. Harmening fa4e4d55b3 Clean up a couple of MD warts in vm_fault_populate():
--Eliminate a big ifdef that encompassed all currently-supported
architectures except mips and powerpc32.  This applied to the case
in which we've allocated a superpage but the pager-populated range
is insufficient for a superpage mapping.  For platforms that don't
support superpages the check should be inexpensive as we shouldn't
get a superpage in the first place.  Make the normal-page fallback
logic identical for all platforms and provide a simple implementation
of pmap_ps_enabled() for MIPS and Book-E/AIM32 powerpc.

--Apply the logic for handling pmap_enter() failure if a superpage
mapping can't be supported due to additional protection policy.
Use KERN_PROTECTION_FAILURE instead of KERN_FAILURE for this case,
and note Intel PKU on amd64 as the first example of such protection
policy.

Reviewed by:	kib, markj, bdragon

(cherry picked from commit 8dc8feb53d)
2021-12-27 19:35:55 -05:00
..
amd64 Clean up a couple of MD warts in vm_fault_populate(): 2021-12-27 19:35:55 -05:00
arm busdma: Remove outdated comments about Giant. 2021-12-23 20:05:17 -05:00
arm64 busdma: Remove outdated comments about Giant. 2021-12-23 20:05:17 -05:00
bsm
cam mmc_sim: fix setting of the mutex name 2021-12-25 11:04:29 +02:00
cddl dtrace: Disable getf() as it is broken on FreeBSD 2021-12-26 19:15:07 -05:00
compat Regen 2021-12-20 02:29:11 +02:00
conf Per-thread stack canary on arm64 2021-12-20 11:09:27 +00:00
contrib ipfilter: Fix struct ifnet pointer type 2021-12-21 15:34:41 -08:00
crypto aesni: Fix an out-of-bounds read in AES_GCM_decrypt() 2021-12-27 10:45:36 -05:00
ddb ddb: reliably fail with ambiguous commands 2021-07-02 14:13:24 -07:00
dev amdsbwd: always enable watchdog register decoding 2021-12-27 13:37:29 +02:00
dts add rk3328 overlay for enabling analog sound 2021-11-21 12:04:42 +02:00
fs nfscl: add a filesize limit check to nfs_allocate() 2021-12-26 16:55:09 -08:00
gdb
geom GEOM: Switch g_io_deliver() locking from cp to pp. 2021-12-07 23:06:25 -05:00
gnu
i386 x86: Deduplicate clock.h 2021-12-27 10:48:00 -05:00
isa
kern Regen 2021-12-20 02:29:11 +02:00
kgssapi
libkern Switch to an ifunc in the kernel for crc32c 2021-08-30 12:22:21 +01:00
mips Clean up a couple of MD warts in vm_fault_populate(): 2021-12-27 19:35:55 -05:00
modules zfs: merge openzfs/zfs@af88d47f1 (zfs-2.1-release) into stable/13 2021-12-19 16:25:26 +01:00
net if_pflog: fix packet length 2021-12-11 10:38:50 +01:00
net80211 net80211(4): Fix a typo in a sysctl description 2021-12-07 19:53:33 +01:00
netgraph ng_l2tp: improve seq structure locking. 2021-12-20 01:21:38 +07:00
netinet kernel: partially revert e9efb1125a15, default inet mask 2021-12-10 10:28:06 -06:00
netinet6 netinet6: Fix a typo in a sysctl description 2021-12-03 16:53:41 +01:00
netipsec ipsec: fix a logic error in key_do_getnewspi 2021-12-19 14:44:52 +00:00
netpfil pfsync: fix incorrect enabling of defer mode 2021-12-13 14:49:27 +01:00
netsmb
nfs kernel: partially revert e9efb1125a15, default inet mask 2021-12-10 10:28:06 -06:00
nfsclient
nfsserver
nlm
ofed socket: Rename sb(un)lock() and interlock with listen(2) 2021-10-07 09:56:47 -04:00
opencrypto ktls: Split encrypt vs decrypt OCF counters. 2021-11-23 15:11:54 -08:00
powerpc Clean up a couple of MD warts in vm_fault_populate(): 2021-12-27 19:35:55 -05:00
riscv busdma: Remove outdated comments about Giant. 2021-12-23 20:05:17 -05:00
rpc mbuf: Only allow extpg mbufs if the system has a direct map 2021-11-29 20:34:54 -05:00
security Thread creation privilege for realtime group 2021-12-19 04:42:52 +02:00
sys hwpmc: Add IDs for Intel Comet/Ice/Tiger/Rocketlake CPUs. 2021-12-25 19:47:16 -05:00
teken
tests routing: add IPv6 fib validation procedure. 2021-09-07 21:02:58 +00:00
tools makesyscalls.lua: add a CAPENABLED flag 2021-10-20 00:19:56 +01:00
ufs ffs_softdep: Fix a typo in a source code comment 2021-11-28 12:43:32 +01:00
vm Clean up a couple of MD warts in vm_fault_populate(): 2021-12-27 19:35:55 -05:00
x86 x86: Deduplicate clock.h 2021-12-27 10:48:00 -05:00
xdr
xen
Makefile