[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rsbac
Subject:    Re: [rsbac] Problem with Nettemp attributes
From:       Amon Ott <ao () rsbac ! org>
Date:       2002-05-07 15:06:53
[Download RAW message or body]

On Tuesday, 7. May 2002 10:32, zjager@minolta.hu wrote:
> I have two RC types squid_NETOBJ /300 id/ and squid_NETTEMP /300 id/,
> and I have Squid_local network template.
> I set Squid_local template RC_type and RC_type_NT to 
> squid_NETOBJ and squid_NETTEMP, and save settings.
> After I checked previous saved settings RC_type and RC_type_NT settings 
> changed to 44.
> I haven't got any RC type with 44 id. I tried to save with backup_all 
> script and overwrite this 44 id to 300,
> and load but got same error. I use rsbac-1.2.0-pre8 kernel patch, and 
> rsbac-admin-1.2.0-pre8.

This is a bug in attr_get_net.c in the admin tools. Please apply the attached 
patch against it and retry.

Amon.
--
http://www.rsbac.org

["attr_get_net.diff" (text/x-diff)]

--- attr_get_net.c~	Mon Apr 29 10:56:22 2002
+++ attr_get_net.c	Tue May  7 16:59:34 2002
@@ -124,10 +124,6 @@
           case A_local_data_type:
           case A_remote_data_type:
           case A_pm_object_type:
-          case A_rc_type:
-          case A_local_rc_type:
-          case A_remote_rc_type:
-          case A_rc_type_nt:
           case A_security_level:
           case A_local_sec_level:
           case A_remote_sec_level:
@@ -140,6 +136,10 @@
             break;
           case A_local_pm_object_type:
           case A_remote_pm_object_type:
+          case A_rc_type:
+          case A_local_rc_type:
+          case A_remote_rc_type:
+          case A_rc_type_nt:
             if(verbose)
               printf(gettext("%s: Returned value: %u\n"),
                      name, value.u_dummy);

_______________________________________________
rsbac mailing list
rsbac@rsbac.org
http://www.rsbac.org/mailman/listinfo/rsbac

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic