1semanage_fcontext(3)     Libsemanage API documentation    semanage_fcontext(3)
2
3
4

NAME

6       semanage_fcontext - SELinux File Context Management API
7
8

SYNOPSIS

10       #include <semanage/fcontext_record.h>
11       #include <semanage/fcontexts_policy.h>
12       #include <semanage/fcontexts_local.h>
13
14
15       This  object contains properties associated with a SELinux file context
16       specification
17
18
19       For details on a specific function, see its manual page.
20
21

Record API Overview

23       semanage_fcontext_create(3)-
24              create a file context spec
25
26
27       semanage_fcontext_free(3)-
28              release resources for this file context spec
29
30
31       semanage_fcontext_key_create(3)-
32              create a key, which can be used to identify a file context spec
33
34
35       semanage_fcontext_key_free(3)-
36              release resources for this file context spec key
37
38
39       semanage_fcontext_key_extract(3)-
40              create a key matching this file context spec
41
42
43       semanage_fcontext_clone(3)-
44              create an identical file context spec (deep-copy clone)
45
46
47       semanage_fcontext_compare(3)-
48              compare this file context spec to the provided key
49
50
51       semanage_fcontext_compare2(3)-
52              compare this file context spec to another
53
54
55

Properties API Overview

57       semanage_fcontext_get_expr(3)-
58              return the regular expression for this file context spec
59
60
61       semanage_fcontext_set_expr(3)-
62              set the regular expression for this file context spec
63
64
65       semanage_fcontext_get_type(3)-
66              return the file type for this file context spec
67
68
69       semanage_fcontext_get_type_str(3)-
70              return a string representation for this file context spec type
71
72
73       semanage_fcontext_set_type(3)-
74              set the file type for this file context spec
75
76
77       semanage_fcontext_get_con(3)-
78              return the SELinux context for this file context spec
79
80
81       semanage_fcontext_set_expr(3)-
82              set the SELinux context for this file context spec
83
84
85

Record Store API Overview

87       semanage_fcontext_modify_local(3)-
88              add or update a file context spec in the local store
89
90
91       semanage_fcontext_del_local(3)-
92              delete a file context spec from the local store
93
94
95       semanage_fcontext_exists(3)-
96              check if a file context spec is defined in the persistent policy
97
98
99       semanage_fcontext_exists_local(3)-
100              check if a file context spec is defined in the local store
101
102
103       semanage_fcontext_query(3)-
104              query a file context spec in the persistent policy
105
106
107       semanage_fcontext_query_local(3)-
108              query a file context spec in the local store
109
110
111       semanage_fcontext_count(3)-
112              count the number of file context specs defined in the persistent
113              policy
114
115
116       semanage_fcontext_count_local(3)-
117              count  the  number  of  file  context specs defined in the local
118              store
119
120
121       semanage_fcontext_iterate(3)-
122              execute a callback for each file context spec in the  persistent
123              policy
124
125
126       semanage_fcontext_iterate_local(3)-
127              execute a callback for each file context spec in the local store
128
129
130       semanage_fcontext_list(3)-
131              return an array containing all file context specs in the persisā€
132              tent policy
133
134
135       semanage_fcontext_list_local(3)-
136              return an array containing all file context specs in  the  local
137              store
138
139
140
141ivg2@cornell.edu                 16 March 2006            semanage_fcontext(3)
Impressum