reserver_port_t was omitted in 'semanage port -l'. There seems to be no reason for that nowadays therefore we can list it. Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1225806 Signed-off-by: Petr Lautrbach <plautrba@xxxxxxxxxx> --- policycoreutils/semanage/seobject.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/policycoreutils/semanage/seobject.py b/policycoreutils/semanage/seobject.py index c52be75..3b0b108 100644 --- a/policycoreutils/semanage/seobject.py +++ b/policycoreutils/semanage/seobject.py @@ -1216,8 +1216,6 @@ class portRecords(semanageRecords): for port in self.plist: con = semanage_port_get_con(port) ctype = semanage_context_get_type(con) - if ctype == "reserved_port_t": - continue level = semanage_context_get_mls(con) proto = semanage_port_get_proto(port) proto_str = semanage_port_get_proto_str(proto) @@ -1238,8 +1236,6 @@ class portRecords(semanageRecords): for port in self.plist: con = semanage_port_get_con(port) ctype = semanage_context_get_type(con) - if ctype == "reserved_port_t": - continue proto = semanage_port_get_proto(port) proto_str = semanage_port_get_proto_str(proto) low = semanage_port_get_low(port) -- 2.6.4 _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.