From 453b86f943612b273e23c7de9941d00149802f15 Mon Sep 17 00:00:00 2001 From: jamie Date: Wed, 29 Apr 2009 21:14:15 +0000 Subject: Introduce the extensible jail framework, using the same "name=value" interface as nmount(2). Three new system calls are added: * jail_set, to create jails and change the parameters of existing jails. This replaces jail(2). * jail_get, to read the parameters of existing jails. This replaces the security.jail.list sysctl. * jail_remove to kill off a jail's processes and remove the jail. Most jail parameters may now be changed after creation, and jails may be set to exist without any attached processes. The current jail(2) system call still exists, though it is now a stub to jail_set(2). Approved by: bz (mentor) --- sys/cddl/compat/opensolaris/kern/opensolaris_zone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/cddl') diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris_zone.c b/sys/cddl/compat/opensolaris/kern/opensolaris_zone.c index 8489052..f25a67c 100644 --- a/sys/cddl/compat/opensolaris/kern/opensolaris_zone.c +++ b/sys/cddl/compat/opensolaris/kern/opensolaris_zone.c @@ -233,7 +233,7 @@ static void zone_sysinit(void *arg __unused) { - zone_slot = osd_jail_register(zone_destroy); + zone_slot = osd_jail_register(zone_destroy, NULL); } static void -- cgit v1.1