+ integrity-ima-integrity_measure-support-remove-spinlock.patch added to -mm tree

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

 



The patch titled
     integrity-ima-integrity_measure-support-remove-spinlock
has been added to the -mm tree.  Its filename is
     integrity-ima-integrity_measure-support-remove-spinlock.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: integrity-ima-integrity_measure-support-remove-spinlock
From: Reiner Sailer <sailer@xxxxxxxxxx>

We have identified a potential source (spinlock around mutex_init).

Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 security/evm/ima/ima_queue.c |    2 --
 1 files changed, 2 deletions(-)

diff -puN security/evm/ima/ima_queue.c~integrity-ima-integrity_measure-support-remove-spinlock security/evm/ima/ima_queue.c
--- a/security/evm/ima/ima_queue.c~integrity-ima-integrity_measure-support-remove-spinlock
+++ a/security/evm/ima/ima_queue.c
@@ -38,7 +38,6 @@ void create_htable(void)
 {
 	int i;
 
-	spin_lock(&ima_queue_lock);
 	INIT_LIST_HEAD(&ima_measurements);
 	atomic_set(&ima_htable.len, 0);
 	atomic_set(&ima_htable.violations, 0);
@@ -50,7 +49,6 @@ void create_htable(void)
 	}
 
 	mutex_init(&ima_extend_list_mutex);
-	spin_unlock(&ima_queue_lock);
 }
 
 struct queue_entry *ima_lookup_digest_entry(u8 * digest_value)
_

Patches currently in -mm which might be from sailer@xxxxxxxxxx are

integrity-ima-integrity_measure-support-remove-spinlock.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