Re: pp2te

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 8, 2011 at 8:48 AM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
> On Wed, 2011-12-07 at 14:13 -0500, Tim wrote:
>> Is there any way to convert targeted policy .pp files to .te files?
>
> Closest approximation would be to use semodule_unpackage to extract the
> binary .mod file from the .pp file, and then to use dismod to
> disassemble the binary .mod file.  semodule_unpackage.c attached if you
> don't have it and dismod is in the checkpolicy source tree (but not
> built as part of the Fedora package).

semodule_unpackage is provided in fedora in policycoreutils
dismod is provided in fedora in checkpolicy, although we rename it to sedismod

-Eric


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux