freebsd-nq/sys
John Baldwin fb97e58e5c Add stricter checks on user changes to SSTATUS.
Rather than trying to blacklist which bits userland can't write to via
sigreturn() or setcontext(), only permit changes to whitelisted bits.

- Permit arbitrary writes to bits in the user-writable USTATUS
  register that shadows SSTATUS.

- Ignore changes in write-only bits maintained by the CPU.

- Ignore the user-supplied value of the FS field used to track
  floating point state and instead set it to a value matching the
  actions taken by set_fpcontext().

Discussed with:	mhorne
MFC after:	2 weeks
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D23338
2020-01-31 19:00:48 +00:00
..
amd64 Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
arm Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
arm64 Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
bsm Jail and capability mode for shm_rename; add audit support for shm_rename 2019-11-18 13:31:16 +00:00
cam Fix spelling of removable 2020-01-29 00:28:50 +00:00
cddl zfs: convert z_teardown_inactive_lock to sleepable read-mostly lock 2020-01-31 08:38:38 +00:00
compat Add TCP_CORK support to linux(4). This fixes one of the things Nginx 2020-01-28 13:57:24 +00:00
conf Implement a safe memory reclamation feature that is tightly coupled with UMA. 2020-01-31 00:49:51 +00:00
contrib MFV: r356607 2020-01-10 22:49:14 +00:00
crypto
ddb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
dev Widen EPOCH(9) usage in mlx4en(4). 2020-01-31 10:41:47 +00:00
dts Add an overlay for RK3328 USB3 node. 2020-01-29 12:10:42 +00:00
fs Fix a bug in r357199. 2020-01-30 19:34:37 +00:00
gdb Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
geom Fix aggregating geoms for BIO_SPEEDUP. 2020-01-27 13:15:16 +00:00
gnu Import DTS files for riscv from Linux 5.4 2019-12-03 09:12:53 +00:00
i386 Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
isa sc(4) md bits: stop setting sc->kbd entirely 2019-12-30 02:07:55 +00:00
kern Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
kgssapi
libkern random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
mips Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
modules modules: adding some missing opt_* dependencies 2020-01-29 22:43:56 +00:00
net Revert r357293. 2020-01-31 10:51:13 +00:00
net80211 net80211: Move rate printing in amrr_node_stats() to a separate method 2020-01-17 22:04:11 +00:00
netgraph ng_nat: Pass IPv6 packets through. 2020-01-23 16:45:48 +00:00
netinet Fix missing NET_EPOCH_ENTER() when compiled with TCP_OFFLOAD. 2020-01-29 22:48:18 +00:00
netinet6 Fix NOINET builds. 2020-01-31 02:23:48 +00:00
netipsec Fix m_pullup() problem after removing PULLDOWN_TESTs and KAME EXT_*macros. 2019-12-01 00:22:04 +00:00
netpfil pf: Apply kif flags to new group members 2020-01-23 22:13:41 +00:00
netsmb
nfs vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
nfsclient
nfsserver
nlm vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
ofed Make sure the VNET is properly set when reaping mbufs in ipoib. 2020-01-11 12:02:16 +00:00
opencrypto Add stricter checking on mac key lengths. 2020-01-09 18:29:59 +00:00
powerpc Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
riscv Add stricter checks on user changes to SSTATUS. 2020-01-31 19:00:48 +00:00
rpc Change r355157 to make svc_rpc_gss_lifetime_max a static. 2019-11-28 02:18:51 +00:00
security vfs: eliminate v_tag from struct vnode 2020-01-07 04:29:34 +00:00
sparc64 Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
sys Reimplement stack capture of running threads on i386 and amd64. 2020-01-31 15:43:33 +00:00
teken
tests
tools vfs: stop null checking routines in vop wrappers 2020-01-26 00:41:38 +00:00
ufs ufs: add the missing vn_need_pageq_flush call to ufs_need_inactive 2020-01-30 05:37:35 +00:00
vm Fix LINT build with MEMGUARD. 2020-01-31 02:03:22 +00:00
x86 hwpstate(4): Ignore CurPstateLimit by default 2020-01-31 17:40:41 +00:00
xdr
xen
Makefile