DragonFly-2.1.1.247.g5825b DragonFly_RELEASE_2_2 sys/kern kern_jail.c
Simon Schubert
corecode at crater.dragonflybsd.org
Tue Feb 3 11:17:09 PST 2009
commit 5825b2265ea18876420a0aa5e62216a0592b0065
Author: Michael Neumann <mneumann at 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
More information about the Commits
mailing list