Need some help understanding a jail system call.
Dag-Erling Smørgrav
des at des.no
Wed Aug 26 14:34:11 UTC 2009
bert wiley <bertwiley at 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
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers
mailing list