[merged] audit-remove-unnecessary-if-config_audit.patch removed from -mm tree

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

 



The patch titled
     Subject: audit: remove unnecessary #if CONFIG_AUDIT
has been removed from the -mm tree.  Its filename was
     audit-remove-unnecessary-if-config_audit.patch

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

------------------------------------------------------
From: Gao feng <gaofeng@xxxxxxxxxxxxxx>
Subject: audit: remove unnecessary #if CONFIG_AUDIT

The files which include kernel/audit.h are complied only when CONFIG_AUDIT
is set.

Just like audit_pid, there is no need to surround audit_ever_enabled with
CONFIG_AUDIT.

Signed-off-by: Gao feng <gaofeng@xxxxxxxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Cc: Eric Paris <eparis@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/audit.h |    2 --
 1 file changed, 2 deletions(-)

diff -puN kernel/audit.h~audit-remove-unnecessary-if-config_audit kernel/audit.h
--- a/kernel/audit.h~audit-remove-unnecessary-if-config_audit
+++ a/kernel/audit.h
@@ -59,9 +59,7 @@ struct audit_entry {
 	struct audit_krule	rule;
 };
 
-#ifdef CONFIG_AUDIT
 extern int audit_ever_enabled;
-#endif
 
 extern int audit_pid;
 
_

Patches currently in -mm which might be from gaofeng@xxxxxxxxxxxxxx are

origin.patch
linux-next.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