All of lore.kernel.org
 help / color / mirror / Atom feed
* Context translation and MLS categories
@ 2006-02-28  5:37 Ivan Gyurdiev
  2006-02-28 13:08 ` Stephen Smalley
  0 siblings, 1 reply; 8+ messages in thread
From: Ivan Gyurdiev @ 2006-02-28  5:37 UTC (permalink / raw)
  To: SELinux List; +Cc: Daniel J Walsh

To integrate selinux with nautilus, I'd like to have a function which 
provides me with a list of translated (sensitivity, category) pairs, as 
setrans.conf specifies. Then I can present a list of those strings to 
the user.

The question is...where should this function be located, and what kind 
of API will it have?

Currently I have a raw context that is supplied by gnome-vfs. Clearly I 
need to break that down into fields. I want the user to configure the 
individual fields, not have a box to type in the context. This breakdown 
seems like it should be internal to selinux libraries. A good place to 
do it is in the sepol context record. However, currently libsepol is 
completely unaware of translations - all it can do is supply the raw mls 
range, or possibly expand the mls range into some other format - like a 
list of (sens, cat) pairs.

That still leaves translation to be done... but libselinux does not 
provide any API for doing translation at the level of an mls range, or 
even an individual (sensitivty, category) pair. It only allows 
translation at the context level. Why is translation done at the context 
level, and can I add additional APIs to translate at mls_range, or 
individual sensitivity/category level. How does this affect the MITRE 
translation library that I've been hearing about?



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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-28 18:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28  5:37 Context translation and MLS categories Ivan Gyurdiev
2006-02-28 13:08 ` Stephen Smalley
2006-02-28 16:03   ` Ivan Gyurdiev
2006-02-28 16:32     ` Stephen Smalley
2006-02-28 17:08       ` Ivan Gyurdiev
2006-02-28 17:34         ` Stephen Smalley
2006-02-28 17:35           ` Ivan Gyurdiev
2006-02-28 18:11             ` Stephen Smalley

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.