On Mon, Nov 25, 2024 at 11:59 AM Casey Schaufler <casey@xxxxxxxxxxxxxxxx> wrote: > On 11/25/2024 8:22 AM, Christian Göttsche wrote: > > Nov 25, 2024 17:17:19 Casey Schaufler <casey@xxxxxxxxxxxxxxxx>: > > > >> On 11/25/2024 3:38 AM, Christian Göttsche wrote: > >>> Hi, > >>> > >>> I noticed that the `prop` parameter of `ima_match_rules()` is > >>> currently unused (due to shadowing). > >>> Is that by design or a mishap of the recent rework? > > It's a mishap. A patch to correct the flaw is under test. > Thank you. Thanks everyone, I'll keep watch for Casey's patch. > >> Which tree are you looking at? > > torvalds/linux: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ > > > > > >>> Related commits: > >>> > >>> 37f670a ("lsm: use lsm_prop in security_current_getsecid") > >>> 870b7fd ("lsm: use lsm_prop in security_audit_rule_match") > >>> 07f9d2c ("lsm: use lsm_prop in security_inode_getsecid") -- paul-moore.com