Casey Schaufler 870b7fdc66 lsm: use lsm_prop in security_audit_rule_match
Change the secid parameter of security_audit_rule_match
to a lsm_prop structure pointer. Pass the entry from the
lsm_prop structure for the approprite slot to the LSM hook.

Change the users of security_audit_rule_match to use the
lsm_prop instead of a u32. The scaffolding function lsmprop_init()
fills the structure with the value of the old secid, ensuring that
it is available to the appropriate module hook. The sources of
the secid, security_task_getsecid() and security_inode_getsecid(),
will be converted to use the lsm_prop structure later in the series.
At that point the use of lsmprop_init() is dropped.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
[PM: subject line tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
2024-10-11 14:34:12 -04:00
..
2024-09-16 16:55:42 +02:00
2024-09-24 14:54:26 -07:00
2023-05-08 16:44:01 -04:00
2023-09-13 13:46:57 -04:00
2023-09-13 13:46:57 -04:00
2024-09-16 18:19:47 +02:00
2024-05-15 08:36:30 -07:00
2024-03-27 18:25:18 -04:00