SELinux Archive on
 help / color / Atom feed
From: Stephen Smalley <>
To: Topi Miettinen <>,
Cc: SElinux list <>
Subject: Re: [PATCH v2] semanage: handle getprotobyname() failure case
Date: Mon, 22 Jun 2020 08:22:48 -0400
Message-ID: <> (raw)
In-Reply-To: <>

On Mon, Jun 8, 2020 at 12:18 PM Stephen Smalley
<> wrote:
> On Fri, Jun 5, 2020 at 4:24 AM Topi Miettinen <> wrote:
> >
> > At least on Debian, /etc/protocols, which is used by
> > socket.getprotobyname() to resolve protocols to names, does not
> > contain an entry for "ipv4". In that case, set the protocol number
> > used by audit logs for "ipv4" to a fixed value. To ensure audit log
> > compatibility, let's use the same numeric value as Fedora: 4, which is
> > actually understood by kernel as IP over IP.
> >
> > Signed-off-by: Topi Miettinen <>
> This looks fine to me but adding linux-audit mailing list to see if
> they have any concerns.  It appears to make no change to the audit
> messages on Fedora.

Seeing no objections from linux-audit,

Acked-by: Stephen Smalley <>

  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-05  8:19 Topi Miettinen
2020-06-08 16:18 ` Stephen Smalley
2020-06-22 12:22   ` Stephen Smalley [this message]
2020-06-25 17:30     ` Stephen Smalley

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

SELinux Archive on

Archives are clonable:
	git clone --mirror selinux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux selinux/ \
	public-inbox-index selinux

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone