From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpcmd0756.aruba.it (smtpcmd0756.aruba.it [62.149.156.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECAEB3446CE for ; Wed, 8 Apr 2026 17:38:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.149.156.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775669927; cv=none; b=Nh97tSZJ4stifXLUVqytx9gZDu0AvnCkgOK5erprFrHnHCg2D7Jf5uMt6Wbw/4QowtBL+TBVY2/tBRwbhJ6FuCDTTc66+CtQz7qB0Jdrq/ZcVHN+MfY9o1L5NKzTiArEZ8qf5XXpVgJrj9HDJTevuAQY5gKpa2LzEujZyb/eE44= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775669927; c=relaxed/simple; bh=XqJttA/CVUCC3we680kokyd4tJBlBGCHpQX35evpxTU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PUHAZ05yn23Ij7OwVv04WexPaY9QPKFMLfRTEujDj90Vg+iHkguceOTI5U6kXytDKSZVLAuwoxK1s0lIArA7yrc659U1htBVBnV5DIz1+GbJqbXN1BA62qEYppLVvhe2UxvlK7/cxmtm7gksA26IjdeOTkKREXHkqoobkzIor8U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com; spf=pass smtp.mailfrom=benettiengineering.com; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.b=NnE9w3lS; arc=none smtp.client-ip=62.149.156.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=benettiengineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.b="NnE9w3lS" Received: from localhost.localdomain ([84.33.84.190]) by Aruba SMTP with ESMTPSA id AWoRwcrFktpTfAWoSwriPL; Wed, 08 Apr 2026 19:35:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1775669736; bh=XqJttA/CVUCC3we680kokyd4tJBlBGCHpQX35evpxTU=; h=From:To:Subject:Date:MIME-Version; b=NnE9w3lSqa7EyiTCE0PU46mD+WHZqM3cgdZ14+aORX57UrgjSj5BQQyFj+alXRMJZ h53Fa1t3yN+YjrOqIq76TVvXShLil0EXXbWKGVTAwXFrZjdsfhZUv3GtASGJxz6IIf 5uYVI3iazho9kHIfuqAEoBJ3yQABwOGMjJ5LiOOeQh63Gvuh2zF0RtTUTR9FL4KKsw dhxK4c5OynHRUiwFPPeVQA8LpFr6a+rY2A1vbkC9G9IpGG/2bRtdF41Nk4q+T2aZM4 gHoLvUU27E7aFsmiNYp1kj3+CRA6bHCpNrZzW7CdeyRPxF0lHU+RNB1IfJO2ZZVfI3 9iGlUoXlwlWmg== From: Giulio Benetti To: linux-nfs@vger.kernel.org Cc: Giulio Benetti Subject: [PATCH v2 3/3] support/backend_sqlite.c: fix getrandom() fallback Date: Wed, 8 Apr 2026 19:35:35 +0200 Message-ID: <20260408173535.3992116-3-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260408173535.3992116-1-giulio.benetti@benettiengineering.com> References: <20260408173535.3992116-1-giulio.benetti@benettiengineering.com> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfAjrBg0BUJCKmUxMEiH5mL8ZtcXEoGQBwUT7zcvYngf+3AjddKmuTmX92KYDd5zc7tW5vKgoa+Svv8Inx5dhr2cIov/N92tYSM6AiLfysDRpj4/6TQEJ wgNDRlrcgb0R9JT2oDJpXuJMkcv9aziBEg3KT2/kWX6Fw7vzN8ReTxUWvD9iUxgItmP5RDUD86L9T2ybsqSPXGfa4XdcK+wwJMYw+dMqxuA+KY6bT8xLsW82 /cIIeHyOPAz0qFDfyxmTnZyj77xSy9vVLy0ApoZfxkHiAPL+643mys/uVDeXfag/ In old Linux/Glibc versions __NR_getrandom is defined in so let's add it to fix build failure. Signed-off-by: Giulio Benetti --- V1->V2 * added patch --- support/reexport/backend_sqlite.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/support/reexport/backend_sqlite.c b/support/reexport/backend_sqlite.c index 0eb5ea37..a1e981e4 100644 --- a/support/reexport/backend_sqlite.c +++ b/support/reexport/backend_sqlite.c @@ -9,6 +9,8 @@ #include #include +#include + #ifdef HAVE_GETRANDOM # include # if !defined(SYS_getrandom) && defined(__NR_getrandom) -- 2.47.3