Research
.
Skip Search Box

SELinux Mailing List

Re: Added is_context_configurable function

From: Stephen Smalley <sds_at_epoch.ncsc.mil>
Date: Thu, 20 Jan 2005 10:29:36 -0500


On Wed, 2005-01-12 at 10:37, Daniel J Walsh wrote:
> Patched for libselinux.
>
> This patch changes the previous to rename configurable_contexts to
> customizable_paths.
>
> Also modifies matchpathcon to process file_contexts.local
>
> So if a user wants to change the config file of a server to a different
> location they can
> do something like the following
>
> sed 's|/var/www|/usr/local/www/g'
> /etc/selinux/targeted/context/file_context >
> /etc/selinux/targeted/context/file_context.local
>
> And then restorecon -R -v /usr/local/www

Thanks, merged into sourceforge CVS as of libselinux version 1.21.1, along with the modifications below relative to your patch.

-- 
Stephen Smalley <sds@epoch.ncsc.mil>
National Security Agency

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

Received on Thu 20 Jan 2005 - 10:45:41 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service