All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivan Gyurdiev <ivg2@cornell.edu>
To: selinux@tycho.nsa.gov
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Subject: Re: [SEPOL] Remove defrole from sepol
Date: Mon, 21 Nov 2005 07:37:21 -0500	[thread overview]
Message-ID: <4381BF81.4090906@cornell.edu> (raw)
In-Reply-To: <437EBD3A.7090606@cornell.edu>


> Now we need to add the labeling prefix back into semanage somehow.
What APIs are needed here?

I have a patch that adds another record called semanage_user_aux_t (User 
Auxiliary Data), defined as data keyed on the user that stays out of 
sepol. It currently provides a method to get the defrole. It's backed by 
a flat file formatted: (name:defrole name:defrole ...)

If we have user_aux.local, and user_aux.system, how does the policy rpm 
install the system users - does it need modification APIs for that? Is 
there a third file that combines the local and system one 
(rebuild-from-scratch equivalent for flat files), or do I need to 
implement combined query/exists/iterate/..* operations (with list() and 
iterate() checking for duplicates, and giving preference to a local entry).

=========

P.S. I am suspicious that too many record/dbase functions are currently 
exposed in sepol or semanage - will have to take a look again to make 
sure they're all needed (and none are missing... because I see some that 
aren't there, like the clone function (which likely should likely stay 
hidden)).

--
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.

  reply	other threads:[~2005-11-21 12:37 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 [this message]
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
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=4381BF81.4090906@cornell.edu \
    --to=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.