In message <202502052142.515lg7o9095...@gitrepo.freebsd.org>, Konstantin Belous ov writes: > The branch main has been updated by kib: > > URL: https://cgit.FreeBSD.org/src/commit/?id=53ece2bea9ffa654aaa50e5ed6634116 > 0194179f > > commit 53ece2bea9ffa654aaa50e5ed66341160194179f > Author: Konstantin Belousov <k...@freebsd.org> > AuthorDate: 2025-01-30 10:45:04 +0000 > Commit: Konstantin Belousov <k...@freebsd.org> > CommitDate: 2025-02-05 21:41:01 +0000 > > audit(9): do not touch VFS if panicing > > Reported by: bz > --- > sys/security/audit/audit.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c > index 269e62db454a..8a9865bf233b 100644 > --- a/sys/security/audit/audit.c > +++ b/sys/security/audit/audit.c > @@ -396,7 +396,8 @@ SYSINIT(audit_init, SI_SUB_AUDIT, SI_ORDER_FIRST, audit_i > nit, NULL); > void > audit_shutdown(void *arg, int howto) > { > - > + if (KERNEL_PANICED())
Should this not be KERNEL_PANICKED? > + return; > audit_rotate_vnode(NULL, NULL); > } > > -- Cheers, Cy Schubert <cy.schub...@cschubert.com> FreeBSD UNIX: <c...@freebsd.org> Web: https://FreeBSD.org NTP: <c...@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0