]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new jail OSD method, PR_METHOD_REMOVE. It's called when a jail is
authorJamie Gritton <jamie@FreeBSD.org>
Mon, 25 Apr 2016 04:24:00 +0000 (04:24 +0000)
committerJamie Gritton <jamie@FreeBSD.org>
Mon, 25 Apr 2016 04:24:00 +0000 (04:24 +0000)
commitcc5fd8c7484d375401f10cbcfe28b979887ea146
tree470e1054d75968edb6b823c640a651183139c61a
parent2a549507134a4ffba7fb3859bd397f7b42a0964a
Add a new jail OSD method, PR_METHOD_REMOVE.  It's called when a jail is
removed from the user perspective, i.e. when the last pr_uref goes away,
even though the jail mail still exist in the dying state.  It will also
be called if either PR_METHOD_CREATE or PR_METHOD_SET fail.

PR: 48471
MFC after:  5 days
sys/kern/kern_jail.c
sys/sys/jail.h