Searched refs:ds_command (Results 1 – 1 of 1) sorted by relevance
/dports/dns/opendnssec2/opendnssec-2.1.10/enforcer/src/keystate/ |
H A D | keystate_ds.c | 97 exec_dnskey_by_id(int sockfd, key_data_t *key, const char* ds_command, in exec_dnskey_by_id() argument 150 if (!ds_command || ds_command[0] == '\0') { in exec_dnskey_by_id() 156 pos = strstr(ds_command, " --cka_id"); in exec_dnskey_by_id() 164 if (stat(ds_command, &stat_ret) != 0) { in exec_dnskey_by_id() 166 "Cannot stat file %s: %s", ds_command, in exec_dnskey_by_id() 177 "File %s is not executable", ds_command); in exec_dnskey_by_id() 180 FILE *fp = popen(ds_command, "w"); in exec_dnskey_by_id() 184 "failed to run command: %s: %s",ds_command, in exec_dnskey_by_id() 195 "Failed to write to %s: %s", ds_command, in exec_dnskey_by_id() 200 "failed to close %s: %s", ds_command, in exec_dnskey_by_id() [all …]
|