lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1443986381-14412-1-git-send-email-agruenba@redhat.com>
Date:	Sun,  4 Oct 2015 21:19:39 +0200
From:	Andreas Gruenbacher <agruenba@...hat.com>
To:	linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
	Alexander Viro <viro@...iv.linux.org.uk>,
	Christoph Hellwig <hch@...radead.org>
Subject: [PATCH v2 0/2] Inode security label invalidation

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ