freebsd-dev/sys
Doug Moore da92ecbc0d vm_phys: fix seg->end test in alloc_seg_contig
In vm_phys_alloc_seg_contig, in allocating multiple memory blocks for
a huge allocation, ensure that the end of the allocated range does not
exceed the upper segment limit.

Reorder a couple of checks to improve code layout.

Reviewed by:	alc
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D33870
2022-01-18 12:49:09 -06:00
..
amd64 exec: Remove the stack gap implementation 2022-01-17 16:11:54 -05:00
arm exec: Introduce the PROC_PS_STRINGS() macro 2022-01-17 16:11:54 -05:00
arm64 exec: Remove the stack gap implementation 2022-01-17 16:11:54 -05:00
bsm
cam iscsi: Abort fewer data-out tasks on a terminating session. 2022-01-18 09:28:43 -08:00
cddl dtrace: add a knob to control maximum size of principal buffers 2022-01-11 15:47:50 +02:00
compat freebsd32: Fix layout of struct shmid_kernel32. 2022-01-18 10:42:21 -08:00
conf x86/apic: remove apic_ops 2022-01-18 10:19:04 +01:00
contrib Revert "wpa: Import wpa 2.10." 2022-01-18 08:10:33 -08:00
crypto crypto: Re-add encrypt/decrypt_multi hooks to enc_xform. 2022-01-11 14:17:41 -08:00
ddb ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
dev ofw_pci: Fix incorrectly sized softc causing pci(4) out-of-bounds reads 2022-01-15 19:03:53 +00:00
dts
fs unionfs: allow vnode lock to be held shared during VOP_OPEN 2022-01-11 18:44:03 -08:00
gdb
geom Use G_ELI_IVKEYLEN as the size of IV in the user test code. 2022-01-13 17:22:06 -08:00
gnu
i386 exec: Reimplement stack address randomization 2022-01-17 16:12:36 -05:00
isa sys/isa: Use C99 fixed-width integer types. 2021-12-28 09:41:57 -08:00
kern proc: Add a sysctl to fetch virtual address space layout info 2022-01-17 16:12:43 -05:00
kgssapi
libkern sys/libkern: Use C99 fixed-width integer types. 2021-12-28 09:42:11 -08:00
modules linux: add sysctl to pass untranslated interface names 2022-01-17 09:35:15 +00:00
net netmap: fix LOR in iflib_netmap_register 2022-01-14 21:09:04 +00:00
net80211 net80211: ieee80211_dump_node() cosmetics 2022-01-17 00:01:46 +00:00
netgraph domains: make domain_init() initialize only global state 2022-01-03 10:15:22 -08:00
netinet tcp: Warning cleanup from new compiler. 2022-01-18 07:41:18 -05:00
netinet6 domains: make domain_init() initialize only global state 2022-01-03 10:15:22 -08:00
netipsec syncache: accept packet with no SA when TCP_MD5SIG is set 2022-01-08 16:32:14 -09:00
netpfil pf: ensure we don't destroy an uninitialised lock 2022-01-16 09:04:57 +01:00
netsmb
nfs nfs: don't truncate directory cookies to 32-bits in the NFS server 2021-12-15 20:54:57 -07:00
nfsclient
nfsserver
nlm sys/nlm: Use C99 fixed-width integer types. 2021-12-28 09:42:42 -08:00
ofed domains: init with standard SYSINIT(9) or VNET_SYSINIT() 2022-01-03 10:15:22 -08:00
opencrypto cryptosoft: Avoid referencing end-of-buffer cursors 2022-01-17 19:01:24 -05:00
powerpc sysent: Add a sv_psstringssz field to struct sysentvec 2022-01-17 11:42:07 -05:00
riscv exec: Introduce the PROC_PS_STRINGS() macro 2022-01-17 16:11:54 -05:00
rpc sys/rpc: Use C99 fixed-width integer types. 2021-12-28 09:43:15 -08:00
security Thread creation privilege for realtime group 2021-12-15 00:01:58 +02:00
sys proc: Add a sysctl to fetch virtual address space layout info 2022-01-17 16:12:43 -05:00
teken
tests
tools Revert "syscallarg_t: Add a type for system call arguments" 2022-01-12 23:29:20 +00:00
ufs Avoid unnecessary setting of UFS flag requesting fsck(8) be run. 2022-01-09 16:18:28 -08:00
vm vm_phys: fix seg->end test in alloc_seg_contig 2022-01-18 12:49:09 -06:00
x86 x86/apic: remove apic_ops 2022-01-18 10:19:04 +01:00
xdr sys/xdr: Use C99 fixed-width integer types. 2021-12-28 09:43:26 -08:00
xen Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
Makefile Fix 'make cscope' with ALL_ARCH defined 2022-01-07 11:53:52 -04:00