All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ivan Gyurdiev <ivg2@cornell.edu>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: dwalsh@redhat.com, selinux@tycho.nsa.gov, SELinux-dev@tresys.com
Subject: MLS translations for libsemanage and libsepol
Date: Wed, 09 Nov 2005 17:31:23 -0500	[thread overview]
Message-ID: <437278BB.1000607@cornell.edu> (raw)
In-Reply-To: <1131552597.20591.554.camel@moss-spartans.epoch.ncsc.mil>

>
>
> seusers is a little unclear; it presently has to use the raw definitions
> because it is only a partial context (just the range), so it isn't going
> through conversion.  GUI for seusers modification would likely apply
> translation itself for presentation to admins.
>   

What's the justification for doing translations in libselinux (the 
library), while placing that responsibility on the caller for 
libsemanage, and sepol. Maybe we should be doing translations for:

- policydb_context_isvalid
- any new functions added to libsepol to check validity and dominance of 
mls ranges (for seusers)
- se[pol/manage]_context_from_string
- se[pol/manage]_context_to_string
- se[pol/manage]_context_get_mls
- se[pol/manage]_context_set_mls
- se[pol/manage]_user_get_mlslevel (?? - are categories supposed to be 
rejected here)
- se[pol/manage]_user_set_mlslevel (?? - are they actually rejected, or 
just ignored..hmm)
- se[pol/manage]_user_get_mlsrange
- se[pol/manage]_user_set_mlsrange
- se[pol/manage]_seuser_get_mlsrange
- se[pol/manage]_seuser_set_mlsrange


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

  parent reply	other threads:[~2005-11-09 22:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-09 13:40 Stability of libsepol and libsemanage? Thomas Bleher
2005-11-09 13:52 ` Stephen Smalley
2005-11-09 14:06   ` Stephen Smalley
     [not found]     ` <43721FCE.8050308@cornell.edu>
     [not found]       ` <1131552597.20591.554.camel@moss-spartans.epoch.ncsc.mil>
2005-11-09 22:31         ` Ivan Gyurdiev [this message]
2005-11-10 12:30           ` MLS translations for libsemanage and libsepol Stephen Smalley
2005-11-10 12:42             ` Stephen Smalley

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=437278BB.1000607@cornell.edu \
    --to=ivg2@cornell.edu \
    --cc=SELinux-dev@tresys.com \
    --cc=dwalsh@redhat.com \
    --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.