]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r258135: x86: Allow users to change PSL_RF via ptrace(PT_SETREGS...)
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 25 Nov 2013 15:58:48 +0000 (15:58 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 25 Nov 2013 15:58:48 +0000 (15:58 +0000)
commitbe2c11376d04fa48ea8500a8a3604273f390fb68
tree1700a610df043601614f2bd2a345a3bca0ec7cd6
parent4f651f3aa7b635540ebd061c7b01dd6c153b4596
MFC r258135: x86: Allow users to change PSL_RF via ptrace(PT_SETREGS...)

  Debuggers may need to change PSL_RF. Note that tf_eflags is already stored
  in the signal context during signal handling and PSL_RF previously could
  be modified via sigreturn, so this change should not provide any new
  ability to userspace.

  For background see the thread at:
  http://lists.freebsd.org/pipermail/freebsd-i386/2007-September/005910.html

  Reviewed by: jhb, kib

Sponsored by: DARPA, AFRL
Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@258559 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/machdep.c
sys/amd64/ia32/ia32_signal.c
sys/amd64/linux32/linux32_sysvec.c
sys/i386/i386/machdep.c
sys/i386/include/vm86.h
sys/i386/linux/linux_sysvec.c
sys/pc98/pc98/machdep.c
sys/x86/include/psl.h