[systemd-devel] [PATCH] smack-setup: fix path to Smack/CIPSO mappings

Lennart Poettering lennart at poettering.net
Mon Sep 30 17:54:50 PDT 2013


On Mon, 30.09.13 17:43, Patrick McCarty (patrick.mccarty at linux.intel.com) wrote:

> The correct path to the dir with CIPSO mappings is /etc/smack/cipso.d/;
> /etc/smack/cipso is a file that can include these mappings as well,
> though it is no longer supported in upstream libsmack.

Thanks!

Applied!

> ---
>  src/core/smack-setup.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/core/smack-setup.c b/src/core/smack-setup.c
> index d67a84a..1434dea 100644
> --- a/src/core/smack-setup.c
> +++ b/src/core/smack-setup.c
> @@ -40,7 +40,7 @@
>  #include "label.h"
>  
>  #define SMACK_CONFIG "/etc/smack/accesses.d/"
> -#define CIPSO_CONFIG "/etc/smack/cipso/"
> +#define CIPSO_CONFIG "/etc/smack/cipso.d/"
>  
>  #ifdef HAVE_SMACK
>  


Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list