Home
last modified time | relevance | path

Searched refs:security_class_t (Results 1 – 25 of 34) sorted by relevance

12

/external/selinux/libselinux/include/selinux/
Dselinux.h126 typedef unsigned short security_class_t; typedef
157 int (*func_audit) (void *auditdata, security_class_t cls,
186 security_class_t tclass,
191 security_class_t tclass,
197 security_class_t tclass,
202 security_class_t tclass,
210 security_class_t tclass,
214 security_class_t tclass,
218 security_class_t tclass,
223 security_class_t tclass,
[all …]
Davc.h140 void (*func_audit) (void *auditdata, security_class_t cls,
262 security_class_t tclass,
285 security_class_t tclass, access_vector_t requested,
308 security_class_t tclass, access_vector_t requested,
327 security_class_t tclass, security_id_t * newsid);
345 security_class_t tclass, security_id_t * newsid);
378 security_id_t tsid, security_class_t tclass,
382 security_id_t tsid, security_class_t tclass,
/external/selinux/libselinux/src/
Dmapping.h15 extern security_class_t
16 unmap_class(security_class_t tclass);
19 unmap_perm(security_class_t tclass, access_vector_t tperm);
25 extern security_class_t
26 map_class(security_class_t kclass);
29 map_perm(security_class_t tclass, access_vector_t kperm);
32 map_decision(security_class_t tclass, struct av_decision *avd);
Dmapping.c18 security_class_t value; /* real, kernel value */
24 static security_class_t current_mapping_size = 0;
34 security_class_t i, j; in selinux_set_mapping()
99 security_class_t
100 unmap_class(security_class_t tclass) in unmap_class()
115 unmap_perm(security_class_t tclass, access_vector_t tperm) in unmap_perm()
142 security_class_t
143 map_class(security_class_t kclass) in map_class()
145 security_class_t i; in map_class()
161 map_perm(security_class_t tclass, access_vector_t kperm) in map_perm()
[all …]
Dstringrep.c24 security_class_t value;
41 static struct discover_class_node * get_class_cache_entry_value(security_class_t c) in get_class_cache_entry_value()
161 security_class_t string_to_security_class(const char *s) in string_to_security_class()
178 security_class_t mode_to_security_class(mode_t m) { in mode_to_security_class()
199 access_vector_t string_to_av_perm(security_class_t tclass, const char *s) in string_to_av_perm()
202 security_class_t kclass = unmap_class(tclass); in string_to_av_perm()
216 const char *security_class_to_string(security_class_t tclass) in security_class_to_string()
229 const char *security_av_perm_to_string(security_class_t tclass, in security_av_perm_to_string()
247 int security_av_string(security_class_t tclass, access_vector_t av, char **res) in security_av_string()
301 void print_access_vector(security_class_t tclass, access_vector_t av) in print_access_vector()
Davc_internal.h24 extern void (*avc_func_audit) (void *, security_class_t, char *, size_t)hidden;
90 static inline void avc_suppl_audit(void *ptr, security_class_t class, in avc_suppl_audit()
157 security_class_t tclass, access_vector_t perms,
160 security_class_t tclass,
164 security_class_t tclass, access_vector_t perms,
168 security_class_t tclass, access_vector_t perms,
171 security_class_t tclass, access_vector_t perms,
Davc.c22 security_class_t tclass;
43 security_class_t tclass, access_vector_t perms,
48 security_class_t tclass;
64 security_id_t tsid, security_class_t tclass) in avc_hash()
344 security_class_t tclass) in avc_claim_node()
377 security_class_t tclass, in avc_search_node()
424 security_class_t tclass, in avc_lookup()
466 security_class_t tclass, in avc_insert()
647 static void avc_dump_av(security_class_t tclass, access_vector_t av) in avc_dump_av()
682 security_class_t tclass) in avc_dump_query()
[all …]
Dcompute_create.c53 security_class_t tclass, in security_compute_create_name_raw()
112 security_class_t tclass, in hidden_def()
122 security_class_t tclass, in hidden_def()
153 security_class_t tclass, in hidden_def()
Dcompute_av.c15 security_class_t tclass, in security_compute_av_flags_raw()
79 security_class_t tclass, in hidden_def()
106 security_class_t tclass, in hidden_def()
133 security_class_t tclass, in hidden_def()
Dcompute_relabel.c15 security_class_t tclass, in security_compute_relabel_raw()
67 security_class_t tclass, in hidden_def()
Dcompute_member.c15 security_class_t tclass, in security_compute_member_raw()
67 security_class_t tclass, in hidden_def()
DcheckAccess.c24 security_class_t sclass; in selinux_check_access()
70 security_class_t passwd_class; in selinux_check_passwd_access()
Dcallbacks.c28 security_class_t cls __attribute__((unused)), in default_selinux_audit()
59 (*selinux_audit) (void *, security_class_t, char *, size_t) =
Dcallbacks.h19 (*selinux_audit) (void *, security_class_t, char *, size_t) hidden;
/external/libselinux/src/
Dmapping.h15 extern security_class_t
16 unmap_class(security_class_t tclass);
19 unmap_perm(security_class_t tclass, access_vector_t tperm);
25 extern security_class_t
26 map_class(security_class_t kclass);
29 map_perm(security_class_t tclass, access_vector_t kperm);
32 map_decision(security_class_t tclass, struct av_decision *avd);
Dmapping.c18 security_class_t value; /* real, kernel value */
24 static security_class_t current_mapping_size = 0;
34 security_class_t i, j; in selinux_set_mapping()
99 security_class_t
100 unmap_class(security_class_t tclass) in unmap_class()
115 unmap_perm(security_class_t tclass, access_vector_t tperm) in unmap_perm()
142 security_class_t
143 map_class(security_class_t kclass) in map_class()
145 security_class_t i; in map_class()
161 map_perm(security_class_t tclass, access_vector_t kperm) in map_perm()
[all …]
Davc_internal.h24 extern void (*avc_func_audit) (void *, security_class_t, char *, size_t)hidden;
90 static inline void avc_suppl_audit(void *ptr, security_class_t class, in avc_suppl_audit()
157 security_class_t tclass, access_vector_t perms,
160 security_class_t tclass,
164 security_class_t tclass, access_vector_t perms,
168 security_class_t tclass, access_vector_t perms,
171 security_class_t tclass, access_vector_t perms,
Dstringrep.c24 security_class_t value;
41 static struct discover_class_node * get_class_cache_entry_value(security_class_t c) in get_class_cache_entry_value()
161 security_class_t string_to_security_class(const char *s) in string_to_security_class()
178 access_vector_t string_to_av_perm(security_class_t tclass, const char *s) in string_to_av_perm()
181 security_class_t kclass = unmap_class(tclass); in string_to_av_perm()
195 const char *security_class_to_string(security_class_t tclass) in security_class_to_string()
207 const char *security_av_perm_to_string(security_class_t tclass, in security_av_perm_to_string()
225 int security_av_string(security_class_t tclass, access_vector_t av, char **res) in security_av_string()
Davc.c22 security_class_t tclass;
43 security_class_t tclass, access_vector_t perms,
48 security_class_t tclass;
64 security_id_t tsid, security_class_t tclass) in avc_hash()
304 security_class_t tclass) in avc_claim_node()
337 security_class_t tclass, in avc_search_node()
384 security_class_t tclass, in avc_lookup()
426 security_class_t tclass, in avc_insert()
607 static void avc_dump_av(security_class_t tclass, access_vector_t av) in avc_dump_av()
642 security_class_t tclass) in avc_dump_query()
[all …]
Dcallbacks.c27 security_class_t cls __attribute__((unused)), in default_selinux_audit()
58 (*selinux_audit) (void *, security_class_t, char *, size_t) =
Dcallbacks.h19 (*selinux_audit) (void *, security_class_t, char *, size_t) hidden;
/external/libselinux/include/selinux/
Dselinux.h107 typedef unsigned short security_class_t; typedef
138 int (*func_audit) (void *auditdata, security_class_t cls,
166 security_class_t tclass,
174 security_class_t tclass,
181 security_class_t tclass,
188 security_class_t tclass,
262 extern security_class_t string_to_security_class(const char *name);
263 extern const char *security_class_to_string(security_class_t cls);
266 extern const char *security_av_perm_to_string(security_class_t tclass,
268 extern access_vector_t string_to_av_perm(security_class_t tclass,
[all …]
Davc.h136 void (*func_audit) (void *auditdata, security_class_t cls,
258 security_class_t tclass,
281 security_class_t tclass, access_vector_t requested,
304 security_class_t tclass, access_vector_t requested,
323 security_class_t tclass, security_id_t * newsid);
341 security_class_t tclass, security_id_t * newsid);
374 security_id_t tsid, security_class_t tclass,
378 security_id_t tsid, security_class_t tclass,
/external/selinux/libselinux/utils/
Dcompute_create.c11 security_class_t tclass; in main()
Dcompute_member.c11 security_class_t tclass; in main()

12