freebsd-dev/sys
Konstantin Belousov bd9e0f5df6 amd64: eliminate td_md.md_fpu_scratch
For signal send, copyout from the user FPU save area directly.

For sigreturn, we are in sleepable context and can do temporal
allocation of the transient save area.  We cannot copying from userspace
directly to user save area because XSAVE state needs to be validated,
also partial copyins can corrupt it.

Requested by:	jhb
Reviewed by:	jhb, markj
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D31954
2021-09-21 20:20:15 +03:00
..
amd64 amd64: eliminate td_md.md_fpu_scratch 2021-09-21 20:20:15 +03:00
arm bcm2835_sdhci: don't use DMA for kernel dumps 2021-09-21 10:08:39 -03:00
arm64 arm64: Handle 32bits breakpoint exception. 2021-09-21 15:52:42 +02:00
bsm Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
cam libcam: Define depop structures and introduce scsi_wrap 2021-09-20 16:27:59 -06:00
cddl kern: drop remaining references to removed makesyscalls.sh 2021-09-09 19:40:54 -05:00
compat freebsd32: Fix a double copyin in sendmsg() and recvmsg() 2021-09-19 13:54:16 -04:00
conf amd64: move signal handling and register structures manipulations into exec_machdep.c 2021-09-21 20:20:15 +03:00
contrib zfs: merge openzfs/zfs@4a1195ca5 (master) into main 2021-09-15 17:30:53 +02:00
crypto crypto(4): Fix a few typos in camellia.c 2021-09-04 13:02:11 +02:00
ddb Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
dev dwmmc: Remove dwmmc_setup_bus call from start_cmd 2021-09-21 18:17:20 +02:00
dts Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
fs nfscl: Use vfs.nfs.maxalloclen to limit Deallocate RPC RTT 2021-09-18 14:38:43 -07:00
gdb
geom g_label: Handle small sector sizes when tasting 2021-09-07 11:19:29 -04:00
gnu
i386 cpuset(9): Add CPU_FOREACH_IS(SET|CLR) and modify consumers to use it 2021-09-21 12:07:47 -04:00
isa
kern amd64: eliminate td_md.md_fpu_scratch 2021-09-21 20:20:15 +03:00
kgssapi
libkern libkern: remove bcopy 2021-08-24 11:24:07 +00:00
mips Fix a common typo in source code comments 2021-09-04 12:56:57 +02:00
modules linux32: add a hack to avoid redefining the type of the savefpu tag 2021-09-21 20:20:15 +03:00
net Add a switch structure for send tags. 2021-09-14 11:43:41 -07:00
net80211 net80211: add func/line information to IEEE80211_DISCARD* macros 2021-09-04 09:24:51 +00:00
netgraph ng_l2tp: improve callout locking. 2021-09-10 11:27:19 -07:00
netinet sctp: Simplify stream scheduler usage 2021-09-21 17:13:57 +02:00
netinet6 sctp: Tighten up locking around sctp_aloc_assoc() 2021-09-11 10:15:21 -04:00
netipsec ipsec: enter epoch before calling into ipsec_run_hhooks 2021-09-21 17:02:41 +00:00
netpfil pf: always log nat rule and do it pre-rewrite 2021-09-18 13:43:41 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed socket: De-duplicate SBLOCKWAIT() definitions 2021-09-14 09:01:32 -04:00
opencrypto opencrypto: Allow kern.crypto.allow_soft to be specified as a tunable 2021-09-20 12:07:29 -04:00
powerpc powerpc64: fix radix on pseries TLB invalidation 2021-09-08 08:37:11 -03:00
riscv sifive_spi: Add missing case for SPIBUS_MODE_NONE 2021-08-30 23:38:02 +01:00
rpc rpc: Convert an SOLISTENING check to an assertion 2021-09-17 14:19:05 -04:00
security Add fspacectl(2), vn_deallocate(9) and VOP_DEALLOCATE(9). 2021-08-05 23:20:42 +08:00
sys cpuset(9): Add CPU_FOREACH_IS(SET|CLR) and modify consumers to use it 2021-09-21 12:07:47 -04:00
teken
tests routing: add IPv6 fib validation procedure. 2021-08-16 23:04:01 +00:00
tools makesyscalls.lua: add a CAPENABLED flag 2021-09-01 21:58:06 +01:00
ufs Eliminate snaplk / bufwait LOR when creating UFS snapshots 2021-09-18 17:02:30 -07:00
vm vm_page_startup: correct calculation of the starting page 2021-09-19 21:27:55 +03:00
x86 linux32: add a hack to avoid redefining the type of the savefpu tag 2021-09-21 20:20:15 +03:00
xdr
xen
Makefile