From: Ivan Gyurdiev <ivg2@cornell.edu>
To: SELinux List <SELinux@tycho.nsa.gov>
Cc: Daniel J Walsh <dwalsh@redhat.com>,
Stephen Smalley <sds@tycho.nsa.gov>,
Joshua Brindle <jbrindle@tresys.com>
Subject: Re: Genhomedircon - C or Python?
Date: Sat, 18 Feb 2006 10:27:11 -0500 [thread overview]
Message-ID: <43F73CCF.2020400@cornell.edu> (raw)
In-Reply-To: <43F73BE4.7090206@cornell.edu>
>
> The function expand_symbol should take arguments:
>
> - a symbol to expand (this will be the regexp, or the context (if
> there is one))
> - a context (some data structure of unknown type, possibly
> polymorphic, containing the expansion data)
> - a function ( (context, name) -> expanded_name)
This looks confused, on the first line I mean a security context (i.e.
ROLE_something_t).
On the second and third line (and below) I mean an environment/context
in which things are expanded - i.e. in the context of user root (so name
= root, selinux_name = root, homedir = /root, and role = sysadm_r), or
in the context of the /home directory (so home_root = /home).
--
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.
prev parent reply other threads:[~2006-02-18 15:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-17 5:39 Genhomedircon - C or Python? Ivan Gyurdiev
2006-02-18 15:23 ` Ivan Gyurdiev
2006-02-18 15:27 ` Ivan Gyurdiev [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=43F73CCF.2020400@cornell.edu \
--to=ivg2@cornell.edu \
--cc=SELinux@tycho.nsa.gov \
--cc=dwalsh@redhat.com \
--cc=jbrindle@tresys.com \
--cc=sds@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.