Re: Need some help understanding a jail system call.

2009-08-31 Thread Robert Watson
On Wed, 26 Aug 2009, Dag-Erling Smørgrav wrote: 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

Need some help understanding a jail system call.

2009-08-26 Thread bert wiley
Hello I found this code under a project called jailNG which has some system calls for doing jail stuff. Im still new to freebsd and im stumped on what this code is actually doing. In the source from the project there are few function calls that look like it creates and access the jail layer.

Re: Need some help understanding a jail system call.

2009-08-26 Thread Dag-Erling Smørgrav
bert wiley bertwi...@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