Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp175095lqc; Thu, 29 Feb 2024 13:54:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUU1uCHWez6hwaogRx/N/TUTtRLTm128RyXCIdcMPwmkyJ/IfDB/Q8EDpZafarAARuuuSD7KDy2ncdmuDiuFsIxWHMjFi8bIvcQJ08ONA== X-Google-Smtp-Source: AGHT+IEvag+5KbP6yo578cEbVOOlhS9r+f2vvzHVA1Gvmqtuvwhx+DtJvO/Z3dgCOZE1BYUyKa/B X-Received: by 2002:a05:6214:2266:b0:68f:e858:a1e1 with SMTP id gs6-20020a056214226600b0068fe858a1e1mr5048543qvb.25.1709243689155; Thu, 29 Feb 2024 13:54:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709243689; cv=pass; d=google.com; s=arc-20160816; b=NQZd0tTg5/6klnx+YeXQiU4SiV1LV0gqqtojlISsjahDDHNgAiJNxfmwNc8+uqapiD rP7beImm3ylm3IiA6TUnzARO64Ou6hUEq54bbk/nsIQwJ2jKeKGkDZUdRxF93R1hZMRp fHNWTDtGkREZxzXwl6zTHSEbjHfjvmebwUCuNhtNd/NLryupcnt+guxUnavWYxSUkMIt oSj8HqUnexbRz8XTttu3L8gi+uLXrVckh7f7mfrwMIP3y0ZFhZAoayTo7xHEqYOT2BGu WLnjs3uHYV+/ldNANyFBCE3vG5vGp2wN6SkARArzt0uzJzIJuAsnrAwX1NcWH9ufHrJG TU4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=TNGIwV9X7LvXUSTzJEP/vvC0jsvvaqoXTZbcbIniXd4=; fh=VPbK2bxBOrEM/ndBJV/FEB+hgqIpR/P4pTkRBH5Zy1w=; b=L4WA1jFqtWkNCT15s+6uxcpLdmCYbUzmhGI9iTafHJDRhOsn1JyozrREwbY8jbqlx7 D+XizxTQeYEviWWnHosb/eKBPQ/hO/jlI7Ium3m+qtIkZ6RvI6IteF47jh6g+kZ4r/Iv fZj6G04G0FIo4Rnj7VbJc6ZpPI9lV/+GKqqrTqFScAPRzcv4oLRj/zKoO53/DiMwRMIf HudeIUNYh7TZFHWpTlEfOhJuOL6B9MtvdWSCJcm5rEM03lBBMmyPn7Nhvj2m9dcUjYw5 4R/lbk4zNcQCARw5OI+gciZAUJmZNLrgQzExZqW31UekIPscPXRPqw8WP1pSbQQXWEPi wrzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=hJG8CwZs; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-87606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f21-20020ac87f15000000b0042eb2aed0easi2382402qtk.542.2024.02.29.13.54.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 13:54:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=hJG8CwZs; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-87606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 DC8F91C22D82 for ; Thu, 29 Feb 2024 21:54:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A6FE6D52D; Thu, 29 Feb 2024 21:54:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="hJG8CwZs" Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (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 B24E66D50B for ; Thu, 29 Feb 2024 21:54:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709243681; cv=none; b=dl8AZ4VoQH0j2xJQIzOBEHTQfG0SzKfz57STQw6I+mTQahuULaW7FsgCDMCwwtMa6ZxzRknUJioGYbJ3B36XRQiV5VO25VXr2SATvp9C1YiEPykAPPKXzFV1TXz3sgaRGX+p+ugL4onwPA3hF0b7SmpyP0OjkVzHIh0Xe7lbOsY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709243681; c=relaxed/simple; bh=maQigr3mbZaYTKN0yw7/tVw2rKFSCT7IUp4mO6xJHWY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bH+Ho8pABozck4Va5lRSJsY8sAJ/XW95XFlIv/vtI1ne+k+FDaSLGxh0sY+EKuCZzNlGCOUl3ZFAWJJbMVqx9a9yF3oshHGTV8PZI8XRSSGHXG6ushA+N+RTxGPnNLIWekWfUD4tF4hYkrFIIAENQcYhmkmE7FqmAjj7CtIB6Rc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=hJG8CwZs; arc=none smtp.client-ip=91.218.175.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Thu, 29 Feb 2024 16:54:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1709243677; 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: in-reply-to:in-reply-to:references:references; bh=TNGIwV9X7LvXUSTzJEP/vvC0jsvvaqoXTZbcbIniXd4=; b=hJG8CwZs6AyzZ6I3dWjFYpju8pNArxrH8ZRjX9tfyj5c8vckb6LA2F0deapPIisQybc+ft n0NxLpYg1sRrhbjC3HIoWg+eQYPhD5Z6+vjcX+Mrm0osS5zSW4dWgbuYVlPzKSEEvu/EmL 1/Hrpe0ANiF9vXhvtxH/zSigsbu6joY= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Kees Cook Cc: linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Shevchenko , Andy Shevchenko , Andrew Morton , Suren Baghdasaryan Subject: Re: [PATCH v1 1/1] lib/string_helpers: Add flags param to string_get_size() Message-ID: References: <20240229205345.93902-1-andriy.shevchenko@linux.intel.com> <170924355200.1509550.2313379734413200100.b4-ty@chromium.org> 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: <170924355200.1509550.2313379734413200100.b4-ty@chromium.org> X-Migadu-Flow: FLOW_OUT On Thu, Feb 29, 2024 at 01:52:34PM -0800, Kees Cook wrote: > On Thu, 29 Feb 2024 22:52:30 +0200, Andy Shevchenko wrote: > > The new flags parameter allows controlling > > - Whether or not the units suffix is separated by a space, for > > compatibility with sort -h > > - Whether or not to append a B suffix - we're not always printing > > bytes. > > I cleaned up the Co-developed-by/S-o-b and applied to for-next/hardening, thanks! thanks Kees!