diff --git a/refpolicy/Changelog b/refpolicy/Changelog index bea36d09..70100305 100644 --- a/refpolicy/Changelog +++ b/refpolicy/Changelog @@ -1,3 +1,4 @@ +- Add rhel4 distro, which also implies redhat distro. - Remove unneeded range_transition for su_exec_t and move the type declaration back to the su module. - Constrain transitions in MCS so unconfined_t cannot have diff --git a/refpolicy/Makefile b/refpolicy/Makefile index 0e7054d9..e6517b35 100644 --- a/refpolicy/Makefile +++ b/refpolicy/Makefile @@ -168,6 +168,11 @@ ifneq ($(DISTRO),) M4PARAM += -D distro_$(DISTRO) endif +# rhel4 also implies redhat +ifeq "$(DISTRO)" "rhel4" + M4PARAM += -D distro_redhat +endif + # enable polyinstantiation ifeq ($(POLY),y) M4PARAM += -D enable_polyinstantiation diff --git a/refpolicy/build.conf b/refpolicy/build.conf index a5d3a92e..7bfd7e72 100644 --- a/refpolicy/build.conf +++ b/refpolicy/build.conf @@ -27,7 +27,7 @@ NAME = refpolicy # for programs or configurations specific to the # distribution. Setting this will enable options # for the distribution. -# redhat, gentoo, debian, and suse are current options. +# redhat, gentoo, debian, suse, and rhel4 are current options. # Fedora users should enable redhat. #DISTRO = redhat