Scroll to navigation

sedta(1) SETools: SELinux Policy Analysis Tools sedta(1)


sedta - Domain transition analysis for SELinux policies




sedta is a command line tool that allows the user to perform domain transition analyses on an SELinux policy.


sedta supports loading SELinux policies in one of two formats.

A single text file containing a monolithic policy source. This file is usually named policy.conf.
A single file containing a binary policy. This file is usually named by version on Linux systems, for example, policy.30. This file is usually named sepolicy on Android systems.

If no policy file is provided, sedta will search for the policy running on the current system. If no policy can be found, sedta will print an error message and exit.


Analysis Settings

Specify the policy to analyze. If none is specified, sedta will search for the policy running on the current system.
Specify the source type to use in the domain transition analysis.
Specify the target type to use in the domain transition analysis. Using this option will also require specifying an analysis algorithm.

Analysis Algorithms

sedta uses graph algorithms to analyze the domain transition paths of an SELinux policy. The following algorithms are options for determining paths from a source type to a target type.

Print the shortest domain transition path(s) from the source type to the target type. If multiple paths have the same length, all will be displayed.
Print all domain transition path(s) up to LIMIT steps long. Depending on the connectiveness of the policy, this may be extremely expensive.

Analysis Options

Perform a reverse domain transition analysis. The domain transitions will be analyzed to find the the parent domains, instead of finding the child domains.
Specify the maximum number of domain transitions to output. The default is unlimited.
A space-separated list of types to exclude from the analysis.

General Options

Print domain transition graph statistics at the end of the analysis.
Print help information and exit.
Print version information and exit.
Print additional informational messages.
Enable debugging output.


Chris PeBenito <>


Please report bugs via the SETools bug tracker,


apol(1), sediff(1), seinfo(1), seinfoflow(1), sesearch(1)

2016-02-20 SELinux Project