1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00
freebsd/sys
Konstantin Belousov 714d6d09b5 imgact_elf: exclude invalid alignment requests
Only accept at most superpage alignment, or if the arch does not have
superpages supported, artificially limit it to PAGE_SIZE * 1024.
This is somewhat arbitrary, and e.g. could change what binaries do
we accept between native i386 vs. amd64 ia32 with superpages disabled,
but I do not believe the difference there is affecting anybody with
real (useful) binaries.

Reported and tested by:	pho
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D33359
2021-12-12 16:28:38 +02:00
..
amd64 ed: Remove options 2021-12-09 17:41:39 -07:00
arm Fix a set but not used warning in the arm GIC driver 2021-12-10 13:29:11 +00:00
arm64 Fix set but not used warnings in arm64 rockchip 2021-12-10 13:29:11 +00:00
bsm Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
cam ctl: plug set-but-not-unused var 2021-12-10 12:06:48 +00:00
cddl Allow ddb and dtrace use the DMAP region on arm64 2021-10-01 11:27:33 +01:00
compat Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
conf ed: Remove options 2021-12-09 17:41:39 -07:00
contrib ip_log: remove set-but-not-unused vars 2021-12-10 21:52:54 -08:00
crypto cryptosoft: Fully support per-operation keys for auth algorithms. 2021-12-09 11:52:42 -08:00
ddb Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
dev hdda: Remove extra topo_unlock 2021-12-10 10:01:21 -07:00
dts add rk3328 overlay for enabling analog sound 2021-11-13 11:09:23 +02:00
fs nfscl: Fix must_commit/writeverf handling for Direct I/O 2021-12-11 15:00:30 -08:00
gdb
geom Revert "geom_bde: plug set-but-not-used vars" 2021-12-09 19:23:05 +00:00
gnu
i386 ed: Remove options 2021-12-09 17:41:39 -07:00
isa
kern imgact_elf: exclude invalid alignment requests 2021-12-12 16:28:38 +02:00
kgssapi
libkern libkern: remove bcopy 2021-08-24 11:24:07 +00:00
mips busdma: Remove outdated comments about Giant. 2021-12-09 22:18:53 -05:00
modules if_epair: fix module build outside of kernel build environment 2021-12-11 11:07:50 +07:00
net Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
net80211 net80211(4): Fix a typo in a sysctl description 2021-12-04 12:09:17 +01:00
netgraph ng_ubt(4): Add missing module dependency for _net_bluetooth sysctl node. 2021-12-08 10:18:32 +01:00
netinet ifnet_byindex() actually requires network epoch 2021-12-06 09:32:31 -08:00
netinet6 in6p_set_multicast_if(): fix malloc(M_WAITOK) with epoch 2021-12-06 14:33:23 -08:00
netipsec ipsec: fix a panic with INVARIANTS 2021-12-03 14:22:23 -09:00
netpfil pfsync: fix incorrect enabling of defer mode 2021-12-06 13:25:14 +01:00
netsmb
nfs kernel: partially revert e9efb1125a15, default inet mask 2021-11-14 14:12:25 -06:00
nfsclient
nfsserver
nlm
ofed socket: De-duplicate SBLOCKWAIT() definitions 2021-09-14 09:01:32 -04:00
opencrypto cryptosoft: Stop single-threading requests within a session. 2021-12-09 11:52:43 -08:00
powerpc busdma: Remove outdated comments about Giant. 2021-12-09 22:18:53 -05:00
riscv riscv: Fix PLIC -Wunused-but-set-variable warnings 2021-12-10 04:51:32 +00:00
rpc mbuf: Only allow extpg mbufs if the system has a direct map 2021-11-16 13:31:04 -05:00
security Add idle priority scheduling privilege group to MAC/priority 2021-12-10 04:54:48 +02:00
sys Make msgbuf_peekbytes() not return leading zeroes. 2021-12-10 23:35:53 -05:00
teken
tests routing: add IPv6 fib validation procedure. 2021-08-16 23:04:01 +00:00
tools syscalls: add COMPAT13 2021-12-09 02:48:32 +02:00
ufs Revert "ffs(3): Fix a typo in a sysctl description" 2021-12-05 13:45:47 +01:00
vm swapoff: add one more variant of the syscall 2021-12-09 02:48:46 +02:00
x86 x86: plug a set-but-not-unused var in native_lapic_ipi_free 2021-12-10 11:55:03 +00:00
xdr
xen Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
Makefile