Home
last modified time | relevance | path

Searched refs:string_to_security_class (Results 1 – 18 of 18) sorted by relevance

/external/selinux/libselinux/src/
Dstringrep.c183 security_class_t string_to_security_class(const char *s) in string_to_security_class() function
203 return string_to_security_class("file"); in mode_to_security_class()
205 return string_to_security_class("dir"); in mode_to_security_class()
207 return string_to_security_class("chr_file"); in mode_to_security_class()
209 return string_to_security_class("blk_file"); in mode_to_security_class()
211 return string_to_security_class("fifo_file"); in mode_to_security_class()
213 return string_to_security_class("lnk_file"); in mode_to_security_class()
215 return string_to_security_class("sock_file"); in mode_to_security_class()
DcheckAccess.c57 sclass = string_to_security_class(class); in selinux_check_access()
91 passwd_class = string_to_security_class("passwd"); in selinux_check_passwd_access()
Dsetexecfilecon.c24 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &newcon); in setexecfilecon()
Dmapping.c64 p_out->value = string_to_security_class(p_in->name); in selinux_set_mapping()
Daudit2why.c346 tclass = string_to_security_class(tclassstr); in analyze()
/external/selinux/libselinux/utils/
Dcompute_member.c20 tclass = string_to_security_class(argv[3]); in main()
Dcompute_create.c20 tclass = string_to_security_class(argv[3]); in main()
Dcompute_relabel.c20 tclass = string_to_security_class(argv[3]); in main()
Dcompute_av.c20 tclass = string_to_security_class(argv[3]); in main()
Dselinuxexeccon.c24 ret = security_compute_create(execcon, fcon, string_to_security_class("process"), &newcon); in get_selinux_proc_context()
/external/libselinux/src/
DcheckAccess.c40 sclass = string_to_security_class(class); in selinux_check_access()
Dmapping.c64 p_out->value = string_to_security_class(p_in->name); in selinux_set_mapping()
Dstringrep.c161 security_class_t string_to_security_class(const char *s) in string_to_security_class() function
/external/libselinux/include/selinux/
Dselinux.h262 extern security_class_t string_to_security_class(const char *name);
/external/selinux/libselinux/include/selinux/
Dselinux.h387 extern security_class_t string_to_security_class(const char *name);
/external/selinux/policycoreutils/mcstrans/src/
Dmcscolor.c85 security_class_t context_class = string_to_security_class("context"); in check_dominance()
/external/selinux/policycoreutils/newrole/
Dnewrole.c740 string_to_security_class("chr_file"), &new_tty_con) < 0)) { in relabel_tty()
/external/selinux/libselinux/
DChangeLog556 * Fix for string_to_security_class segfault on x86_64 from Stephen