Debian Codegraph @

libsemanage/man/man3/semanage_seuser.3

raw
1 .TH semanage_seuser 3 "16 March 2006" "[email protected]" "Libsemanage API documentation"
2
3 .SH "NAME"
4 semanage_seuser \- Linux UID to SELinux User Management API
5
6 .SH "SYNOPSIS"
7 .B #include <semanage/seuser_record.h>
8 .br
9 .B #include <semanage/seusers_policy.h>
10 .br
11 .B #include <semanage/seusers_local.h>
12
13 .PP
14 This object contains properties associated with a Unix user. Typically many Unix users are mapped to the same SELinux user. See
15 .BR semanage_user "(3)"
16 for overview of the SELinux user API.
17
18 .PP
19 For details on a specific function, see its manual page.
20
21 .SH "Record API Overview"
22
23 .HP
24 .BR semanage_seuser_create "(3)" \-
25 .br
26 create a seuser
27
28 .HP
29 .BR semanage_seuser_free "(3)" \-
30 .br
31 release resources for this seuser
32
33 .HP
34 .BR semanage_seuser_key_create "(3)" \-
35 .br
36 create a key, which can be used to identify a seuser
37
38 .HP
39 .BR semanage_seuser_key_free "(3)" \-
40 .br
41 release resources for this seuser key
42
43 .HP
44 .BR semanage_seuser_key_extract "(3)" \-
45 .br
46 create a key matching this seuser
47
48 .HP
49 .BR semanage_seuser_clone "(3)" \-
50 .br
51 create an identical seuser (deep-copy clone)
52
53 .HP
54 .BR semanage_seuser_compare "(3)" \-
55 .br
56 compare this seuser to the provided key
57
58 .HP
59 .BR semanage_seuser_compare2 "(3)" \-
60 .br
61 compare this seuser to another
62
63 .SH "Properties API Overview"
64
65 .HP
66 .BR semanage_seuser_get_name "(3)" \-
67 .br
68 return the name of this seuser
69
70 .HP
71 .BR semanage_user_set_name "(3)" \-
72 .br
73 set the name of this seuser
74
75 .HP
76 .BR semanage_seuser_get_sename "(3)" \-
77 .br
78 return the name of the (SELinux) user mapped to this seuser
79
80 .HP
81 .BR semanage_user_set_sename "(3)" \-
82 .br
83 set the name of the (SELinux) user mapped to this seuser
84
85 .HP
86 .BR semanage_user_get_mlsrange "(3)" \-
87 .br
88 return a the range of valid MLS sensitivities and categories for this user
89
90 .HP
91 .BR semanage_user_set_mlsrange "(3)" \-
92 .br
93 set the range of valid MLS sensitivities and categories for this user
94
95 .SH "Record Store API Overview"
96
97 .HP
98 .BR semanage_seuser_modify_local "(3)" \-
99 .br
100 add or update a seuser in the local store
101
102 .HP
103 .BR semanage_seuser_del_local "(3)" \-
104 .br
105 delete a seuser from the local store
106
107 .HP
108 .BR semanage_seuser_exists "(3)" \-
109 .br
110 check if a seuser is defined in the persistent policy
111
112 .HP
113 .BR semanage_seuser_exists_local "(3)" \-
114 .br
115 check if a seuser is defined in the local store
116
117 .HP
118 .BR semanage_seuser_query "(3)" \-
119 .br
120 query a seuser in the persistent policy
121
122 .HP
123 .BR semanage_seuser_query_local "(3)" \-
124 .br
125 query a seuser in the local store
126
127 .HP
128 .BR semanage_seuser_count "(3)" \-
129 .br
130 count the number of seusers defined in the persistent policy
131
132 .HP
133 .BR semanage_seuser_count_local "(3)" \-
134 .br
135 count the number of seusers defined in the local store
136
137 .HP
138 .BR semanage_seuser_iterate "(3)" \-
139 .br
140 execute a callback for each seuser in the persistent policy
141
142 .HP
143 .BR semanage_seuser_iterate_local "(3)" \-
144 .br
145 execute a callback for each seuser in the local store
146
147 .HP
148 .BR semanage_seuser_list "(3)" \-
149 .br
150 return an array containing all seusers in the persistent policy
151
152 .HP
153 .BR semanage_seuser_list_local "(3)" \-
154 .br
155 return an array containing all seusers in the local store