git: vkernel - Fix copyin/copyout to return the correct error code

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 26 18:09:47 PDT 2013


commit 56f3779c91a2cb1e7bac25ed34ce0619ef4e853d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 26 18:09:15 2013 -0700

    vkernel - Fix copyin/copyout to return the correct error code
    
    * These functions must return EFAULT on error, not a KERN_* error code.

Summary of changes:
 sys/platform/vkernel/platform/copyio.c   | 4 ++++
 sys/platform/vkernel64/platform/copyio.c | 4 ++++
 2 files changed, 8 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/56f3779c91a2cb1e7bac25ed34ce0619ef4e853d


-- 
DragonFly BSD source repository



More information about the Commits mailing list