Comment 12 for bug 1987430

Revision history for this message
JianlinLv (jianlinlv) wrote :

hi Matthew,
I did some investigation in 5.15.0-66-generic, lsm_multiple_contexts()return 0 that make audit_log_lsm() return without malloc memory thus avoiding memory leaks.

audit_log_lsm()
->if (!lsm_multiple_contexts())
 return;

I haven't found out which commit change the behavior of lsm_multiple_contexts().

Jianlin