netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Eric Paris <eparis@redhat.com>
Cc: netfilter-devel@vger.kernel.org, selinux@tycho.nsa.gov,
	jengelh@medozas.de, paul.moore@hp.com, jmorris@namei.org,
	sds@tycho.nsa.gov, pablo@netfilter.org
Subject: Re: [PATCH 3/4] conntrack: export lsm context rather than internal secid	via netlink
Date: Fri, 15 Oct 2010 17:20:20 +0200	[thread overview]
Message-ID: <4CB87134.1070506@trash.net> (raw)
In-Reply-To: <20101013202454.15272.72074.stgit@paris.rdu.redhat.com>

Am 13.10.2010 22:24, schrieb Eric Paris:
> The conntrack code can export the internal secid to userspace.  These are
> dynamic, can change on lsm changes, and have no meaning in userspace.  We
> should instead be sending lsm contexts to userspace instead.  This patch sends
> the secctx (rather than secid) to userspace over the netlink socket.  We use a
> new field CTA_SECCTX and stop using the the old CTA_SECMARK field since it did
> not send particularly useful information.
> 
> Signed-off-by: Eric Paris <eparis@redhat.com>
> Reviewed-by: Paul Moore <paul.moore@hp.com>

Acked-by: Patrick McHardy <kaber@trash.net>

  reply	other threads:[~2010-10-15 15:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13 20:24 [PATCH 1/4] secmark: make secmark object handling generic Eric Paris
2010-10-13 20:24 ` [PATCH 2/4] security: secid_to_secctx returns len when data is NULL Eric Paris
2010-10-13 20:24 ` [PATCH 3/4] conntrack: export lsm context rather than internal secid via netlink Eric Paris
2010-10-15 15:20   ` Patrick McHardy [this message]
2010-10-13 20:25 ` [PATCH 4/4] secmark: export secctx, drop secmark in procfs Eric Paris
2010-10-15 15:22   ` Patrick McHardy
2010-10-15 15:25     ` Jan Engelhardt
2010-10-15 15:31       ` Patrick McHardy
2010-10-15 15:18 ` [PATCH 1/4] secmark: make secmark object handling generic Patrick McHardy
2010-10-17 23:15   ` James Morris

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=4CB87134.1070506@trash.net \
    --to=kaber@trash.net \
    --cc=eparis@redhat.com \
    --cc=jengelh@medozas.de \
    --cc=jmorris@namei.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=paul.moore@hp.com \
    --cc=sds@tycho.nsa.gov \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).