Skip to content
Chris PeBenito edited this page Dec 3, 2020 · 11 revisions

SETools v4 - Policy Analysis Tools for SELinux

SETools consists of a number of SELinux policy analysis tools, both graphical and command line.

Graphical tools

Tool Name Use
apol A Qt graphical analysis tool. Use it to perform various types of analyses.

Command-line tools

Tool Name Use
sediff Compare two policies to find differences.
sedta Perform domain transition analyses.
seinfo List policy components.
seinfoflow Perform information flow analyses.
sesearch Search rules (allow, type_transition, etc.)

Obtaining SETools

Official releases of SETools may be downloaded from the releases page.

SETools source code is maintained within a GitHub repository. From the command line do:

  $ git clone https://github.com/SELinuxProject/setools.git

You may also browse the GitHub repository.

Installation

Please see the README at the top level of the source code tree for information on building and installing SETools.

Contributing

If you'd like to contribute, please send a GitHub pull request (preferred) or send patches to the SELinux mail list selinux@vger.kernel.org.

Each patch is required to include a Signed-off-by certifying that you wrote the patch or are otherwise authorized to contribute it as open source. You must use your real name (sorry, no pseudonyms or anonymous contributions.)

https://developercertificate.org

Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.


Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Previous Versions

For version 3 of SETools and earlier, please see https://github.com/TresysTechnology/setools3/wiki.