Lines Matching refs:strerror
95 logmsg(ANDROID_LOG_FATAL, "attach packet filter failed: %s", strerror(errno)); in configure_packet_socket()
106 logmsg(ANDROID_LOG_FATAL, "binding packet socket: %s", strerror(errno)); in configure_packet_socket()
133 logmsg(ANDROID_LOG_FATAL, "configure_tun_ip/if_address(4) failed: %s", strerror(-status)); in configure_tun_ip()
139 logmsg(ANDROID_LOG_FATAL, "configure_tun_ip/if_up(4) failed: %s", strerror(-status)); in configure_tun_ip()
159 logmsg(ANDROID_LOG_FATAL, "capset failed: %s", strerror(errno)); in set_capability()
170 logmsg(ANDROID_LOG_FATAL, "setgroups failed: %s", strerror(errno)); in drop_root_but_keep_caps()
177 logmsg(ANDROID_LOG_FATAL, "setresgid failed: %s", strerror(errno)); in drop_root_but_keep_caps()
181 logmsg(ANDROID_LOG_FATAL, "setresuid failed: %s", strerror(errno)); in drop_root_but_keep_caps()
200 logmsg(ANDROID_LOG_FATAL, "raw socket failed: %s", strerror(errno)); in open_sockets()
205 logmsg(ANDROID_LOG_ERROR, "could not set mark on raw socket: %s", strerror(errno)); in open_sockets()
279 logmsg(ANDROID_LOG_FATAL, "setsockopt(SOL_SOCKET, SO_MARK) failed: %s", strerror(errno)); in detect_mtu()
290 logmsg(ANDROID_LOG_FATAL, "connect() failed: %s", strerror(errno)); in detect_mtu()
298 logmsg(ANDROID_LOG_FATAL, "getsockopt(SOL_IPV6, IPV6_MTU) failed: %s", strerror(errno)); in detect_mtu()
358 logmsg(ANDROID_LOG_WARN, "read_packet/read error: %s", strerror(errno)); in read_packet()
405 logmsg(ANDROID_LOG_WARN, "event_loop/poll returned an error: %s", strerror(errno)); in event_loop()
415 logmsg(ANDROID_LOG_WARN, "event_loop: clearing error on read_fd6: %s", strerror(errno)); in event_loop()