The branch main has been updated by jamie: URL: https://cgit.FreeBSD.org/src/commit/?id=d9e2caccfac14c43bf9ad62bdd35d4a03356ff91
commit d9e2caccfac14c43bf9ad62bdd35d4a03356ff91 Author: Jamie Gritton <[email protected]> AuthorDate: 2026-10-02 22:18:00 +0000 Commit: Jamie Gritton <[email protected]> CommitDate: 2026-10-02 22:18:00 +0000 jail: note existing process/prison lock order in witness. --- sys/kern/subr_witness.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index 9825db85b673..adf93329cdbc 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -534,6 +534,13 @@ static struct witness_order_list_entry order_lists[] = { */ { "umtx lock", &lock_class_mtx_sleep }, { NULL, NULL }, + /* + * Jails + */ + { "process lock", &lock_class_mtx_sleep }, + { "jail mutex", &lock_class_mtx_sleep }, + { "jaildesc", &lock_class_mtx_sleep }, + { NULL, NULL }, /* * Sockets */
