git: kernel - Fix sys_vmspace_ctl()

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Nov 24 11:58:19 PST 2020


commit 25206fdbb46aa92432513d3bb2a69cf5697a7c98
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Nov 24 11:57:20 2020 -0800

    kernel - Fix sys_vmspace_ctl()
    
    * This system call overwrites the trap-frame.  The new syscall code
      just has the argument pointer (uap) pointing into the trap-frame,
      so in this particular case we have to copy the arguments out before
      overwriting it.
    
    Reported-by: pikrzyszt, tuxillo

Summary of changes:
 sys/vm/vm_vmspace.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/25206fdbb46aa92432513d3bb2a69cf5697a7c98


-- 
DragonFly BSD source repository


More information about the Commits mailing list