From: Joshua Brindle <jbrindle@tresys.com>
To: Ivan Gyurdiev <ivg2@cornell.edu>
Cc: selinux@tycho.nsa.gov, Stephen Smalley <sds@tycho.nsa.gov>
Subject: Re: [SEPOL] Remove defrole from sepol
Date: Wed, 23 Nov 2005 16:40:02 -0500 [thread overview]
Message-ID: <4384E1B2.4090605@tresys.com> (raw)
In-Reply-To: <4384D7C7.2020102@cornell.edu>
Ivan Gyurdiev wrote:
>
>>
>>>>>> I'm starting to question the need for this interface at all...
>>>>>> it's an interface for a very narrow user base - genhomedircon...
>>>>>> which is probably a mistake. I would prefer genhomedircon to find
>>>>>> its way into libsemanage, which is its only user (does it have
>>>>>> another one?).
>>>>>
>>>>>
>>>>> the semanage tool Dan is writing could use it, to determine if a
>>>>> level should be set, or it could just rely on getting an error back
>>>>> if you try to set a level and it is a non mls system.
>>>>
>>>>
>>>> I'm confused... it needs genhomedircon, and not the library?
>>>>
>>> which interface were you refering to? the semanage tool will need to
>>> modify most entry types.
>>
>> I was referring to the interface to export a default role for
>> genhomedircon. It's broken right now, but I'm re-writing it as a
>> general "Auxiliary Data" object... but if there is no other auxiliary
>> data than the labeling prefix/defrole, and the only user is
>> genhomedircon, it's not clear whether a new interface should be written.
>
> Well I guess we'll need some kind of interface to configure labeling...
> whether genhomedircon is inside or outside libsemanage. I just don't
> like how I'm forced into adding another record which shouldn't be
> necessary (because the alternative of adding info to the user record,
> and having it backed by both policy and file is worse)... and now have
> to add code to merge a pair of files in the list() and iterate() functions.
>
>
This is what databases are all about, relational ones anyway...
--
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:[~2005-11-23 21:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-19 5:50 [SEPOL] Remove defrole from sepol Ivan Gyurdiev
2005-11-21 12:37 ` Ivan Gyurdiev
2005-11-23 11:28 ` Ivan Gyurdiev
2005-11-23 15:32 ` Ivan Gyurdiev
2005-11-23 16:38 ` Joshua Brindle
2005-11-23 19:52 ` Ivan Gyurdiev
2005-11-23 19:46 ` Joshua Brindle
2005-11-23 20:22 ` Ivan Gyurdiev
2005-11-23 20:57 ` Ivan Gyurdiev
2005-11-23 21:40 ` Joshua Brindle [this message]
2005-11-23 21:58 ` Joshua Brindle
2005-11-23 22:35 ` Ivan Gyurdiev
2005-11-25 15:46 ` Joshua Brindle
2005-11-28 19:27 ` Stephen Smalley
2005-11-28 21:22 ` Ivan Gyurdiev
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=4384E1B2.4090605@tresys.com \
--to=jbrindle@tresys.com \
--cc=ivg2@cornell.edu \
--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 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.