/external/libdaemon/examples/ |
H A D | testd.c | 45 daemon_log(LOG_ERR, "Failed to reset all signal handlers: %s", strerror(errno)); 51 daemon_log(LOG_ERR, "Failed to unblock all signals: %s", strerror(errno)); 66 daemon_log(LOG_WARNING, "Failed to kill daemon: %s", strerror(errno)); 73 daemon_log(LOG_ERR, "Daemon already running on PID file %u", pid); 79 daemon_log(LOG_ERR, "Failed to create pipe."); 95 daemon_log(LOG_ERR, "Could not recieve return value from daemon process: %s", strerror(errno)); 99 daemon_log(ret != 0 ? LOG_ERR : LOG_INFO, "Daemon returned %i as return value.", ret); 108 daemon_log(LOG_ERR, "Failed to close all file descriptors: %s", strerror(errno)); 117 daemon_log(LOG_ERR, "Could not create PID file (%s).", strerror(errno)); 124 daemon_log(LOG_ER [all...] |
/external/libdaemon/libdaemon/ |
H A D | dsignal.c | 53 daemon_log(LOG_ERR, "pipe(): %s", strerror(errno)); 74 daemon_log(LOG_ERR, "sigemptyset(): %s", strerror(errno)); 79 daemon_log(LOG_ERR, "sigaddset(): %s", strerror(errno)); 84 daemon_log(LOG_ERR, "sigprocmask(): %s", strerror(errno)); 94 daemon_log(LOG_ERR, "sigaction(%s, ...) failed: %s", strsignal(s), strerror(errno)); 149 daemon_log(LOG_ERR, "read(signal_pipe[0], ...): %s", strerror(errno)); 154 daemon_log(LOG_ERR, "Short read() on signal pipe.");
|
H A D | dexec.c | 63 daemon_log(LOG_ERR, "pipe() failed: %s", strerror(errno)); 68 daemon_log(LOG_ERR, "fork() failed: %s", strerror(errno)); 83 daemon_log(LOG_ERR, "dup2: %s", strerror(errno)); 89 daemon_log(LOG_ERR, "dup2: %s", strerror(errno)); 103 daemon_log(LOG_ERR, "Unable to open /dev/null as STDIN"); 114 daemon_log(LOG_WARNING, "Failed to change to directory '%s'", dir); 125 daemon_log(LOG_ERR, "execv(%s) failed: %s", prog, strerror(errno)); 149 daemon_log(LOG_ERR, "select() failed: %s", strerror(errno)); 170 daemon_log(LOG_INFO, "client: %s", buf); 188 daemon_log(LOG_WARNIN [all...] |
H A D | dfork.c | 125 daemon_log(LOG_ERR, "dup(): %s", strerror(errno)); 148 daemon_log(LOG_ERR, "sigemptyset() failed: %s", strerror(errno)); 153 daemon_log(LOG_ERR, "sigaddset() failed: %s", strerror(errno)); 158 daemon_log(LOG_ERR, "sigaction() failed: %s", strerror(errno)); 163 daemon_log(LOG_ERR, "sigprocmask() failed: %s", strerror(errno)); 173 daemon_log(LOG_ERR, "pipe() failed: %s", strerror(errno)); 184 daemon_log(LOG_ERR, "First fork() failed: %s", strerror(errno)); 206 daemon_log(LOG_ERR, "close() failed: %s", strerror(errno)); 220 daemon_log(LOG_ERR, "Failed to open /dev/null for STDIN: %s", strerror(errno)); 225 daemon_log(LOG_ER [all...] |
H A D | dlog.h | 71 void daemon_log(int prio, const char* t, ...) DAEMON_GCC_PRINTF_ATTR(2,3); 79 /** Same as daemon_log(), but without variadic arguments
|
H A D | dlog.c | 46 daemon_log(LOG_ERR, "The value %d is not a valid priority value", verbosity_prio); 78 void daemon_log(int prio, const char* template, ...) { function
|
H A D | dpid.c | 92 daemon_log(LOG_WARNING, "fcntl(F_SETLKW) failed: %s", strerror(errno)); 116 daemon_log(LOG_WARNING, "Failed to open PID file: %s", strerror(errno)); 127 daemon_log(LOG_WARNING, "read(): %s", strerror(errno)); 141 daemon_log(LOG_WARNING, "PID file corrupt, removing. (%s)", fn); 149 daemon_log(LOG_WARNING, "Process %lu died: %s; trying to remove PID file. (%s)", (unsigned long) pid, strerror(errno), fn); 231 daemon_log(LOG_ERR, "open(%s): %s", fn, strerror(errno)); 247 daemon_log(LOG_WARNING, "write(): %s", strerror(errno));
|
/external/avahi/avahi-dnsconfd/ |
H A D | main.c | 146 daemon_log(LOG_ERR, "socket(): %s", strerror(errno)); 151 daemon_log(LOG_ERR, "fcntl(): %s", strerror(errno)); 161 daemon_log(LOG_ERR, "connect(): %s", strerror(errno)); 162 daemon_log(LOG_INFO, "Failed to connect to the daemon. This probably means that you"); 163 daemon_log(LOG_INFO, "didn't start avahi-daemon before avahi-dnsconfd."); 279 daemon_log(LOG_WARNING, "Failed to run script"); 281 daemon_log(LOG_WARNING, "Script returned with non-zero exit code %i", ret); 289 daemon_log(LOG_ERR, "Avahi command failed: %s", l); 293 daemon_log(LOG_INFO, "Successfully connected to Avahi daemon."); 304 daemon_log(LOG_ER [all...] |
/external/avahi/avahi-autoipd/ |
H A D | main.c | 233 daemon_log(LOG_ERR, "fopen() failed: %s", strerror(errno)); 238 daemon_log(LOG_ERR, "Parse failure"); 263 daemon_log(LOG_ERR, "fopen() failed: %s", strerror(errno)); 400 DEBUG(daemon_log(LOG_DEBUG, "State iteration %s-%i", state_table[state], n_iteration)); 402 DEBUG(daemon_log(LOG_DEBUG, "State transition %s-%i -> %s-0", state_table[state], n_iteration, state_table[st])); 422 daemon_log(LOG_ERR, "socket() failed: %s", strerror(errno)); 428 daemon_log(LOG_ERR, "if_indextoname() failed: %s", strerror(errno)); 433 daemon_log(LOG_ERR, "SIOCGIFFLAGS failed: %s", strerror(errno)); 440 daemon_log(LOG_ERR, "SIOCSIFFLAGS failed: %s", strerror(errno)); 468 daemon_log(LOG_ER [all...] |
H A D | iface-bsd.c | 116 daemon_log(LOG_ERR, "socket(PF_ROUTE): %s", strerror(errno)); 153 daemon_log(LOG_ERR, "sysctl(NET_RT_IFLIST): %s", 160 daemon_log(LOG_ERR, "malloc(%d): %s", len, strerror(errno)); 165 daemon_log(LOG_ERR, "sysctl(NET_RT_IFLIST): %s", 240 daemon_log(LOG_ERR, "malloc(%d): %s", sizeof(*di), 248 daemon_log(LOG_ERR, "calloc(%d): %s", MAX_RTMSG_SIZE, 266 daemon_log(LOG_ERR, "recvmsg(): %s", 275 daemon_log(LOG_ERR, 291 daemon_log(LOG_DEBUG, "%s: rtm_type %d ignored", __func__, rtm->rtm_type); 317 daemon_log(LOG_DEBU [all...] |
H A D | iface-linux.c | 70 daemon_log(LOG_ERR, "socket(PF_NETLINK): %s", strerror(errno)); 80 daemon_log(LOG_ERR, "bind(): %s", strerror(errno)); 85 daemon_log(LOG_ERR, "SO_PASSCRED: %s", strerror(errno)); 115 daemon_log(LOG_ERR, "Interface vanished."); 124 daemon_log(LOG_ERR, "Interface not suitable."); 207 daemon_log(LOG_ERR, "recvmsg() failed: %s", strerror(errno)); 212 daemon_log(LOG_WARNING, "No sender credentials received, ignoring data."); 226 daemon_log(LOG_ERR, "Netlink packet too small."); 237 daemon_log(LOG_ERR, "Netlink error: %s", strerror(-e->error)); 273 daemon_log(LOG_ER [all...] |
/external/avahi/avahi-daemon/ |
H A D | main.c | 903 daemon_log(log_level_map[level], "%s", txt);
|