freebsd-dev/usr.sbin/jail
Jamie Gritton 3b40332c44 Split run_command up into an outer function (next_command) that chooses
a single command string to run, and an inner function (run_command) that
 runs that single string.
Move the list of start/stop commands to run from a switch statement into
 an array, with a new placeholder parameter IP__OP for actually creating
 or removing the jail.
When jail creation fails, revert all non-exec commands in reverse order.
2011-06-17 16:18:44 +00:00
..
command.c Split run_command up into an outer function (next_command) that chooses 2011-06-17 16:18:44 +00:00
config.c Split run_command up into an outer function (next_command) that chooses 2011-06-17 16:18:44 +00:00
jail.8 Initial work on the new jail(8). There are more features to add, and some 2010-10-20 20:42:33 +00:00
jail.c Split run_command up into an outer function (next_command) that chooses 2011-06-17 16:18:44 +00:00
jail.conf.5 Initial work on the new jail(8). There are more features to add, and some 2010-10-20 20:42:33 +00:00
jaillex.l Initial work on the new jail(8). There are more features to add, and some 2010-10-20 20:42:33 +00:00
jailp.h Split run_command up into an outer function (next_command) that chooses 2011-06-17 16:18:44 +00:00
jailparse.y Change cfstrings from an STAILQ into a TAILQ to allow commands to be 2011-06-17 16:06:13 +00:00
Makefile Initial work on the new jail(8). There are more features to add, and some 2010-10-20 20:42:33 +00:00
state.c Change cfstrings from an STAILQ into a TAILQ to allow commands to be 2011-06-17 16:06:13 +00:00