Searched refs:mycon (Results 1 - 2 of 2) sorted by relevance
/third_party/selinux/libselinux/src/ |
H A D | setexecfilecon.c | 9 char * mycon = NULL, *fcon = NULL, *newcon = NULL; in setexecfilecon() local 16 rc = getcon(&mycon); in setexecfilecon() 24 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &newcon); in setexecfilecon() 28 if (!strcmp(mycon, newcon)) { in setexecfilecon() 31 con = context_new(mycon); in setexecfilecon() 53 freecon(mycon); in setexecfilecon()
|
/third_party/eudev/src/shared/ |
H A D | selinux-util.c | 208 _cleanup_security_context_free_ security_context_t mycon = NULL, fcon = NULL; in mac_selinux_get_create_label_from_exe() local 217 r = getcon(&mycon); in mac_selinux_get_create_label_from_exe() 226 r = security_compute_create(mycon, fcon, sclass, (security_context_t *) label); in mac_selinux_get_create_label_from_exe() 255 _cleanup_security_context_free_ security_context_t mycon = NULL, peercon = NULL, fcon = NULL; in mac_selinux_get_child_mls_label() local 267 r = getcon(&mycon); in mac_selinux_get_child_mls_label() 283 bcon = context_new(mycon); in mac_selinux_get_child_mls_label() 299 freecon(mycon); in mac_selinux_get_child_mls_label() 300 mycon = strdup(context_str(bcon)); in mac_selinux_get_child_mls_label() 301 if (!mycon) in mac_selinux_get_child_mls_label() 305 r = security_compute_create(mycon, fco in mac_selinux_get_child_mls_label() [all...] |
Completed in 1 milliseconds