git: kernel - Do not overwrite uap args in system calls

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 25 09:29:20 PDT 2018


commit bfdf016f9ca9281b67d415d23181ed5c2300f023
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Sep 24 10:35:44 2018 -0700

    kernel - Do not overwrite uap args in system calls
    
    * This was the only case where a uap argument was overwritten.
      Make it use a local variable instead.
    
    * Prep for potential later remapping of syscall arguments
      to the trapframe registers.

Summary of changes:
 sys/kern/kern_xxx.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bfdf016f9ca9281b67d415d23181ed5c2300f023


-- 
DragonFly BSD source repository


More information about the Commits mailing list