Home
last modified time | relevance | path

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

/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.c21 security_class_t value; /* real, kernel value */
27 static security_class_t current_mapping_size = 0;
37 security_class_t i, j; in selinux_set_mapping()
124 security_class_t
125 unmap_class(security_class_t tclass) in unmap_class()
140 unmap_perm(security_class_t tclass, access_vector_t tperm) in unmap_perm()
167 security_class_t
168 map_class(security_class_t kclass) in map_class()
170 security_class_t i; in map_class()
186 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()
183 security_class_t string_to_security_class(const char *s) in string_to_security_class()
200 security_class_t mode_to_security_class(mode_t m) { in mode_to_security_class()
221 access_vector_t string_to_av_perm(security_class_t tclass, const char *s) in string_to_av_perm()
224 security_class_t kclass = unmap_class(tclass); in string_to_av_perm()
238 const char *security_class_to_string(security_class_t tclass) in security_class_to_string()
251 const char *security_av_perm_to_string(security_class_t tclass, in security_av_perm_to_string()
269 int security_av_string(security_class_t tclass, access_vector_t av, char **res) in security_av_string()
323 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_av.c15 security_class_t tclass, in security_compute_av_flags_raw()
23 security_class_t kclass; in security_compute_av_flags_raw()
87 security_class_t tclass, in hidden_def()
114 security_class_t tclass, in hidden_def()
141 security_class_t tclass, in hidden_def()
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()
DcheckAccess.c16 security_class_t tclass __attribute__((unused)), in avc_reset_callback()
39 security_class_t sclass; in selinux_check_access()
87 security_class_t passwd_class; in selinux_check_passwd_access()
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()
Dcallbacks.c27 security_class_t cls __attribute__((unused)), in default_selinux_audit()
63 (*selinux_audit) (void *, security_class_t, char *, size_t) =
Dcallbacks.h19 (*selinux_audit) (void *, security_class_t, char *, size_t) hidden;
Davc_internal.c36 void (*avc_func_audit) (void *, security_class_t, char *, size_t) = NULL;
/external/selinux/libselinux/utils/
Dcompute_member.c11 security_class_t tclass; in main()
Dcompute_create.c11 security_class_t tclass; in main()
Dcompute_relabel.c11 security_class_t tclass; in main()
Dselinux_check_access.c17 __attribute__((unused))security_class_t class, in cb_auditinfo()
Dcompute_av.c11 security_class_t tclass; in main()
/external/ipsec-tools/src/racoon/
Dsecurity.c221 security_class_t tclass; in within_range()
/external/selinux/mcstrans/src/
Dmcscolor.c85 security_class_t context_class = string_to_security_class("context"); in check_dominance()