From: Casey Schaufler <casey@schaufler-ca.com>
To: Trent Jaeger <tjaeger@cse.psu.edu>
Cc: Stephen Smalley <sds@tycho.nsa.gov>,
Paul Moore <paul.moore@hp.com>,
selinux@tycho.nsa.gov, James Morris <jmorris@namei.org>,
Eric Paris <eparis@parisplace.org>
Subject: Re: Socket and inode label consistency
Date: Thu, 28 Aug 2008 21:22:32 -0700 [thread overview]
Message-ID: <48B77988.9080504@schaufler-ca.com> (raw)
In-Reply-To: <495E0F32-F676-4FC7-8931-6A67FAFB47DC@cse.psu.edu>
Trent Jaeger wrote:
> ...
>>
>> However it sounded like you could just use setsockcreatecon(3) to
>> achieve your goal, which would be cleaner than relabeling an existing
>> socket.
>
> Yes, that works for what we are doing now. I'd be curious if someone
> has a need beyond setting a label on creation.
>
Sure, any service that wants to serve clients with a variety of labels.
The X server is an obvious candidate. A multi-label message bus. Label
aware sendmail. xinetd. Name services (the YP/NIS of the day). Anywhere
you want the label of the response to depend on the label of the request.
Yes, we're talking about Trusted Applications here, and specially coded
ones at that. Sometimes that's the best way.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2008-08-29 4:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-27 0:50 Socket and inode label consistency Trent Jaeger
2008-08-27 11:57 ` Stephen Smalley
2008-08-27 15:49 ` Paul Moore
2008-08-27 18:08 ` Trent Jaeger
2008-08-27 18:05 ` Eric Paris
2008-08-27 18:20 ` Trent Jaeger
2008-08-27 18:34 ` Paul Moore
2008-08-27 20:15 ` Trent Jaeger
2008-08-27 18:16 ` Stephen Smalley
2008-08-27 18:32 ` Trent Jaeger
2008-08-27 20:06 ` Casey Schaufler
2008-08-27 20:32 ` Paul Moore
2008-08-27 21:38 ` Trent Jaeger
2008-08-27 22:53 ` Casey Schaufler
2008-08-28 12:13 ` Stephen Smalley
2008-08-28 15:20 ` Trent Jaeger
2008-08-29 4:22 ` Casey Schaufler [this message]
2008-08-29 12:13 ` Stephen Smalley
2008-08-29 17:34 ` Trent Jaeger
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=48B77988.9080504@schaufler-ca.com \
--to=casey@schaufler-ca.com \
--cc=eparis@parisplace.org \
--cc=jmorris@namei.org \
--cc=paul.moore@hp.com \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
--cc=tjaeger@cse.psu.edu \
/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.