Searched refs:stdin_data_size (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/core/ |
D | load-fragment.c | 1174 c->stdin_data_size = 0; in config_parse_exec_input_text() 1193 if (c->stdin_data_size + sz + 1 < c->stdin_data_size || /* check for overflow */ in config_parse_exec_input_text() 1194 c->stdin_data_size + sz + 1 > EXEC_STDIN_DATA_MAX) { in config_parse_exec_input_text() 1197 c->stdin_data_size + sz, (size_t) EXEC_STDIN_DATA_MAX); in config_parse_exec_input_text() 1201 void *p = realloc(c->stdin_data, c->stdin_data_size + sz + 1); in config_parse_exec_input_text() 1205 *((char*) mempcpy((char*) p + c->stdin_data_size, resolved, sz)) = '\n'; in config_parse_exec_input_text() 1208 c->stdin_data_size += sz + 1; in config_parse_exec_input_text() 1239 c->stdin_data_size = 0; in config_parse_exec_input_data() 1252 if (c->stdin_data_size + sz < c->stdin_data_size || /* check for overflow */ in config_parse_exec_input_data() 1253 c->stdin_data_size + sz > EXEC_STDIN_DATA_MAX) { in config_parse_exec_input_data() [all …]
|
D | dbus-execute.c | 673 return sd_bus_message_append_array(reply, 'y', c->stdin_data, c->stdin_data_size); in property_get_input_data() 2985 c->stdin_data_size = 0; in bus_exec_context_set_transient_property() 2992 … if (c->stdin_data_size + sz < c->stdin_data_size || /* check for overflow */ in bus_exec_context_set_transient_property() 2993 c->stdin_data_size + sz > EXEC_STDIN_DATA_MAX) in bus_exec_context_set_transient_property() 3000 q = realloc(c->stdin_data, c->stdin_data_size + sz); in bus_exec_context_set_transient_property() 3004 memcpy((uint8_t*) q + c->stdin_data_size, p, sz); in bus_exec_context_set_transient_property() 3007 c->stdin_data_size += sz; in bus_exec_context_set_transient_property()
|
D | execute.h | 225 size_t stdin_data_size; member
|
D | execute.c | 453 if (std_input == EXEC_INPUT_DATA && context->stdin_data_size == 0) in fixup_input() 535 fd = acquire_data_fd(context->stdin_data, context->stdin_data_size, 0); in setup_input() 5402 c->stdin_data_size = 0; in exec_context_done()
|
D | service.c | 680 s->exec_context.stdin_data_size > 0) in service_fix_stdio()
|