On Tue, 2022-10-18 at 11:29 -0700, Kees Cook wrote: > On Tue, Oct 18, 2022 at 05:32:40PM +0200, Roberto Sassu wrote: > > I also did this work before. In my implementation, I created a new > > security hook called security_file_pre_free(). > > > > https://github.com/robertosassu/linux/commit/692c9d36fff865435b23b3cb765d31f3584f6263 > > > > If useful, the whole patch set is available at: > > > > https://github.com/robertosassu/linux/commits/ima-evm-lsm-v1-devel-v3 > > Ah, lovely! Can you pick this back up and run with it? I mainly did > these a proof-of-concept, but it looks like you got further. It was some time ago. If I remember correctly, I got to the point of running IMA/EVM and passing basic tests. Will take a look at your patches and comments, and integrate in mines if something is missing. Will also send again the prerequisite patch set. Roberto