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

NAME

6       semanage_seuser - Linux UID to SELinux User Management API
7
8

SYNOPSIS

10       #include <semanage/seuser_record.h>
11       #include <semanage/seusers_policy.h>
12       #include <semanage/seusers_local.h>
13
14
15       This  object contains properties associated with a Unix user. Typically
16       many Unix users are  mapped  to  the  same  SELinux  user.  See  semanā€
17       age_user(3) for overview of the SELinux user API.
18
19
20       For details on a specific function, see its manual page.
21
22

Record API Overview

24       semanage_seuser_create(3)-
25              create a seuser
26
27
28       semanage_seuser_free(3)-
29              release resources for this seuser
30
31
32       semanage_seuser_key_create(3)-
33              create a key, which can be used to identify a seuser
34
35
36       semanage_seuser_key_free(3)-
37              release resources for this seuser key
38
39
40       semanage_seuser_key_extract(3)-
41              create a key matching this seuser
42
43
44       semanage_seuser_clone(3)-
45              create an identical seuser (deep-copy clone)
46
47
48       semanage_seuser_compare(3)-
49              compare this seuser to the provided key
50
51
52       semanage_seuser_compare2(3)-
53              compare this seuser to another
54
55

Properties API Overview

57       semanage_seuser_get_name(3)-
58              return the name of this seuser
59
60
61       semanage_user_set_name(3)-
62              set the name of this seuser
63
64
65       semanage_seuser_get_sename(3)-
66              return the name of the (SELinux) user mapped to this seuser
67
68
69       semanage_user_set_sename(3)-
70              set the name of the (SELinux) user mapped to this seuser
71
72
73       semanage_user_get_mlsrange(3)-
74              return a the range of valid MLS sensitivities and categories for
75              this user
76
77
78       semanage_user_set_mlsrange(3)-
79              set the range of valid MLS sensitivities and categories for this
80              user
81
82

Record Store API Overview

84       semanage_seuser_modify_local(3)-
85              add or update a seuser in the local store
86
87
88       semanage_seuser_del_local(3)-
89              delete a seuser from the local store
90
91
92       semanage_seuser_exists(3)-
93              check if a seuser is defined in the persistent policy
94
95
96       semanage_seuser_exists_local(3)-
97              check if a seuser is defined in the local store
98
99
100       semanage_seuser_query(3)-
101              query a seuser in the persistent policy
102
103
104       semanage_seuser_query_local(3)-
105              query a seuser in the local store
106
107
108       semanage_seuser_count(3)-
109              count the number of seusers defined in the persistent policy
110
111
112       semanage_seuser_count_local(3)-
113              count the number of seusers defined in the local store
114
115
116       semanage_seuser_iterate(3)-
117              execute a callback for each seuser in the persistent policy
118
119
120       semanage_seuser_iterate_local(3)-
121              execute a callback for each seuser in the local store
122
123
124       semanage_seuser_list(3)-
125              return an array containing all seusers in the persistent policy
126
127
128       semanage_seuser_list_local(3)-
129              return an array containing all seusers in the local store
130
131
132
133ivg2@cornell.edu                 16 March 2006              semanage_seuser(3)
Impressum