/* Permanently relinquish set-UID and set-GID privileges. If error, abort since we probably shouldn't continue with elevated privileges. Note that if this error occurs when dumpcap is called from wireshark or tshark, the message seen will be "Child dumpcap process died:". This is obscure but we'll consider it acceptable since it should be highly unlikely that this error will occur.  */
static void setxid_fail(const gchar *str)
/* Permanently relinquish set-UID and set-GID privileges. If error, abort since we probably shouldn't continue with elevated privileges. Note that if this error occurs when dumpcap is called from wireshark or tshark, the message seen will be "Child dumpcap process died:". This is obscure but we'll consider it acceptable since it should be highly unlikely that this error will occur.  */
static void setxid_fail(const gchar *str)
{
	g_error("Attempt to relinguish privileges failed [%s()] - aborting: %s\n",
		str, g_strerror(errno));
}