HomeSort by relevance Sort by last modified time
    Searched refs:tmp_record (Results 1 - 6 of 6) sorted by null

  /external/libsepol/src/
booleans.c 63 sepol_bool_t *tmp_record = NULL; local
65 if (sepol_bool_create(handle, &tmp_record) < 0)
68 if (sepol_bool_set_name(handle, tmp_record, name) < 0)
71 sepol_bool_set_value(tmp_record, value);
73 *record = tmp_record;
78 sepol_bool_free(tmp_record);
context.c 248 sepol_context_t *tmp_record = NULL; local
251 if (sepol_context_create(handle, &tmp_record) < 0)
254 if (sepol_context_set_user(handle, tmp_record,
259 if (sepol_context_set_role(handle, tmp_record,
264 if (sepol_context_set_type(handle, tmp_record,
273 if (sepol_context_set_mls(handle, tmp_record, mls) < 0)
278 *record = tmp_record;
283 sepol_context_free(tmp_record);
nodes.c 91 sepol_node_t *tmp_record = NULL; local
93 if (sepol_node_create(handle, &tmp_record) < 0)
96 sepol_node_set_proto(tmp_record, proto);
101 if (sepol_node_set_addr_bytes(handle, tmp_record,
106 if (sepol_node_set_mask_bytes(handle, tmp_record,
113 if (sepol_node_set_addr_bytes(handle, tmp_record,
118 if (sepol_node_set_mask_bytes(handle, tmp_record,
132 if (sepol_node_set_con(handle, tmp_record, tmp_con) < 0)
136 *record = tmp_record;
142 sepol_node_free(tmp_record);
    [all...]
interfaces.c 76 sepol_iface_t *tmp_record = NULL; local
78 if (sepol_iface_create(handle, &tmp_record) < 0)
81 if (sepol_iface_set_name(handle, tmp_record, name) < 0)
86 if (sepol_iface_set_ifcon(handle, tmp_record, tmp_con) < 0)
93 if (sepol_iface_set_msgcon(handle, tmp_record, tmp_con) < 0)
98 *record = tmp_record;
104 sepol_iface_free(tmp_record);
users.c 26 sepol_user_t *tmp_record = NULL; local
28 if (sepol_user_create(handle, &tmp_record) < 0)
31 if (sepol_user_set_name(handle, tmp_record, name) < 0)
38 if (sepol_user_add_role(handle, tmp_record, role) < 0)
67 if (sepol_user_set_mlslevel(handle, tmp_record, str) < 0) {
85 if (sepol_user_set_mlsrange(handle, tmp_record, str) < 0) {
92 *record = tmp_record;
97 sepol_user_free(tmp_record);
ports.c 112 sepol_port_t *tmp_record = NULL; local
114 if (sepol_port_create(handle, &tmp_record) < 0)
121 sepol_port_set_proto(tmp_record, rec_proto);
122 sepol_port_set_range(tmp_record, low, high);
127 if (sepol_port_set_con(handle, tmp_record, tmp_con) < 0)
131 *record = tmp_record;
138 sepol_port_free(tmp_record);

Completed in 258 milliseconds