* Question about SELinux userspace library and scripts?
@ 2008-12-24 6:28 Atsushi SAKAI
2008-12-24 7:30 ` Justin P. Mattock
0 siblings, 1 reply; 4+ messages in thread
From: Atsushi SAKAI @ 2008-12-24 6:28 UTC (permalink / raw)
To: selinux
Hi,
I have a question about user-space library and script.
As far as I know, following 6-library and 1-script are exists.
Userspace library(6-libs(utils included))
http://userspace.selinuxproject.org/trac/wiki/Userland
macro for reference policy(scripts in following dir)
serefpolicy-3.5.13/support
Any other library and script exists ?
and
some explanation about serefpolicy macros?
Thanks
Atsushi SAKAI
--
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] 4+ messages in thread
* Re: Question about SELinux userspace library and scripts?
2008-12-24 6:28 Question about SELinux userspace library and scripts? Atsushi SAKAI
@ 2008-12-24 7:30 ` Justin P. Mattock
2008-12-24 7:53 ` Atsushi SAKAI
0 siblings, 1 reply; 4+ messages in thread
From: Justin P. Mattock @ 2008-12-24 7:30 UTC (permalink / raw)
To: Atsushi SAKAI; +Cc: selinux
Atsushi SAKAI wrote:
> Hi,
>
> I have a question about user-space library and script.
> As far as I know, following 6-library and 1-script are exists.
>
> Userspace library(6-libs(utils included))
> http://userspace.selinuxproject.org/trac/wiki/Userland
>
> macro for reference policy(scripts in following dir)
> serefpolicy-3.5.13/support
>
> Any other library and script exists ?
> and
> some explanation about serefpolicy macros?
>
>
> Thanks
> Atsushi SAKAI
>
>
>
>
> --
> 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.
>
>
From experience with userland
just do a git-pull..
should give the the proper files
except for python-selinux to build a custom policy
(as for macros not too sure);
regards;
Justin P. Mattock
--
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] 4+ messages in thread
* Re: Question about SELinux userspace library and scripts?
2008-12-24 7:30 ` Justin P. Mattock
@ 2008-12-24 7:53 ` Atsushi SAKAI
2008-12-24 8:10 ` Justin P. Mattock
0 siblings, 1 reply; 4+ messages in thread
From: Atsushi SAKAI @ 2008-12-24 7:53 UTC (permalink / raw)
To: Justin P. Mattock; +Cc: selinux
Hi,
Thank you for your comments.
I just want to know that
where is the ALL userland source code?
For example, I thought user-land code is only in userspace library.
But further investigatin found the code also in refpolicy/support.
I am worrying about other unread code or script exists.
Thanks
Atsushi SAKAI
"Justin P. Mattock" <justinmattock@gmail.com> wrote:
> Atsushi SAKAI wrote:
> > Hi,
> >
> > I have a question about user-space library and script.
> > As far as I know, following 6-library and 1-script are exists.
> >
> > Userspace library(6-libs(utils included))
> > http://userspace.selinuxproject.org/trac/wiki/Userland
> >
> > macro for reference policy(scripts in following dir)
> > serefpolicy-3.5.13/support
> >
> > Any other library and script exists ?
> > and
> > some explanation about serefpolicy macros?
> >
> >
> > Thanks
> > Atsushi SAKAI
> >
> >
> >
> >
> > --
> > 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.
> >
> >
> From experience with userland
> just do a git-pull..
> should give the the proper files
> except for python-selinux to build a custom policy
> (as for macros not too sure);
>
> regards;
>
> Justin P. Mattock
>
>
>
>
>
>
>
>
> --
> 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.
--
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] 4+ messages in thread
* Re: Question about SELinux userspace library and scripts?
2008-12-24 7:53 ` Atsushi SAKAI
@ 2008-12-24 8:10 ` Justin P. Mattock
0 siblings, 0 replies; 4+ messages in thread
From: Justin P. Mattock @ 2008-12-24 8:10 UTC (permalink / raw)
To: Atsushi SAKAI; +Cc: selinux
Atsushi SAKAI wrote:
> Hi,
>
> Thank you for your comments.
>
> I just want to know that
> where is the ALL userland source code?
>
> For example, I thought user-land code is only in userspace library.
> But further investigatin found the code also in refpolicy/support.
>
> I am worrying about other unread code or script exists.
>
> Thanks
> Atsushi SAKAI
>
>
> "Justin P. Mattock" <justinmattock@gmail.com> wrote:
>
>
>> Atsushi SAKAI wrote:
>>
>>> Hi,
>>>
>>> I have a question about user-space library and script.
>>> As far as I know, following 6-library and 1-script are exists.
>>>
>>> Userspace library(6-libs(utils included))
>>> http://userspace.selinuxproject.org/trac/wiki/Userland
>>>
>>> macro for reference policy(scripts in following dir)
>>> serefpolicy-3.5.13/support
>>>
>>> Any other library and script exists ?
>>> and
>>> some explanation about serefpolicy macros?
>>>
>>>
>>> Thanks
>>> Atsushi SAKAI
>>>
>>>
>>>
>>>
>>> --
>>> 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.
>>>
>>>
>>>
>> From experience with userland
>> just do a git-pull..
>> should give the the proper files
>> except for python-selinux to build a custom policy
>> (as for macros not too sure);
>>
>> regards;
>>
>> Justin P. Mattock
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> 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.
>>
>
>
>
>
Using the userland sourcecode is nice
everything is needed to build a policy i.g.
git clone http://oss.tresys.com/git/selinux.git
then after downloading the source, compile
(you will need certain packages; libpam-dev
flex, gawk, libustr-dev, gettext, sysvinit etc..)
then after compiling and installing,
you only need the python-selinux package.
(for the userland libraries and tools to work, and a policy);
then go grab you're policy
then after compiling the policy;
and making /selinux in you're tree,
you should just reboot and the policy should load
{boot params audit=1 selinux=1 enforcing=0/1};
(after loading the policy you should make relabel,
just to be safe); Userland provides all of the essentials
to build a policy.
Then once the policy is running you need to add you're
entry's in /etc/pam.d/* for newrole to work.
If you need help there's plenty of people to help you.
just don't be afraid to ask.
regards;
Justin P. mattock
--
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] 4+ messages in thread
end of thread, other threads:[~2008-12-24 8:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-24 6:28 Question about SELinux userspace library and scripts? Atsushi SAKAI
2008-12-24 7:30 ` Justin P. Mattock
2008-12-24 7:53 ` Atsushi SAKAI
2008-12-24 8:10 ` Justin P. Mattock
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.