Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
Dstringrep.c184 security_class_t string_to_security_class(const char *s) in string_to_security_class() function
204 return string_to_security_class("file"); in mode_to_security_class()
206 return string_to_security_class("dir"); in mode_to_security_class()
208 return string_to_security_class("chr_file"); in mode_to_security_class()
210 return string_to_security_class("blk_file"); in mode_to_security_class()
212 return string_to_security_class("fifo_file"); in mode_to_security_class()
214 return string_to_security_class("lnk_file"); in mode_to_security_class()
216 return string_to_security_class("sock_file"); in mode_to_security_class()
DcheckAccess.c44 sclass = string_to_security_class(class); in selinux_check_access()
78 passwd_class = string_to_security_class("passwd"); in selinux_check_passwd_access_internal()
Dsetexecfilecon.c24 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &newcon); in setexecfilecon()
Dlibselinux.map239 string_to_security_class;
Dmapping.c70 p_out->value = string_to_security_class(p_in->name); in selinux_set_mapping()
/third_party/selinux/libselinux/utils/
Dvalidatetrans.c30 tclass = string_to_security_class(argv[3]); in main()
Dcompute_create.c31 tclass = string_to_security_class(argv[3]); in main()
Dcompute_relabel.c31 tclass = string_to_security_class(argv[3]); in main()
Dcompute_member.c31 tclass = string_to_security_class(argv[3]); in main()
Dcompute_av.c31 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()
/third_party/selinux/libselinux/include/selinux/
Dselinux.h418 extern security_class_t string_to_security_class(const char *name);