Re: [PATCH] Realtime LSM

From: Chris Wright
Date: Fri Oct 08 2004 - 18:25:36 EST


* Lee Revell (rlrevell@xxxxxxxxxxx) wrote:
> I think the patch is reversed. It does the opposite of what you say in
> both cases ;-). I fixed these by hand.

Ooops, thanks.

- rm unecessary #ifdef CONFIG_SECURITY

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net


--- security/realtime.c~static_exit 2004-10-08 16:12:14.199873592 -0700
+++ security/realtime.c 2004-10-08 16:15:43.915991896 -0700
@@ -28,8 +28,6 @@
#include <linux/sysctl.h>
#include <linux/moduleparam.h>

-#ifdef CONFIG_SECURITY
-
#define RT_LSM "Realtime LSM " /* syslog module name prefix */
#define RT_ERR "Realtime: " /* syslog error message prefix */

@@ -231,5 +229,3 @@

MODULE_DESCRIPTION("Realtime Capabilities Security Module");
MODULE_LICENSE("GPL");
-
-#endif /* CONFIG_SECURITY */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/