]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r334296:
authorasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 3 Aug 2018 14:22:16 +0000 (14:22 +0000)
committerasomers <asomers@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 3 Aug 2018 14:22:16 +0000 (14:22 +0000)
commit75d30656456d47936be52acae250e17d04a1cc22
tree7007750856e5ca7fd461dcd713ef348df20509c0
parente2f93f13b1cf208149426a8dbe90072400733bf5
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@337251 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/security/audit/audit_bsm.c