selinux June 2007 archive
Main Archive Page > Month Archives  > selinux archives
selinux: RE: SELinux userspace infrastructure language

RE: SELinux userspace infrastructure language

From: Joshua Brindle <jbrindle_at_nospam>
Date: Fri Jun 01 2007 - 15:17:26 GMT
To: "Karl MacMillan" <kmacmill@redhat.com>, "James Antill" <jantill@redhat.com>


Karl MacMillan wrote: > On Fri, 2007-06-01 at 00:10 -0400, James Antill wrote:
>> On Thu, 2007-05-31 at 20:45 +0100, Stephen Bennett wrote:
>>> On Thu, 31 May 2007 13:54:23 -0400 >>> "Joshua Brindle" <jbrindle@tresys.com> wrote: >>> >>>> Given all this I think C++ is the best bet, though I'm not adverse >>>> to most of the frontends being written in python, it would just be >>>> nice if the actual policy representation and accessors are >>>> available from a shared library API that most languages can use. >>> >>> From the library side, C++ has the advantage that it can produce >>> bindings for any language that C can.
>>
>> Do you have a examples of this? From what little I know it's _much_
>> harder to produce usable bindings from C++, the Qt/KDE bindings seem
>> to have been in the works for years now and AIUI only very
>> recently[1] got into KDE's stable branch. With the first non-C++
>> application being written in ... python.
> > It's a matter of how idiomatic you want the bindings and what > the C++ code looks like. If you stick to fairly > straightforward C++ code then the bindings are pretty simple. > If you use lots of advanced features then things can be strange. >
>> Even assuming everyone could cooperatively write good C++ code from
>> scratch using just the right C++ features, which is a huge
>> assumption[2], it then has to be debugged and then after all that
>> work all you'll gain is that you can then bind to python (and maybe,
>> Java/ruby) as well? Is anyone writing anything in a language other
>> than C or Python?
>>
> > In the selinux world? Some people have, but not recently. >

SLIDE is in active development and is written in Java. -- 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.