1.0.6 for 2.1.129


From: ao@morpork.shnet.org (A. Ott)
Subject: 1.0.6 for 2.1.129
Date: 24 Nov 1998 11:36:00 +0100

Next Article (by Subject): 1.0.7a-pre2 ao@morpork.shnet.org (A. Ott)
Previous Article (by Subject): 1.0.5 on 2.1.126 / shm.c ao@morpork.shnet.org (A. Ott)
Articles sorted by: [Date] [Author] [Subject]


Hi!

The 1.0.6 patch for 2.1.128 can be patched against 2.1.129. You will get  
rejects for kernel/printk.c. The following patch can be used to put these  
rejects in afterwards:

--- printk.c~	Mon Nov 23 18:29:11 1998
+++ printk.c	Mon Nov 23 18:32:35 1998
@@ -129,7 +129,32 @@
 	char c;
 	int error = -EPERM;

+        /* RSBAC */
+        #ifdef CONFIG_RSBAC_SYSLOG
+        union rsbac_target_id_t       rsbac_target_id;
+        union rsbac_attribute_value_t rsbac_attribute_value;
+        #endif
+
 	lock_kernel();
+		
+        /* RSBAC */
+        #ifdef CONFIG_RSBAC_SYSLOG
+        if (rsbac_debug_aef)
+          printk(KERN_DEBUG "do_syslog() [sys_syslog()]: calling ADF\n");
+        rsbac_target_id.scd = ST_syslog;
+        rsbac_attribute_value.dummy = 0;
+        if ((type !=3) && (!rsbac_adf_request(R_MODIFY_SYSTEM_DATA,
+                               current->pid,
+                               T_SCD,
+                               rsbac_target_id,
+                               A_none,
+                               rsbac_attribute_value)))
+          {
+            error = -EPERM;
+            goto out;
+          }
+        #endif
+
 	error = 0;
 	switch (type) {
 	case 0:		/* Close log */

--
## CrossPoint v3.11 ##
-
To unsubscribe ao@morpork.shnet.org (A. Ott) from the rsbac list, send a mail to
majordomo@morpork.shnet.org with
unsubscribe rsbac
as single line in the body.

Next Article (by Subject): 1.0.7a-pre2 ao@morpork.shnet.org (A. Ott)
Previous Article (by Subject): 1.0.5 on 2.1.126 / shm.c ao@morpork.shnet.org (A. Ott)
Articles sorted by: [Date] [Author] [Subject]


Go to Compuniverse LWGate Home Page.