From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id 883735A005E for ; Thu, 17 Nov 2022 14:59:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668693542; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LGBpC9QIaORKK8bdWOhFFgTm7IdkqdkYt3yyyeR0ftI=; b=alsAZYT8Blqqp5DSWGxELvF+va758nd2chYMrESVSleRXgEV/Tuk17xtsPFsC1neVh8gjY RzCaMUTqIKYH+WuyXg5TaCJqq7WIGJVaJJ2Bh2TuYvM0UbcYk6v9CfQqyQhAQn1hd3+l6b fid5v3MIffLVi5yD55Ky5U9T3ZX03Lg= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-634-0JXx-rhnPm-LjCMm0RtDtA-1; Thu, 17 Nov 2022 08:59:01 -0500 X-MC-Unique: 0JXx-rhnPm-LjCMm0RtDtA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0780729DD989 for ; Thu, 17 Nov 2022 13:59:01 +0000 (UTC) Received: from maya.cloud.tilaa.com (ovpn-208-8.brq.redhat.com [10.40.208.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CFF9C2028CE4; Thu, 17 Nov 2022 13:59:00 +0000 (UTC) Date: Thu, 17 Nov 2022 14:58:57 +0100 From: Stefano Brivio To: "Richard W.M. Jones" Subject: Re: [PATCH passt 0/5] Add fuzzing Message-ID: <20221117145857.6122d941@elisabeth> In-Reply-To: <20221117122614.1269214-1-rjones@redhat.com> References: <20221117122614.1269214-1-rjones@redhat.com> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: TM3FMNBS7CTTDQA5EFW6TEDIMVKUFRTT X-Message-ID-Hash: TM3FMNBS7CTTDQA5EFW6TEDIMVKUFRTT X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.3 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Thu, 17 Nov 2022 12:26:09 +0000 "Richard W.M. Jones" wrote: > Unfortunately I don't think the --fd option is working. stracing the > code shows the socket being added to the epoll, but it somehow never > gets read. It might be something obvious but I couldn't see what was > wrong. (NB: The socket passed in is *connected* already). I'm looking into this (right now just for something obvious, if nothing pops up, a bit later) but actually I wonder: couldn't qemu() from 5/5 just call socket(AF_UNIX, SOCK_STREAM, 0) and connect() on it? Or am I missing something? Then sure, as you mentioned, this could be useful for something else, so it's probably worth it to get it working. -- Stefano