linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Inode security label invalidation
@ 2015-10-04 19:19 Andreas Gruenbacher
  2015-10-04 19:19 ` [PATCH v2 1/2] security: Add hook to invalidate inode security labels Andreas Gruenbacher
  2015-10-04 19:19 ` [PATCH v2 2/2] gfs2: Invalide security labels of inodes that go invalid Andreas Gruenbacher
  0 siblings, 2 replies; 8+ messages in thread
From: Andreas Gruenbacher @ 2015-10-04 19:19 UTC (permalink / raw)
  To: linux-kernel, linux-fsdevel, Alexander Viro, Christoph Hellwig

Since the first attempt at making selinux work on top of gfs2 and similar file
systems [1] was met with resistance by Christoph, here is another attempt that
doesn't require any additional inode operations, but also doesn't guarantee
full consistency of inode security labels: in case we cannot reload an invalid
label immediately, we keep using the old one.

The xattr cleanups that were part of [1] have been split off and posted
separately [2]; they seem to be okay.

Any thoughts?

Thanks,
Andreas

[1] https://lwn.net/Articles/655294/
[2] https://lkml.org/lkml/2015/10/4/137

Andreas Gruenbacher (2):
  security: Add hook to invalidate inode security labels
  gfs2: Invalide security labels of inodes that go invalid

 fs/gfs2/glops.c                   |  2 ++
 include/linux/lsm_hooks.h         |  6 ++++++
 include/linux/security.h          |  5 +++++
 security/security.c               |  8 ++++++++
 security/selinux/hooks.c          | 23 +++++++++++++++++++++--
 security/selinux/include/objsec.h |  3 ++-
 6 files changed, 44 insertions(+), 3 deletions(-)

-- 
2.5.0


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

end of thread, other threads:[~2015-10-06 21:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-04 19:19 [PATCH v2 0/2] Inode security label invalidation Andreas Gruenbacher
2015-10-04 19:19 ` [PATCH v2 1/2] security: Add hook to invalidate inode security labels Andreas Gruenbacher
2015-10-05 15:08   ` Stephen Smalley
2015-10-05 21:56     ` Andreas Gruenbacher
2015-10-06 21:29       ` Stephen Smalley
2015-10-05 18:24   ` Casey Schaufler
2015-10-05 18:39     ` Andreas Gruenbacher
2015-10-04 19:19 ` [PATCH v2 2/2] gfs2: Invalide security labels of inodes that go invalid Andreas Gruenbacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).