All of lore.kernel.org
 help / color / mirror / Atom feed
* Git link to get semanage , sesearch source code
@ 2021-01-06 13:48 Ashish Mishra
  2021-01-07  7:53 ` Petr Lautrbach
  0 siblings, 1 reply; 2+ messages in thread
From: Ashish Mishra @ 2021-01-06 13:48 UTC (permalink / raw)
  To: SElinux list

Hi Senior Members ,

Good Evening.

I am trying to get SELINUX on our custom SDK for which we have added :
a) Userland libraries and tools projects from
https://github.com/SELinuxProject/selinux
b) Refpolicy from https://github.com/SELinuxProject/refpolicy

With these added , I can't see binary for applications like semanage &
sesearch .
Further looking I tried to get the packages mentioned below which
provide these binaries.
Can members please let me know which stable source code for
       a) policycoreutils-python    ( to get semanage on target )
       b) setools-console              ( to get seinfo / sesearch on target )

Since I came across these while working for another issue , I thought of
creating a new thread just for this to keep it separate .
Please do let me know if this is violating any accepted norms of
community here ,
I would align with community rules.

Thanks ,
Ashish

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Git link to get semanage , sesearch source code
  2021-01-06 13:48 Git link to get semanage , sesearch source code Ashish Mishra
@ 2021-01-07  7:53 ` Petr Lautrbach
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Lautrbach @ 2021-01-07  7:53 UTC (permalink / raw)
  To: Ashish Mishra, SElinux list

Ashish Mishra <ashishm@mvista.com> writes:

> Hi Senior Members ,
>
> Good Evening.
>
> I am trying to get SELINUX on our custom SDK for which we have added :
> a) Userland libraries and tools projects from
> https://github.com/SELinuxProject/selinux
> b) Refpolicy from https://github.com/SELinuxProject/refpolicy
>
> With these added , I can't see binary for applications like semanage &
> sesearch .
> Further looking I tried to get the packages mentioned below which
> provide these binaries.
> Can members please let me know which stable source code for
>        a) policycoreutils-python    ( to get semanage on target )

semanage is a python script -
https://github.com/SELinuxProject/selinux/blob/master/python/semanage/semanage

The latest released version is provided by selinux-python-3.1.tar.gz,
see https://github.com/SELinuxProject/selinux/releases/tag/20200710

SELinux libraries and tools can be installed from distribution packages
or built from sources, see README.md -
https://github.com/SELinuxProject/selinux/blob/master/README.md 

You can download sources directly form the repo or use the latest
release -
https://github.com/SELinuxProject/selinux/releases/tag/20200710 -
https://github.com/SELinuxProject/selinux/archive/20200710.tar.gz


>        b) setools-console              ( to get seinfo / sesearch on target )

seinfo and sesearch are part of SETools, see
https://github.com/SELinuxProject/setools/blob/master/README.md


> Since I came across these while working for another issue , I thought of
> creating a new thread just for this to keep it separate .
> Please do let me know if this is violating any accepted norms of
> community here ,
> I would align with community rules.
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-07  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-06 13:48 Git link to get semanage , sesearch source code Ashish Mishra
2021-01-07  7:53 ` Petr Lautrbach

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.