Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2009 16:34:09 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        bert wiley <bertwiley@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Need some help understanding a jail system call.
Message-ID:  <868wh663vi.fsf@ds4.des.no>
In-Reply-To: <9527461a0908260656w570f6cdha72e92b267e5354f@mail.gmail.com> (bert wiley's message of "Wed, 26 Aug 2009 09:56:50 -0400")
References:  <9527461a0908260656w570f6cdha72e92b267e5354f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
bert wiley <bertwiley@gmail.com> writes:
> No where in the code do i ever see any access to the jail.h type systems
> calls

Because at that stage in the development process, the system calls in
<sys/jail.h> belong to the old implementation.

> so does the syscall(375, JAIL_CREATE, argv[1]); actually access the
> jail subsystem and create a jail?

It calls the new system call, which at that stage hasn't been added to
libc yet, because it would conflict with the existing system calls.

> Here is the link i used to find this code
> http://www.watson.org/~robert/freebsd/jailng/

You realize that this is eight years old, right?  And that the jail
infrastructure has been extensively modified since then, and is
currently being rewritten again?

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868wh663vi.fsf>