aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/jail/command.c
Commit message (Expand)AuthorAgeFilesLines
* jail: Add exec.prepare and exec.release command hooksRyan Moeller2020-05-141-1/+2
* Clarify error messages a bit.Dmitry Morozovsky2019-01-181-3/+3
* jail(8): stop crashing with SIGSEGV inside run_command() functionEugene Grosbein2019-01-171-1/+1
* - Add exec hook "exec.created". This is called when the jail isAlexander Leidinger2018-08-151-2/+2
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* Strip EOL whitespace in usr.sbin/{jail,jexec}Ed Maste2017-11-101-3/+3
* Fix up the order in which jail creation processes are run, to preserveJamie Gritton2016-07-141-6/+13
* Make jail(8) interpret escape codes in fstab the same as getfsent(3).Jamie Gritton2016-04-251-1/+8
* Clear errno before calling getpw*.Jamie Gritton2016-01-161-0/+1
* Fix a ton of speelling errorsEitan Adler2015-10-211-1/+1
* Add mount.procfs jail parameter, so procfs can be mounted when a prison'sJamie Gritton2015-02-061-0/+32
* Setgid before running a command as a specified user. Previously onlyJamie Gritton2014-12-181-0/+5
* In preparation for using clang's -Wcast-qual:Jamie Gritton2014-11-251-53/+52
* Added support for extra ifconfig args to jail ip4.addr & ip6.addr paramsSteven Hartland2014-08-041-11/+57
* - Add mount.fdescfs parameter to jail(8). This is similar toHiroki Sato2013-10-121-1/+32
* Reverse the order of some implicit commands (FS mounts and ifconfigs)Jamie Gritton2013-03-281-3/+6
* Handle (ignore) when a process disappears before it can be tracked.Jamie Gritton2013-02-141-6/+9
* When writing the jid via the -i flag, do it right when the jail is created,Jamie Gritton2012-05-281-1/+3
* Don't try to set a null TERM environment.Jamie Gritton2012-05-251-1/+2
* Add a meta-parameter IP__NULL to enum intparam, instead of mixingJamie Gritton2012-05-031-1/+1
* Use the defvs_ruleset paramater when mounting a jail's /dev,Jamie Gritton2012-02-271-12/+12
* Improvements in error messages:Jamie Gritton2012-02-081-4/+8
* Don't report errors for the exit status of processes that are killedJamie Gritton2011-07-061-6/+10
* Advance to the next command before running anything, so errors found inJamie Gritton2011-06-221-46/+36
* Fix a couple of NULL dereferences.Jamie Gritton2011-06-211-4/+4
* Following r222465:Jamie Gritton2011-06-201-1/+6
* Linty stuff.Jamie Gritton2011-06-201-1/+2
* Move the actual create/remove (IP__OP) handling into run_command,Jamie Gritton2011-06-181-7/+32
* Update copyright dates and other whitespacey stuff.Jamie Gritton2011-06-171-1/+1
* Split run_command up into an outer function (next_command) that choosesJamie Gritton2011-06-171-145/+171
* Change cfstrings from an STAILQ into a TAILQ to allow commands to beJamie Gritton2011-06-171-4/+4
* run_command (mostly) cleanup:Jamie Gritton2010-12-101-111/+150
* Check unmounts for a mount point of the right FS type.Jamie Gritton2010-11-041-26/+56
* Check paths for security:Jamie Gritton2010-11-041-3/+68
* Reads the mount.fstab file, and put its lines separately into theJamie Gritton2010-11-041-10/+3
* Initial work on the new jail(8). There are more features to add, and someJamie Gritton2010-10-201-0/+675