DragonFly commits List (threaded) for 2009-02
DragonFly BSD
DragonFly commits List (threaded) for 2009-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.1.1.247.g5825b DragonFly_RELEASE_2_2 sys/kern kern_jail.c


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Feb 2009 11:04:23 -0800 (PST)

commit 5825b2265ea18876420a0aa5e62216a0592b0065
Author: Michael Neumann <mneumann@ntecs.de>
Date:   Thu Jan 1 18:24:10 2009 +0000

    Refactor sys_jail() and fix bugs.
    
    Fixes two issues:
    
      * uap->sysmsg_result was not consistently assigned -1 in case of
        an error.
    
      * A version 0 syscall triggered a copyinstr(j.hostname, ...) on an
        uninitialized struct jail j.

Summary of changes:
 sys/kern/kern_jail.c |  170 +++++++++++++++++++++++++++++---------------------
 1 files changed, 99 insertions(+), 71 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5825b2265ea18876420a0aa5e62216a0592b0065


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]