Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1910579rdb; Sun, 11 Feb 2024 03:09:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW1SbYBWHcI9dSVb0FQBvjDZ8x8ngRou4b6vG5mlssYFFHcoADf/d6Rr6+YmJG/afHRggZOYuCmrPfnlv2DPpqLRX15BIMOJTAaCnUr9Q== X-Google-Smtp-Source: AGHT+IHDEhV+TJ7ngjYDPqryoyQA0zECo3xmUHCUzWBLAvG7KjVON10+bg3R8SyIYzw9Kz9BayIP X-Received: by 2002:a05:6214:628:b0:68d:e13:db35 with SMTP id a8-20020a056214062800b0068d0e13db35mr921053qvx.55.1707649793883; Sun, 11 Feb 2024 03:09:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707649793; cv=pass; d=google.com; s=arc-20160816; b=lyEx0Mv1XJPhU5scpP8J5r6700thQK8QFhpJ/ARs4gAgQu4WXvAgYoEGVJcLhvdSDk 9pf1SLwR/iNptqJFPQtUMpm2QEt4xdV1q+YaBtHLuLzEj6pQmEy2ZGuNX3HaDlJA2z2a lJhmeVj+aDf09gI2NQp81HK65PCp7E3OPQz/sySYS7EiQYY+2F3vHxU6yKzWpOjkQHp2 2/g1TekVWr0AG3zEb/7bVkqUktWcLqsNmHpZcBWXRlbnuKPh1QMN2CbyLmZl+YRmy2Ld tzkt+j2hj9V2NmsQt1lgT1FI1WDzzRVZM+UD+643JYR4DsZaHZRvBC9PWeI0HyRGKfW3 nHuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=WtAstgPyD7w3CIqjAVvbCqIj4C/oBdg60Z9ALqXzweQ=; fh=BPL7skEvWwRn18Uu5H36ID852RSgtd8/UVDzSm7jPj8=; b=UwsjVILQYCon459lU13sST2MSk5lmhsas5eioICGp9ppK5fxjiSCxG/LhU9AWiTNgQ n1rZTTzig3DK0KpDNpmAOD9CoR22l0G4swrkbzNtcRXFzk5TNUrOTnuf4c0ZF5L+8au6 roBO/Ht/CYDmj5KYuO2VBmpANQg///aWZxYPgtw95W4GOJjWzeFBR5+dM3SUoBApXLJt /8Z1L97pjpj/sfR61K0eoHc4FNlTRKg3GfM9KQcCXA5OwwTPifPW948zA3diVhq7yc9V 3Lan0AqYoncEQ8IFqVItTstyKhAdJkn2iFBbqfU5SpRN6e3m+Tp0RiOH2DVZMOX5jqHl oI/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=1wt.eu); spf=pass (google.com: domain of linux-kernel+bounces-60708-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60708-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCVF8Bu/vJhkvurZ+iah1VWL3qr4g4E3Zv3E7NRr07ubMHpgHqfvkyBaIEmt/Vfxrh05X3X3tiSj88RG2j5v5dOQnF6PkgOXKPKzUMWKsQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id iy12-20020a0562140f6c00b0068c8aaec623si6347149qvb.81.2024.02.11.03.09.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 03:09:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60708-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=1wt.eu); spf=pass (google.com: domain of linux-kernel+bounces-60708-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60708-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A3F0C1C21364 for ; Sun, 11 Feb 2024 11:09:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0116D5A4CB; Sun, 11 Feb 2024 11:09:48 +0000 (UTC) Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4527282D6 for ; Sun, 11 Feb 2024 11:09:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=163.172.96.212 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707649787; cv=none; b=WroIhd72GWT53nwtyCGdMIJiebKv05A0jM0ifQ2eF+wrUtYH5/mP6vZrONIgQ9T70ouyqDY8hGzTW3f12NmgT2ABS4LoqGJrILFRrN7uiQODGtvlp5Zs7GT3LgD0bRffs5R4Dhk5J/Wey7cK7oc9TshAMmM3JgcE4g/bUTFrHao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707649787; c=relaxed/simple; bh=hjdGMuo75ior+4/dXsb3UBDuU16lIyqd8sLml7XMOIk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RFonfnRlDiMaIRhMu6CUwbXGfP96vC1mAclrdC7ElWb7CVmJaiUudO8J3Ml4dZq+ibskYzy+o9vingQz55R9fmmwtwkj7QRZcb6y1vlzSN/OlpAPN5GbGEeGs5DT5yN/n7T4yMacWW7XPrClkWG8UH0rKxv5LDsxEkR8PJoSIPI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=1wt.eu; spf=pass smtp.mailfrom=1wt.eu; arc=none smtp.client-ip=163.172.96.212 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=1wt.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=1wt.eu Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 41BB9ef3022150; Sun, 11 Feb 2024 12:09:40 +0100 Date: Sun, 11 Feb 2024 12:09:40 +0100 From: Willy Tarreau To: Rodrigo Campos Cc: Thomas =?iso-8859-1?Q?Wei=DFschuh?= , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] selftests/nolibc: Add tests for strlcat() and strlcpy() Message-ID: <20240211110940.GC19364@1wt.eu> References: <20240129141516.198636-1-rodrigo@sdfg.com.ar> <20240129141516.198636-5-rodrigo@sdfg.com.ar> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240129141516.198636-5-rodrigo@sdfg.com.ar> User-Agent: Mutt/1.10.1 (2018-07-13) On Mon, Jan 29, 2024 at 03:15:16PM +0100, Rodrigo Campos wrote: > I've verified that the tests matches libbsd's strlcat()/strlcpy() > implementation. > > Please note that as strlcat()/strlcpy() are not part of the libc, the > tests are only compiled when using nolibc. > > Signed-off-by: Rodrigo Campos I like it, simple and efficient, thank you! Willy