- git-net-selinux-fix-bug-in-security_sid_mls_copy.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     gt-net: SELinux: Fix bug in security_sid_mls_copy

has been removed from the -mm tree.  Its filename is

     git-net-selinux-fix-bug-in-security_sid_mls_copy.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: gt-net: SELinux: Fix bug in security_sid_mls_copy
From: Venkat Yekkirala <vyekkirala@xxxxxxxxxxxxx>

The following fixes a bug where random mem is being tampered with in the
non-mls case; encountered by Jashua Brindle on a gentoo box.

Signed-off-by: Venkat Yekkirala <vyekkirala@xxxxxxxxxxxxx>
Acked-by:  Stephen Smalley <sds@xxxxxxxxxxxxx>
Signed-off-by: James Morris <jmorris@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 security/selinux/ss/services.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN security/selinux/ss/services.c~git-net-selinux-fix-bug-in-security_sid_mls_copy security/selinux/ss/services.c
--- a/security/selinux/ss/services.c~git-net-selinux-fix-bug-in-security_sid_mls_copy
+++ a/security/selinux/ss/services.c
@@ -1841,7 +1841,7 @@ int security_sid_mls_copy(u32 sid, u32 m
 	u32 len;
 	int rc = 0;
 
-	if (!ss_initialized) {
+	if (!ss_initialized || !selinux_mls_enabled) {
 		*new_sid = sid;
 		goto out;
 	}
_

Patches currently in -mm which might be from vyekkirala@xxxxxxxxxxxxx are

git-net.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux