Serious MAC bug (was [rsbac] Mac role functions)

Chirag Pandya searchformehere at yahoo.com
Fri Oct 17 14:49:46 MEST 2003


> You are perfectly right, this is a serious bug.
> Please apply the attached 
> bugfix ASAP to protect all your MAC systems > 
> This bugfix is also available online from the bugfix
> page.

I'm getting compile errors with the new patch.
mac_main.c: In function 'rsbac_adf_request_mac':
mac_main.c:3131 'A_mac_initial_sec_level undeclared'

Should this be defined under
linux/include/rsbac/aci_data_structures.h?
I looked at 
http://rsbac.dyndns.org/rsync/linux-2.4.22-rsbac-v1.2.2/include/rsbac/aci_data_structures.h

and it's not defined in there

Anyone else running into such problems?

Regards,
--Chirag


> linux-2.4.22-rsbac-v1.2.2/rsbac/adf/mac/mac_main.c~
> 2003-07-16 10:39:53.000000000 +0200
> +++
> linux-2.4.22-rsbac-v1.2.2/rsbac/adf/mac/mac_main.c
> 2003-10-17 08:54:27.000000000 +0200
> @@ -3126,6 +3126,10 @@
>                  case A_mac_trusted_for_user:
>                  case A_mac_check:
>                  case A_mac_auto:
> +                case A_mac_prop_trusted:
> +                case A_mac_file_flags:
> +                case A_mac_initial_sec_level:
> +                case A_mac_initial_categories:
>                  #ifdef CONFIG_RSBAC_MAC_GEN_PROT
>                  case A_log_array_low:
>                  case A_log_array_high:
> @@ -3378,6 +3382,10 @@
>                  case A_mac_trusted_for_user:
>                  case A_mac_check:
>                  case A_mac_auto:
> +                case A_mac_prop_trusted:
> +                case A_mac_file_flags:
> +                case A_mac_initial_sec_level:
> +                case A_mac_initial_categories:
>                  #ifdef CONFIG_RSBAC_MAC_GEN_PROT
>                  case A_log_array_low:
>                  case A_log_array_high:
> > _______________________________________________
> rsbac mailing list
> rsbac at rsbac.org
> http://www.rsbac.org/mailman/listinfo/rsbac


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


More information about the rsbac mailing list