public inbox for linux-unionfs@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] ima: Fix detection of read/write violations on stacked filesystems
@ 2024-04-12 14:01 Stefan Berger
  2024-04-12 14:01 ` [RFC 1/2] ovl: Define D_REAL_FILEDATA for d_real to return dentry with data Stefan Berger
  2024-04-12 14:01 ` [RFC 2/2] ima: Fix detection of read/write violations on stacked filesystems Stefan Berger
  0 siblings, 2 replies; 16+ messages in thread
From: Stefan Berger @ 2024-04-12 14:01 UTC (permalink / raw)
  To: linux-integrity, linux-unionfs
  Cc: linux-kernel, zohar, roberto.sassu, amir73il, miklos,
	Stefan Berger

This series fixes the detection of read/write violations on stacked
filesystems. To be able to access the relevant dentries necessary to
detect files opened for writing on a stacked filesystem a new d_real_type
D_REAL_FILEDATA is introduced that allows callers to access all relevant
files involved in a stacked filesystem.

  Stefan

Stefan Berger (2):
  ovl: Define D_REAL_FILEDATA for d_real to return dentry with data
  ima: Fix detection of read/write violations on stacked filesystems

 fs/overlayfs/super.c              |  6 ++++++
 include/linux/dcache.h            |  1 +
 security/integrity/ima/ima_main.c | 27 ++++++++++++++++++++++-----
 3 files changed, 29 insertions(+), 5 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-05-01 21:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 14:01 [RFC 0/2] ima: Fix detection of read/write violations on stacked filesystems Stefan Berger
2024-04-12 14:01 ` [RFC 1/2] ovl: Define D_REAL_FILEDATA for d_real to return dentry with data Stefan Berger
2024-04-12 18:05   ` Amir Goldstein
2024-04-12 14:01 ` [RFC 2/2] ima: Fix detection of read/write violations on stacked filesystems Stefan Berger
2024-04-12 18:08   ` Amir Goldstein
2024-04-12 19:08     ` Stefan Berger
2024-04-15  8:09       ` Miklos Szeredi
2024-04-15 10:47         ` Mimi Zohar
2024-04-15 12:57           ` Miklos Szeredi
2024-04-15 18:34             ` Mimi Zohar
2024-04-16  8:05               ` Miklos Szeredi
2024-04-16 12:18                 ` Mimi Zohar
2024-04-16 14:46                   ` Miklos Szeredi
2024-04-16 19:05                     ` Mimi Zohar
2024-04-23 11:06                       ` Miklos Szeredi
2024-05-01 21:13                         ` Mimi Zohar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox