From: Joshua Brindle <brindle@quarksecurity.com>
To: Petr Lautrbach <plautrba@redhat.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: [PATCH] policycoreutils: semanage: list reserver_port_t
Date: Mon, 04 Jan 2016 09:13:01 -0500 [thread overview]
Message-ID: <568A7DED.8010609@quarksecurity.com> (raw)
In-Reply-To: <1451896444-29665-1-git-send-email-plautrba@redhat.com>
Petr Lautrbach wrote:
> 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@redhat.com>
Thanks, applied.
> ---
> 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)
prev parent reply other threads:[~2016-01-04 14:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-04 8:34 [PATCH] policycoreutils: semanage: list reserver_port_t Petr Lautrbach
2016-01-04 14:13 ` Joshua Brindle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=568A7DED.8010609@quarksecurity.com \
--to=brindle@quarksecurity.com \
--cc=plautrba@redhat.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.