semanage_fcontext man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]

semanage_fcontext(3)	 Libsemanage API documentation	  semanage_fcontext(3)

NAME
       SELinux File Context Management API

SYNOPSIS
       #include <semanage/fcontext_record.h>
       #include <semanage/fcontexts_policy.h>
       #include <semanage/fcontexts_local.h>

       This  object contains properties associated with a SELinux file context
       specification

       For details on a specific function, see its manual page.

Record API Overview
       semanage_fcontext_create(3)-
	      create a file context spec

       semanage_fcontext_free(3)-
	      release resources for this file context spec

       semanage_fcontext_key_create(3)-
	      create a key, which can be used to identify a file context spec

       semanage_fcontext_key_free(3)-
	      release resources for this file context spec key

       semanage_fcontext_key_extract(3)-
	      create a key matching this file context spec

       semanage_fcontext_clone(3)-
	      create an identical file context spec (deep-copy clone)

       semanage_fcontext_compare(3)-
	      compare this file context spec to the provided key

       semanage_fcontext_compare2(3)-
	      compare this file context spec to another

Properties API Overview
       semanage_fcontext_get_expr(3)-
	      return the regular expression for this file context spec

       semanage_fcontext_set_expr(3)-
	      set the regular expression for this file context spec

       semanage_fcontext_get_type(3)-
	      return the file type for this file context spec

       semanage_fcontext_get_type_str(3)-
	      return a string representation for this file context spec type

       semanage_fcontext_set_type(3)-
	      set the file type for this file context spec

       semanage_fcontext_get_con(3)-
	      return the SELinux context for this file context spec

       semanage_fcontext_set_expr(3)-
	      set the SELinux context for this file context spec

Record Store API Overview
       semanage_fcontext_modify_local(3)-
	      add or update a file context spec in the local store

       semanage_fcontext_del_local(3)-
	      delete a file context spec from the local store

       semanage_fcontext_exists(3)-
	      check if a file context spec is defined in the persistent policy

       semanage_fcontext_exists_local(3)-
	      check if a file context spec is defined in the local store

       semanage_fcontext_query(3)-
	      query a file context spec in the persistent policy

       semanage_fcontext_query_local(3)-
	      query a file context spec in the local store

       semanage_fcontext_count(3)-
	      count the number of file context specs defined in the persistent
	      policy

       semanage_fcontext_count_local(3)-
	      count  the  number  of  file  context specs defined in the local
	      store

       semanage_fcontext_iterate(3)-
	      execute a callback for each file context spec in the  persistent
	      policy

       semanage_fcontext_iterate_local(3)-
	      execute a callback for each file context spec in the local store

       semanage_fcontext_list(3)-
	      return an array containing all file context specs in the persisā€
	      tent policy

       semanage_fcontext_list_local(3)-
	      return an array containing all file context specs in  the	 local
	      store

ivg2@cornell.edu		 16 March 2006		  semanage_fcontext(3)
[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net