selinux_contexts_path

TriggerTek Logo
abcdefghijklmnopqrstuvwxyz_
security_get_boolean_namesSELinux API Documentatsecurity_get_boolean_names(3)



NAME
       selinux_binary_policy_path,selinux_failsafe_con-
       text_path,selinux_removable_context_path,selinux_default_context_path,
       selinux_user_contexts_path,		   selinux_file_context_path,
       selinux_media_context_path,		       selinux_contexts_path,
       selinux_booleans_path

       These functions return the paths to specific files under the
	  policy root directory.


SYNOPSIS
       #include <selinux/selinux.h>

       extern const char *selinux_binary_policy_path(void);
       extern const char *selinux_failsafe_context_path(void);
       extern const char *selinux_removable_context_path(void);
       extern const char *selinux_default_context_path(void);
       extern const char *selinux_user_contexts_path(void);
       extern const char *selinux_file_context_path(void);
       extern const char *selinux_media_context_path(void);
       extern const char *selinux_contexts_path(void);
       extern const char *selinux_booleans_path(void);



DESCRIPTION
       These functions return the paths to specific files under the
	  policy root directory.

       selinux_binary_policy_path
       Default Binary Policy

       selinux_failsafe_context_path
       Default failsafe context file

       selinux_removable_context_path
       Default removeable context file

       selinux_default_context_path
       Default	context	 used  by login programs and daemons that assume user
       roles.

       selinux_user_contexts_path
       Default user context file; used by login programs  for  default	login
       context

       selinux_file_context_path
       Default file context file used restorecon

       selinux_media_context_path
       Default	media  context	file  use  to  set  contexts on media devices
       (cdrom, floppies)

       selinux_contexts_path
       Parent directory of context files

       selinux_booleans_path
       Boolean file path, used by boolean manipulation tools


AUTHOR
       This manual page was written by Dan Walsh <dwalsh@redhat.com>.




dwalsh@redhat.com	       15 November 2004 security_get_boolean_names(3)