diff options
author | jamie <jamie@FreeBSD.org> | 2016-04-30 03:19:07 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2016-04-30 03:19:07 +0000 |
commit | 0621c28d20a2e195bbf63594bb3b732d498fe738 (patch) | |
tree | 10511ddea0a943379bbc66e00e5c9e4aa4af930f /contrib/libc++/src/bind.cpp | |
parent | 5a2943388bb3676f2c36fcbe57a4c43a8d2ff753 (diff) | |
download | FreeBSD-src-0621c28d20a2e195bbf63594bb3b732d498fe738.zip FreeBSD-src-0621c28d20a2e195bbf63594bb3b732d498fe738.tar.gz |
MFC r298565:
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.
MFC r298683:
Delay removing the last jail reference in prison_proc_free, and instead
put it off into the pr_task. This is similar to prison_free, and in fact
uses the same task even though they do something slightly different.
MFC r298566:
Pass the current/new jail to PR_METHOD_CHECK, which pushes the call
until after the jail is found or created. This requires unlocking the
jail for the call and re-locking it afterward, but that works because
nothing in the jail has been changed yet, and other processes won't
change the important fields as long as allprison_lock remains held.
Keep better track of name vs namelc in kern_jail_set. Name should
always be the hierarchical name (relative to the caller), and namelc
the last component.
MFC r298668:
Use crcopysafe in jail_attach.
PR: 48471
Diffstat (limited to 'contrib/libc++/src/bind.cpp')
0 files changed, 0 insertions, 0 deletions