Skip to contentSkip to conversation

SELinux fixes for 4.5 (#2)

GIT PULL Paul Moore 2 participants 3 messages Feb 22, 2016 – Feb 23, 2016 SELinux security module

lore
Share & tools
lore

Paul Moore

author
#0 lore raw

Hi James,

One more straightforward patch to fix a problem with the inode invalidation changes. The fix passes the selinux-testsuite and applies cleanly on top of your current linux-security#next branch; please apply.

-Paul

---
The following changes since commit b197367ed1ba81b0d26f7e7f76f61731ac6e5842:

selinux: Inode label revalidation performance fix

           (2016-01-08 16:24:27 -0500)

are available in the git repository at:

git://git.infradead.org/users/pcmoore/selinux stable-4.5

for you to fetch changes up to e817c2f33efb4aa7f02c98dfab9a5f8ff383ea7e:

selinux: Don't sleep inside inode_getsecid hook (2016-02-19 16:29:19 -0500)

----------------------------------------------------------------
Andreas Gruenbacher (1):
selinux: Don't sleep inside inode_getsecid hook

 security/selinux/hooks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 2 lines
paul moore
security @ redhat
#1 lore raw
Quoted 5 lines · Paul Moore

Hi James,

One more straightforward patch to fix a problem with the inode invalidation changes. The fix passes the selinux-testsuite and applies cleanly on top of your current linux-security#next branch; please apply.

Where is patch '#1' ?

Signature · 2 lines
James Morris
<[email protected]>
author Acked-by Stephen Smalley
#2 lore raw
Quoted 8 lines · James Morris
Quoted 5 lines · Paul Moore

Hi James,

One more straightforward patch to fix a problem with the inode invalidation changes. The fix passes the selinux-testsuite and applies cleanly on top of your current linux-security#next branch; please apply.

Where is patch '#1' ?

Where is said it was in the pull request ... ? It is in the usual SELinux kernel repo, in the stable-4.5 branch. It looks okay on my end, are you having problems fetching the branch/commit?

git://git.infradead.org/users/pcmoore/selinux stable-4.5
http://git.infradead.org/users/pcmoore/selinux/shortlog/refs/heads/stable-4.5

commit e817c2f33efb4aa7f02c98dfab9a5f8ff383ea7e
Author: Andreas Gruenbacher <[email protected]>
Date: Thu Feb 18 12:04:08 2016 +0100

selinux: Don't sleep inside inode_getsecid hook

The inode_getsecid hook is called from contexts in which sleeping is not allowed, so we cannot revalidate inode security labels from there. Use the non-validating version of inode_security() instead.

Signature · 2 lines
paul moore
security @ redhat