Re: How to get targeted policy source code

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

 



On 10/15/2011 11:31 AM, Anh-Duy Vu wrote:
Friends,

Please show me how to obtain policy code of targeted type for Fedora 15 which are similar to ones located at /etc/selinux/repolicy/src of Reference Policy provided by NSA.
I downloaded selinux-policy-3.9,16-39.fc15.src.rpm packet, and rebuilt it  (rpmbuild --rebuild <packet-name>).
The results of this steps are the installation file for targeted, mls ... type.
But they do not contain what I want.
You have more options. You can clone the git repo from fedorahosted

# git clone git://git.fedorahosted.org/selinux-policy.git
# git checkout f15


You can download *.src.rpm and use it. For example

# cd /tmp
# wget http://kojipkgs.fedoraproject.org/packages/selinux-policy/3.9.16/43.fc15/src/selinux-policy-3.9.16-43.fc15.src.rpm
# rpm -i selinux-policy-3.9.16-43.fc15.src.rpm
# rpmbuild -bp ~/rpmbuild/SPECS/selinux-policy.spec

And you will have all what you want in the ~/rpmbuild directory.


--
Best regards,
Anh-Duy Vu


--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux