[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090520185005.GC10756@oblivion.subreption.com>
Date: Wed, 20 May 2009 11:50:05 -0700
From: "Larry H." <research@...reption.com>
To: linux-kernel@...r.kernel.org
Cc: Linus Torvalds <torvalds@...l.org>, linux-mm@...ck.org,
Ingo Molnar <mingo@...hat.com>, pageexec@...email.hu,
faith@...hat.com
Subject: [patch 3/5] Apply the PG_sensitive flag to audit subsystem
This patch deploys the use of the PG_sensitive page allocator flag
within the audit subsystem. It's not necessarily a high profile
target for use of this flag, but could be expected to contain
potentially sensitive information under some circumstances.
Signed-off-by: Larry H. <research@...reption.com>
---
kernel/audit.c | 3 +++
1 file changed, 3 insertions(+)
Index: linux-2.6/kernel/audit.c
===================================================================
--- linux-2.6.orig/kernel/audit.c
+++ linux-2.6/kernel/audit.c
@@ -1061,6 +1061,9 @@ static struct audit_buffer * audit_buffe
}
spin_unlock_irqrestore(&audit_freelist_lock, flags);
+ if (!(gfp_mask & GFP_SENSITIVE))
+ gfp_mask |= GFP_SENSITIVE;
+
if (!ab) {
ab = kmalloc(sizeof(*ab), gfp_mask);
if (!ab)
--
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