Re: [PATCH v4 11/14] digest_cache: Reset digest cache on file/directory change

2024-04-16 Thread Roberto Sassu
On 4/15/2024 9:44 PM, Jarkko Sakkinen wrote: On Mon Apr 15, 2024 at 5:24 PM EEST, Roberto Sassu wrote: From: Roberto Sassu Register six new LSM hooks, path_truncate, file_release, inode_unlink, inode_rename, inode_post_setxattr and inode_post_removexattr, to monitor digest lists/directory modi

Re: [PATCH v4 11/14] digest_cache: Reset digest cache on file/directory change

2024-04-15 Thread Jarkko Sakkinen
On Mon Apr 15, 2024 at 5:24 PM EEST, Roberto Sassu wrote: > From: Roberto Sassu > > Register six new LSM hooks, path_truncate, file_release, inode_unlink, > inode_rename, inode_post_setxattr and inode_post_removexattr, to monitor > digest lists/directory modifications. > > If an action affects a d

[PATCH v4 11/14] digest_cache: Reset digest cache on file/directory change

2024-04-15 Thread Roberto Sassu
From: Roberto Sassu Register six new LSM hooks, path_truncate, file_release, inode_unlink, inode_rename, inode_post_setxattr and inode_post_removexattr, to monitor digest lists/directory modifications. If an action affects a digest list or the parent directory, the new LSM hook implementations c