Skip to contentSkip to conversation

Names of files in policy/file_contexts/program/

DISCUSSION JW 2 participants 2 messages Jul 9, 2002 SELinux security module

lore
Share & tools
lore

JW

author
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What governs the names of the files in policy/file_contexts/program/ ? Do they match the binary name, or is it referenced from somewhere else?

- --

- ---------------------------------------------------- Jonathan Wilson
System Administrator
Cedar Creek Software http://www.cedarcreeksoftware.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9KipUQ5u80xXOLBcRAhoAAJ0VkX3sYQKUVf6rh96xxTQ7VyjNgwCfS2Fm UMf71OlBE8pKJuoDGGn57CM=
=6gFC
-----END PGP SIGNATURE-----

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 2 lines · JW

What governs the names of the files in policy/file_contexts/program/ ? Do they match the binary name, or is it referenced from somewhere else?

The policy Makefile expects the program .fc files to match the names of the corresponding program .te files. The set of .fc files is automatically generated from the list of .te files that are present (see the FCFILES definition in the Makefile), so that you can remove .te files and have the corresponding .fc files automatically ignored.

--
Stephen D. Smalley, NAI Labs
[email protected]

--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.