jail(2) now returns the jail id if successful or -1 on error.
authorVictor Balada Diaz <victor@dragonflybsd.org>
Mon, 1 Jan 2007 19:45:54 +0000 (19:45 +0000)
committerVictor Balada Diaz <victor@dragonflybsd.org>
Mon, 1 Jan 2007 19:45:54 +0000 (19:45 +0000)
commit61deed493e3c004962b0e07414d8c1e6babd93cb
tree47eafda207fe2650e8131de6fca736005b63c43a
parentba70f51fe3bb6b1a4553b3a6851837ff6b2e15a9
jail(2) now returns the jail id if successful or -1 on error.

Add -i to jail(8). This option makes jail(8) print the jail ID
of the newly created jail.

Imported-from: FreeBSD
sys/kern/kern_jail.c
usr.sbin/jail/jail.8
usr.sbin/jail/jail.c