summaryrefslogtreecommitdiff
path: root/usr.sbin/jail/command.c
AgeCommit message (Expand)Author
2025-07-25jail: consistently populate the KP_JID and KP_NAME parametersKyle Evans
2025-06-12jail: add JID, JNAME and JPATH to environment for exec.* commandsQuentin Thébault
2024-08-12jail: only chdir to user's home directory when user is specifiedJamie Gritton
2024-01-17jail(8): add support for ZFS datasetsAlexander Leidinger
2023-11-26usr.sbin: Automated cleanup of cdefs and other formattingWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
2022-12-14jail: fix a NULL pointer derefence in parsing ip6.addr settings.Jamie Gritton
2021-03-04jail(8): reset to root cpuset before attaching to run commandsKyle Evans
2020-05-14jail: Add exec.prepare and exec.release command hooksRyan Moeller
2019-01-18Clarify error messages a bit.Dmitry Morozovsky
2019-01-17jail(8): stop crashing with SIGSEGV inside run_command() functionEugene Grosbein
2018-08-15- Add exec hook "exec.created". This is called when the jail isAlexander Leidinger
2017-11-27various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-11-10Strip EOL whitespace in usr.sbin/{jail,jexec}Ed Maste
2016-07-14Fix up the order in which jail creation processes are run, to preserveJamie Gritton
2016-04-25Make jail(8) interpret escape codes in fstab the same as getfsent(3).Jamie Gritton
2016-01-16Clear errno before calling getpw*.Jamie Gritton
2015-10-21Fix a ton of speelling errorsEitan Adler
2015-02-06Add mount.procfs jail parameter, so procfs can be mounted when a prison'sJamie Gritton
2014-12-18Setgid before running a command as a specified user. Previously onlyJamie Gritton
2014-11-25In preparation for using clang's -Wcast-qual:Jamie Gritton
2014-08-04Added support for extra ifconfig args to jail ip4.addr & ip6.addr paramsSteven Hartland
2013-10-12- Add mount.fdescfs parameter to jail(8). This is similar toHiroki Sato
2013-03-28Reverse the order of some implicit commands (FS mounts and ifconfigs)Jamie Gritton
2013-02-14Handle (ignore) when a process disappears before it can be tracked.Jamie Gritton
2012-05-28When writing the jid via the -i flag, do it right when the jail is created,Jamie Gritton
2012-05-25Don't try to set a null TERM environment.Jamie Gritton
2012-05-03Add a meta-parameter IP__NULL to enum intparam, instead of mixingJamie Gritton
2012-02-27Use the defvs_ruleset paramater when mounting a jail's /dev,Jamie Gritton
2012-02-08Improvements in error messages:Jamie Gritton
2011-07-06Don't report errors for the exit status of processes that are killedJamie Gritton
2011-06-22Advance to the next command before running anything, so errors found inJamie Gritton
2011-06-21Fix a couple of NULL dereferences.Jamie Gritton
2011-06-20Following r222465:Jamie Gritton
2011-06-20Linty stuff.Jamie Gritton
2011-06-18Move the actual create/remove (IP__OP) handling into run_command,Jamie Gritton
2011-06-17Update copyright dates and other whitespacey stuff.Jamie Gritton
2011-06-17Split run_command up into an outer function (next_command) that choosesJamie Gritton
2011-06-17Change cfstrings from an STAILQ into a TAILQ to allow commands to beJamie Gritton
2010-12-10run_command (mostly) cleanup:Jamie Gritton
2010-11-04Check unmounts for a mount point of the right FS type.Jamie Gritton
2010-11-04Check paths for security:Jamie Gritton
2010-11-04Reads the mount.fstab file, and put its lines separately into theJamie Gritton
2010-10-20Initial work on the new jail(8). There are more features to add, and someJamie Gritton