All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chad Sellers <csellers@tresys.com>
To: Erich Schubert <erich@debian.org>
Cc: SE Linux <selinux@tycho.nsa.gov>, Kevin Carr <kcarr@tresys.com>,
	selinux-dev@tresys.com
Subject: Re: FYI SELinux/AppArmor press
Date: Wed, 01 Mar 2006 21:47:14 -0500	[thread overview]
Message-ID: <44065CB2.5080500@tresys.com> (raw)
In-Reply-To: <1141250441.2834.62.camel@wintermute.xmldesign.de>

Erich Schubert wrote:
> Hi Benjy,
> 
>>How do these new IDEs that Tresys put out in the last week or so fit
>>into the picture?  Haven't used them, but they appear to be the start
>>of a higher-level approach to developing policy and perhaps more
>>intuitive.  I'm talking about SLIDE (SELinux policy IDE) and the CDS
>>framework IDE tool. 
> 
> 
Erich,

I'm sorry you're having trouble with reference policy and libsemanage.
They're still a work in progress, and will continue to improve in the
near future. We definitely appreciate your efforts to get this working
on Debian, as we want to see this used in as many distributions as
possible. Fedora and Gentoo are a good start, but we'd like to see it
keep spreading.

> They replace vim, if you are developing your policy on a system with
> eclipse installed...
> 
> SLIDE IMHO does not address the issues with the policy language, but it
> just tries to make it a little bit less painful, by basically giving you
> tab completion, reference (like the website did) and a couple of
> templates (like policygentool did). So it likely is a nice tool for
> people who _already_ know how to write policy by heart.
> 
> Have a look for example at
> http://selinux-ide.sourceforge.net/images/screenshots/completion.png
> well, it's nice syntax highlighting, and you have a dropdown to select
> the macros. But that doesn't really help you finding the appropriate
> macros, or explain what ever "generic files in library directories"
> might be. Or help you finding out whether you might need it.
> There are approximately 1600 interfaces, not counting the generated
> network port and interface macros. Even given the hierarchy represented
> by {admin,services,...} and convetions like files_ etc. names this is
> probably more than most people can handle.
> 
Reference policy is less painful, but the mechanisms it provides are the
real power that will allow us to make things easier. We've been trying
to make policy development easier for some time, and we eventually
realized that we couldn't do it without better structure in the policy.
Now that we're starting to have that structure, we can use that to build
higher-level abstractions. These can be as simple as more abstract
interfaces or as complex as higher-level languages and tools. The CDS
Framework is one early example of this which is fairly specific to a
given environment.

SLIDE is a very early version of a reference policy IDE (that's why it's
version 0.1). We're hoping to make it much easier to use over time, but
we wanted to develop it in the open-source so that we could at least get
continuous feedback on it. Even at 0.1, we've gotten some very positive
feedback regarding the features that it does provide.

> I can't say much about CDS: the website gives so few details, you can
> barely tell what it is _meant_ to be, not to say what it's capable of. I
> just don't have the time to download the sourcecode and try it. The
> screenshot appears pretty at first sight, but there is nothing on it how
> this interfaces with other parts of the system and other services -
> which is exactly where it gets messy and complicated... Stuff like
> allowing DNS usage, access to locales. Using the perl interpreter, or
> python. Reading /etc/resolv.conf. Some of this has matching interfaces
> already, some has not.
> 
Just to fill in some of the details here, CDS Framework does have
provisions for linking to the base system. I'm sorry that it is
currently not very well documented. There is actually a paper being
presented at the SELinux Symposium tomorrow on our experiences
implementing the CDS Framework language, including the difficulties with
linking to a base system. I'll make sure at least the presentation makes
it to the web.

Thanks,
Chad

-- 

----------------------
Chad Sellers
Tresys Technology, LLC
http://www.tresys.com


--
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:[~2006-03-02  2:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-24 21:01 FYI SELinux/AppArmor press Daniel J Walsh
2006-02-25  5:39 ` Randal T. Rioux
2006-02-28 15:02 ` Erich Schubert
2006-03-01  3:20   ` cwarner
2006-03-01 14:12     ` Erich Schubert
2006-03-01 20:59       ` Benjy Grogan
2006-03-01 22:00         ` Erich Schubert
2006-03-02  2:47           ` Chad Sellers [this message]
2006-03-02 10:43             ` Erich Schubert
2006-03-03  1:19               ` Joshua Brindle
2006-03-03 13:21                 ` Erich Schubert
2006-03-03 16:50                   ` coderman

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=44065CB2.5080500@tresys.com \
    --to=csellers@tresys.com \
    --cc=erich@debian.org \
    --cc=kcarr@tresys.com \
    --cc=selinux-dev@tresys.com \
    --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.