Home
last modified time | relevance | path

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

/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.c19 security_class_t value; /* real, kernel value */
25 static security_class_t current_mapping_size = 0;
35 security_class_t i, j; in selinux_set_mapping()
100 security_class_t
101 unmap_class(security_class_t tclass) in unmap_class()
111 unmap_perm(security_class_t tclass, access_vector_t tperm) in unmap_perm()
135 security_class_t
136 map_class(security_class_t kclass) in map_class()
138 security_class_t i; in map_class()
149 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,
Davc.c21 security_class_t tclass;
42 security_class_t tclass, access_vector_t perms,
47 security_class_t tclass;
63 security_id_t tsid, security_class_t tclass) in avc_hash()
299 security_class_t tclass) in avc_claim_node()
332 security_class_t tclass, in avc_search_node()
379 security_class_t tclass, in avc_lookup()
421 security_class_t tclass, in avc_insert()
604 static void avc_dump_av(security_class_t tclass, access_vector_t av) in avc_dump_av()
639 security_class_t tclass) in avc_dump_query()
[all …]
Dstringrep.c28 security_class_t value;
45 static struct discover_class_node * get_class_cache_entry_value(security_class_t c) in get_class_cache_entry_value()
181 security_class_t string_to_security_class(const char *s) in string_to_security_class()
198 access_vector_t string_to_av_perm(security_class_t tclass, const char *s) in string_to_av_perm()
201 security_class_t kclass = unmap_class(tclass); in string_to_av_perm()
215 const char *security_class_to_string(security_class_t tclass) in security_class_to_string()
227 const char *security_av_perm_to_string(security_class_t tclass, in security_av_perm_to_string()
245 int security_av_string(security_class_t tclass, access_vector_t av, char **res) in security_av_string()
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;
DcheckAccess.c20 security_class_t sclass; in selinux_check_access()
Dcompute_create.c15 security_class_t tclass, in security_compute_create()
Dcompute_av.c15 security_class_t tclass, in security_compute_av()
Davc_internal.c36 void (*avc_func_audit) (void *, security_class_t, char *, size_t) = NULL;
/external/libselinux/include/selinux/
Dselinux.h106 typedef unsigned short security_class_t; typedef
137 int (*func_audit) (void *auditdata, security_class_t cls,
165 security_class_t tclass,
173 security_class_t tclass,
180 security_class_t tclass,
187 security_class_t tclass,
261 extern security_class_t string_to_security_class(const char *name);
262 extern const char *security_class_to_string(security_class_t cls);
265 extern const char *security_av_perm_to_string(security_class_t tclass,
267 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/dbus/bus/
Dselinux.c77 static void log_audit_callback (void *data, security_class_t class, char *buf, size_t bufleft);
177 security_id_t tsid, security_class_t tclass, in policy_reload_callback()
190 log_audit_callback (void *data, security_class_t class, char *buf, size_t bufleft) in log_audit_callback()
433 security_class_t target_class, in bus_selinux_check()
/external/ipsec-tools/src/racoon/
Dsecurity.c221 security_class_t tclass; in within_range()