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.129.124]) by passt.top (Postfix) with ESMTP id 7747C5A026F for ; Mon, 26 Jun 2023 09:22:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687764162; 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=S+KnB/J7A1YIVkiVWmC1f4DCoPTxB6truXAcay2klEY=; b=hXdbE/j+wkEOMkhO9PdhU69jFrssqcFlDioUhdO1vzOesaevb6JSGK1A9lAUMtZtdSmeJC RLcIph2f8mHYiCv+E6ny3DQxnrrH0ZfK75DPWySpS56AulMlCU/Y+DE4N6Vz0TCabjsypS yf6SdhLvtGCnDfJBxtdrcFIvmhYQCRg= 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-25-fAD9KkusPVSsyF0lzrZjQg-1; Mon, 26 Jun 2023 03:22:37 -0400 X-MC-Unique: fAD9KkusPVSsyF0lzrZjQg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D6EDA38008A5 for ; Mon, 26 Jun 2023 07:22:36 +0000 (UTC) Received: from elisabeth (unknown [10.39.208.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2DA6B140EBB8; Mon, 26 Jun 2023 07:22:35 +0000 (UTC) Date: Mon, 26 Jun 2023 09:22:29 +0200 From: Stefano Brivio To: Paul Holzinger Subject: Re: [PATCH] pasta: include errno in error message Message-ID: <20230626092229.3daa6555@elisabeth> In-Reply-To: <20230623102350.106830-1-pholzing@redhat.com> References: <20230623102350.106830-1-pholzing@redhat.com> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 5MMQZD2UAXXFQIRVSETAJP2WPK56FY3P X-Message-ID-Hash: 5MMQZD2UAXXFQIRVSETAJP2WPK56FY3P 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.8 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 Fri, 23 Jun 2023 12:23:50 +0200 Paul Holzinger wrote: > When the open() or setns() calls fails pasta exits early and prints an > error. However it did not include the errno so it was impossible to know > why the syscall failed. > > Signed-off-by: Paul Holzinger Applied. -- Stefano