Searched refs:con_str (Results 1 – 7 of 7) sorted by relevance
/external/selinux/libsemanage/src/ |
D | interfaces_file.c | 26 char *con_str = NULL; in iface_print() local 35 if (semanage_context_to_string(handle, ifcon, &con_str) < 0) in iface_print() 37 if (fprintf(str, "%s ", con_str) < 0) in iface_print() 39 free(con_str); in iface_print() 40 con_str = NULL; in iface_print() 42 if (semanage_context_to_string(handle, msgcon, &con_str) < 0) in iface_print() 44 if (fprintf(str, "%s\n", con_str) < 0) in iface_print() 46 free(con_str); in iface_print() 47 con_str = NULL; in iface_print() 53 free(con_str); in iface_print()
|
D | fcontexts_file.c | 50 char *con_str = NULL; in fcontext_print() local 62 if (semanage_context_to_string(handle, con, &con_str) < 0) in fcontext_print() 64 if (fprintf(str, "%s\n", con_str) < 0) in fcontext_print() 66 free(con_str); in fcontext_print() 67 con_str = NULL; in fcontext_print() 77 free(con_str); in fcontext_print()
|
D | ports_file.c | 27 char *con_str = NULL; in port_print() local 46 if (semanage_context_to_string(handle, con, &con_str) < 0) in port_print() 48 if (fprintf(str, "%s\n", con_str) < 0) in port_print() 51 free(con_str); in port_print() 57 free(con_str); in port_print()
|
D | nodes_file.c | 27 char *con_str = NULL; in node_print() local 41 if (semanage_context_to_string(handle, con, &con_str) < 0) in node_print() 45 (str, "nodecon %s %s %s %s\n", proto_str, addr, mask, con_str) < 0) in node_print() 50 free(con_str); in node_print() 56 free(con_str); in node_print()
|
D | pywrap-test.py | 212 (rc, con_str) = semanage.semanage_context_to_string(sh,con) 213 if rc < 0: con_str = "" 214 print "Port: ", range_str, " ", proto_str, " Context: ", con_str 236 con_str = "<<none>>" 238 (rc, con_str) = semanage.semanage_context_to_string(sh,con) 239 if rc < 0: con_str = "" 240 print "File Expr: ", expr, " [", type_str, "] Context: ", con_str 330 (status, con_str) = semanage.semanage_context_to_string(sh, con) 331 if status < 0: con_str = "" 333 print "Network Node: ", addr, "/", mask, " (", proto_str, ")", "Context: ", con_str
|
/external/selinux/libsepol/src/ |
D | context.h | 25 const char *con_str, size_t con_str_len);
|
D | context.c | 294 const char *con_str, size_t con_str_len) in context_from_string() argument 304 memcpy(con_cpy, con_str, con_str_len); in context_from_string()
|