]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r334296:
authorasomers <asomers@FreeBSD.org>
Wed, 11 Jul 2018 19:39:56 +0000 (19:39 +0000)
committerasomers <asomers@FreeBSD.org>
Wed, 11 Jul 2018 19:39:56 +0000 (19:39 +0000)
commit2629e7874930097ab4606daa386c9c151be0855b
treeae1c4edb8fe4dbd8e9604fba54e8c07609bf9d35
parent29b48ac8024fa3e636658d0f2dc9cd9b66d96288
MFC r334296:

Fix "Bad tailq" panic when auditing auditon(A_SETCLASS, ...)

Due to an oversight in r195280, auditon(A_SETCLASS, ...) would cause a tailq
element to get added to the tailq twice, resulting in a circular tailq. This
panics when INVARIANTS are on.

Differential Revision: https://reviews.freebsd.org/D15381
sys/security/audit/audit_bsm.c