All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/7] Inode security label invalidation
@ 2015-10-29  0:47 Andreas Gruenbacher
  2015-10-29  0:47 ` [PATCH v4 1/7] selinux: Remove unused variable in selinux_inode_init_security Andreas Gruenbacher
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Andreas Gruenbacher @ 2015-10-29  0:47 UTC (permalink / raw)
  To: linux-security-module, selinux; +Cc: Andreas Gruenbacher

Here is another version of the patch queue to make gfs2 and similar file
systems work with SELinux.

In this version, dentry_security() helper has been renamed to
backing_inode_security() to make it more obvious that it revalidates the
backing inode of its dentry argument.  The file_path_has_perm and
file_has_perm functions no longer revalidate inode security labels; callers
that may sleep can call inode_security_revalidate() themselves instead.
The revalidation functions now make use of might_sleep() when appropriate
so that any remaining bugs should turn up soon.

With this version of the patch queue, the SELinux test suite passes:

  https://github.com/SELinuxProject/selinux-testsuite

Could you please review?

Thanks,
Andreas

Andreas Gruenbacher (7):
  selinux: Remove unused variable in selinux_inode_init_security
  security: Make inode argument of inode_getsecurity non-const
  security: Make inode argument of inode_getsecid non-const
  selinux: Add accessor functions for inode->i_security
  security: Add hook to invalidate inode security labels
  selinux: Revalidate invalid inode security labels
  gfs2: Invalide security labels of inodes when they go invalid

 fs/gfs2/glops.c                   |   2 +
 include/linux/audit.h             |   8 +-
 include/linux/lsm_hooks.h         |  10 +-
 include/linux/security.h          |  13 ++-
 kernel/audit.c                    |   2 +-
 kernel/audit.h                    |   2 +-
 kernel/auditsc.c                  |   6 +-
 security/security.c               |  12 ++-
 security/selinux/hooks.c          | 197 +++++++++++++++++++++++++++-----------
 security/selinux/include/objsec.h |   6 ++
 security/smack/smack_lsm.c        |   4 +-
 11 files changed, 186 insertions(+), 76 deletions(-)

-- 
2.5.0

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

end of thread, other threads:[~2015-11-01 17:25 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-29  0:47 [PATCH v4 0/7] Inode security label invalidation Andreas Gruenbacher
2015-10-29  0:47 ` [PATCH v4 1/7] selinux: Remove unused variable in selinux_inode_init_security Andreas Gruenbacher
2015-10-29  0:47 ` [PATCH v4 2/7] security: Make inode argument of inode_getsecurity non-const Andreas Gruenbacher
2015-10-29 15:03   ` Stephen Smalley
2015-10-29  0:47 ` [PATCH v4 3/7] security: Make inode argument of inode_getsecid non-const Andreas Gruenbacher
2015-10-29 15:04   ` Stephen Smalley
2015-10-29  0:47 ` [PATCH v4 4/7] selinux: Add accessor functions for inode->i_security Andreas Gruenbacher
2015-10-29 15:08   ` Stephen Smalley
2015-10-29  0:47 ` [PATCH v4 5/7] security: Add hook to invalidate inode security labels Andreas Gruenbacher
2015-10-29 15:12   ` Stephen Smalley
2015-10-29  0:47 ` [PATCH v4 6/7] selinux: Revalidate invalid " Andreas Gruenbacher
2015-10-29 15:21   ` Stephen Smalley
2015-10-29 16:52     ` Andreas Gruenbacher
2015-11-01 12:52       ` Paul Moore
2015-11-01 17:25         ` Andreas Gruenbacher
2015-10-29 23:09   ` Andreas Gruenbacher
2015-10-29  0:47 ` [Cluster-devel] [PATCH v4 7/7] gfs2: Invalide security labels of inodes when they go invalid Andreas Gruenbacher
2015-10-29  0:47   ` Andreas Gruenbacher
2015-10-29 12:10   ` [Cluster-devel] " Bob Peterson
2015-10-29 12:10     ` Bob Peterson
2015-10-30 11:51   ` [Cluster-devel] " Steven Whitehouse
2015-10-30 11:51     ` Steven Whitehouse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.