Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
Re: How to add a new application in targeted: msg#00170
|
Subject: |
Re: How to add a new application in targeted |
On Tue, 2005-05-24 at 13:41 -0400, James Z. Li wrote:
> The genral question is that if I write policy files for an application
> which is currently not in targeted policy, like mydaemon.fc and
> mydaemon.te. What should I do besides 'make load' in order to
> let Selinux know that I add a new daemon in targeted ?
You need to label the executable with the corresponding executable type,
e.g. restorecon /sbin/mydaemon, after loading the new policy. That sets
the extended attribute on the executable file, so that SELinux will
subsequently perform a domain transition when it is executed.
--
Stephen Smalley
National Security Agency
|
| |