All of lore.kernel.org
 help / color / mirror / Atom feed
* Desktop Integration Take 2
@ 2006-02-28 21:01 Ivan Gyurdiev
  2006-03-08 19:20 ` Ivan Gyurdiev
  0 siblings, 1 reply; 5+ messages in thread
From: Ivan Gyurdiev @ 2006-02-28 21:01 UTC (permalink / raw)
  To: SELinux List; +Cc: Daniel J Walsh

Okay, after discussing various obstacles, I think it's time to come up 
with a new plan for integrating selinux w/ nautilus.
How about the following:

- Have a file controlled by libsetrans which maps customizable types to 
(unicode?) translated strings
- Have a file controlled by libsetrans which maps mls ranges to 
(unicode?) translated strings
     (setrans.conf)

- Require the mappings above to be 1:1.

- Have two functions (with better names):
get_customizable_types_by_user()
get_mls_labels_by_user()

The first takes a [Unix] user, and returns the translated labels of all 
customizable types accessible { relabelto } from that user.
The second takes a [Unix] user, and returns the translated labels of all 
mls ranges accessible from that user, [ only the labeled ones ].

===========
Make nautilus link to libsetrans.

Then on startup, nautilus calls both of those functions exactly once.
Then it has an enumeration to work with in set interfaces - have a 
drop-down box for the type, and drop-down box for the mls range.
To label a file to a non-customizable context, add a "Restore Context" 
button, which runs restorecon.




--
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] 5+ messages in thread

end of thread, other threads:[~2006-03-08 22:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28 21:01 Desktop Integration Take 2 Ivan Gyurdiev
2006-03-08 19:20 ` Ivan Gyurdiev
2006-03-08 19:59   ` Joe Nall
2006-03-08 21:52     ` Ivan Gyurdiev
2006-03-08 22:50       ` Joe Nall

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.