OwlCyberDefense / refpolicy

refpolicy has moved to https://github.com/SELinuxProject/refpolicy
GNU General Public License v2.0
125 stars 42 forks source link

update modutils module #87

Closed cgzones closed 7 years ago

cgzones commented 7 years ago
cgzones commented 7 years ago

any comments on this one?

cgzones commented 7 years ago

split up contrib would need to be updated too: https://github.com/TresysTechnology/refpolicy-contrib/pull/49

pebenito commented 7 years ago

There are still questions in patch that need answers.

pebenito commented 7 years ago

I tried pulling this and the relevant contrib change into my local checkout, and I still get deprecated interface usage.

policy/modules/contrib/dpkg.te:181: Warning: modutils_domtrans_insmod(dpkg_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/contrib/dpkg.te:316: Warning: modutils_domtrans_insmod(dpkg_script_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/system/init.te:1085: Warning: modutils_domtrans_insmod(initrc_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/system/iptables.te:123: Warning: modutils_domtrans_insmod(iptables_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/contrib/ncftool.te:78: Warning: modutils_domtrans_insmod(ncftool_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/contrib/portage.te:216: Warning: modutils_domtrans_insmod(portage_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/contrib/portage.te:216: Warning: modutils_run_update_mods(portage_t,portage_roles) has been deprecated, please use modutils_run() instead.
policy/modules/contrib/portage.te:216: Warning: modutils_domtrans_insmod(portage_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/contrib/rpm.te:353: Warning: modutils_domtrans_insmod(rpm_script_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/roles/sysadm.te:621: Warning: modutils_domtrans_insmod(sysadm_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/system/sysnetwork.te:206: Warning: modutils_domtrans_insmod(dhcpc_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/system/unconfined.te:114: Warning: modutils_domtrans_insmod(unconfined_t) has been deprecated, please use modutils_domtrans() instead.
policy/modules/contrib/usernetctl.te:72: Warning: modutils_domtrans_insmod(usernetctl_t) has been deprecated, please use modutils_domtrans() instead.