summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regex2.h
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2011-06-17 16:18:44 +0000
committerjamie <jamie@FreeBSD.org>2011-06-17 16:18:44 +0000
commitbf5da8413e8633aec301ea33b6698aa264e91927 (patch)
tree48f931653b379603fea38a25ad52d07f527dfb3e /lib/libc/regex/regex2.h
parent0e5ec9dce0b4f9791252ba22064fb407dc733ff9 (diff)
downloadFreeBSD-src-bf5da8413e8633aec301ea33b6698aa264e91927.zip
FreeBSD-src-bf5da8413e8633aec301ea33b6698aa264e91927.tar.gz
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.
Diffstat (limited to 'lib/libc/regex/regex2.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud