freebsd-dev/usr.sbin/jail
Michael Zhilin cd38a86c63 [jail] removal by jid doesn't trigger pre/post stop scripts
This commit fixes bug: command "jail -r" didn't trigger pre/post stop
commands (and others) defined in config file if jid is specified insted of
name. Also it adds basic tests for usr.sbin/jail to avoid regression.

Reviewed by:	jamie, kevans, ray
MFC after:      5 days
Differential Revision: https://reviews.freebsd.org/D21328
2019-09-12 18:53:29 +00:00
..
tests [jail] removal by jid doesn't trigger pre/post stop scripts 2019-09-12 18:53:29 +00:00
command.c Clarify error messages a bit. 2019-01-18 23:00:52 +00:00
config.c security.jail.enforce_statfs is handled by jail_set(2), so handling it in 2018-08-16 18:30:49 +00:00
jail.8 Change ed(4), ep(4), and fxp(4) examples to em(4). 2019-05-18 21:01:36 +00:00
jail.c jail(8): introduce new command option -e to exhibit 2018-11-10 12:03:57 +00:00
jail.conf.5 Remove man page references to rndassociates.com, which has been taken over 2016-02-10 14:48:49 +00:00
jaillex.l Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:25:37 +00:00
jailp.h jail(8): introduce new command option -e to exhibit 2018-11-10 12:03:57 +00:00
jailparse.y various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
Makefile [jail] removal by jid doesn't trigger pre/post stop scripts 2019-09-12 18:53:29 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
state.c [jail] removal by jid doesn't trigger pre/post stop scripts 2019-09-12 18:53:29 +00:00