mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
audit: change context data from secid to lsm_prop
Change the LSM data stored in the audit transactions from a secid to an LSM prop. This is done in struct audit_context and struct audit_aux_data_pids. Several cases of scaffolding can be removed. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> [PM: subj line tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
committed by
Paul Moore
parent
b0654ca429
commit
13d826e564
@@ -1370,7 +1370,6 @@ int audit_filter(int msgtype, unsigned int listtype)
|
||||
case AUDIT_SUBJ_SEN:
|
||||
case AUDIT_SUBJ_CLR:
|
||||
if (f->lsm_rule) {
|
||||
/* scaffolding */
|
||||
security_current_getlsmprop_subj(&prop);
|
||||
result = security_audit_rule_match(
|
||||
&prop, f->type, f->op,
|
||||
|
||||
Reference in New Issue
Block a user