Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp995218rbd; Fri, 23 Feb 2024 09:41:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWpgxbySfZYrB4KSybxD9nHSHH5vMjJeiOcxmT8M7yXO+NpxlkzCJ+2D9BW4SSlgHONn6M2WinJ0miXwnaFTW59/KpaXMzmgMHqmGTZVQ== X-Google-Smtp-Source: AGHT+IFHxp7ySGuwvZGsXDO2duwvueN5hW5Ch7VJZYw+dEPkFwPEmb3gmj+Ymbv/mY40wFXo+FsE X-Received: by 2002:a17:906:b74c:b0:a3e:9231:fe7e with SMTP id fx12-20020a170906b74c00b00a3e9231fe7emr307532ejb.71.1708710105273; Fri, 23 Feb 2024 09:41:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708710105; cv=pass; d=google.com; s=arc-20160816; b=UZaOG+IknunnCGmc4AHemMs42wupptPbab9I/P4Tk9duoaEMv8k7UgKYQTAiF1J6ro NbYq1JRdLHnCbbDKr9KJzug6+9HoZBBPkHTfmQJ2ky00v1es6oq6kj+MYphpvZfI2b1h 1bV+6wHGlzLlAUaugSCKWptNxEt6c58pW36OqKvVxTLIz8HZHfALLSlS4mp6Ik6R8lud W7MOPORTDpmBDVHT0cA4kheIKGZ8ZGWmJhE/g5a+/pLNW7HbP5cYyjVhlEbEfAn/RKRA aTei+dxnwnBM0GID6W5CJdi/2n/9+Wen/5W+l5P636cQOk2bcN1EyaFw3YKC5wvE+4+F i74w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=t7UJGfjTB3r4rfNyh0P4i8Q6gZhf2u55+l1+DfEGGmQ=; fh=avx+2FbPtlNVdnxF4Bo+RsW6plDFK2ZM9D6fauNRRYU=; b=VKvISl9rG3khBxHA83YoRCkUfED/fWhlcF8fgF6heb8JPlgM2FRKli9Vx2HtjJZPTD Tz0944HABGtBPq29W6F6Yt2mPlefPTmP+pXXiGa3Ib9L7zsvnEP0UKYCDyygUlSVVZXw KQa8NzhQsM1a2EPBFk/zLcA88SE3jEFeo7Ol0Z2/h6NG5m9oVC0R1tX1ep50b39Ek70T EZsXTHsHrLxwbI732Ql2GAaMr9Vn5x1t0TZDNQdH4r6axM8tUPMk5FtXCZxpYZUQ5eGW +8itL5I4fsM5OOJ23Yx+Uz06iqSXfeHCIO1ETPoRuBxyvPCmgaiTAtetPv2M4AYS8lx1 7Z6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cUu8XqDT; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-78885-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78885-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q8-20020a17090622c800b00a3f1b399739si3025743eja.251.2024.02.23.09.41.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:41:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78885-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cUu8XqDT; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-78885-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78885-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0BDEE1F21C16 for ; Fri, 23 Feb 2024 17:41:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19B4412CD95; Fri, 23 Feb 2024 17:41:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="cUu8XqDT" Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC59C1E51A for ; Fri, 23 Feb 2024 17:41:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708710097; cv=none; b=pYXtp1o97KECLRoZ2E2KsaHF0DIKUyhD0oWsgTzLqeC4FpMdwcTE83H3alVU3mOQb/A2/W7kriIRMmVaoiwca6v3RxIBs9rmGjn0tJtmIYqT9iMPmhrtyZ7Xj26SFaZAxl8xpnYFjnpLnQ4DirAfSv1U4MP9zj/6YLCB9Jx+lss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708710097; c=relaxed/simple; bh=/cfXkZKvvqLcP6jJz/p/9gKAVQOgMwem9pa4Afsc7kA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=RHqRrGAnP7wdRMB5f7ldxF+akFzl0jGfpc3qmpjU1+T3heT1svTe6BXgKj1Xz/cnwuE5cjMM0kCksvCTo8tcCox6wUHeO7GzOKAW9qSuF8F4mLVUKx6rZtv8KU1QXJn390fGBgWENTCGSoVO/KLetaVGI3h61gcC9dyTs0JOhe0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=cUu8XqDT; arc=none smtp.client-ip=209.85.216.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-29a950152bcso136477a91.1 for ; Fri, 23 Feb 2024 09:41:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708710095; x=1709314895; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=t7UJGfjTB3r4rfNyh0P4i8Q6gZhf2u55+l1+DfEGGmQ=; b=cUu8XqDTT5kMpTqn5S691Bs3VKzmlw2lYY4lIB38fFiTfArB/bb/EQsvv4iJKaT2ai z+taZH+uDt1tRkhxm5tC4bN0+FZzqHyz6bqL6DC49ugpEKCQGEV4f97z2m9DCbefoG4R 0dwcW9+MRmwC94yoYCXIO/PFbwhMsI4OMIfYA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708710095; x=1709314895; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t7UJGfjTB3r4rfNyh0P4i8Q6gZhf2u55+l1+DfEGGmQ=; b=usoGU38fnwkNIl55JS48MaYNRAyslezwhYNGRcI18oG7D8AkPmKcA5MlDL+RE1m3K7 D0QKD+y1BkRMFi/+BPKKegTek4L2QXv5SBuI54EKzB5v1YNKftpd1pu71U+9qCiUkW6N jm8BfWgUypksUNIX0UUswjbvFQoLL9gyrvqL+IIuAJ+sLOjEreVoue+ZPHZBZJn+f1/2 wDBKSg8zTimgYHnD2Omq4od9+o6qispopffP+eUrT6wv/ykuUKTtuoE3VeVP5Df45GLl Camm/IR13WU4nIsw3SIgUHUqBNdD5b7BQWnHF0bhLlZo95b9CD6PcLsriuWMCOOeTAKY 1Rgg== X-Gm-Message-State: AOJu0YyxKhWrcqQF5IstikKMPHCb4ioJv1c7xVt+ZClbjNKYEmDr/z6M 8Jyg0JHTfaCs+3wka7yaye10FtDfiWKddZVL+jaovmP39ijlsN707MZoVWRVxA== X-Received: by 2002:a17:90b:23cb:b0:29a:8e6a:ffe2 with SMTP id md11-20020a17090b23cb00b0029a8e6affe2mr575548pjb.26.1708710095280; Fri, 23 Feb 2024 09:41:35 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id r13-20020a17090ad40d00b0029a7df64720sm1586705pju.53.2024.02.23.09.41.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 09:41:34 -0800 (PST) From: Kees Cook To: linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Andy Shevchenko Cc: Kees Cook , Andy Shevchenko Subject: Re: [PATCH v1 1/1] kernel.h: Move lib/cmdline.c prototypes to string.h Date: Fri, 23 Feb 2024 09:41:28 -0800 Message-Id: <170871008605.2107490.16630176763358283551.b4-ty@chromium.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231003130142.2936503-1-andriy.shevchenko@linux.intel.com> References: <20231003130142.2936503-1-andriy.shevchenko@linux.intel.com> 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="utf-8" Content-Transfer-Encoding: 8bit On Tue, 03 Oct 2023 16:01:42 +0300, Andy Shevchenko wrote: > The lib/cmdline.c is basically a set of some small string parsers > which are wide used in the kernel. Their prototypes belong to the > string.h rather then kernel.h. Applied to for-next/hardening, thanks! [1/1] kernel.h: Move lib/cmdline.c prototypes to string.h https://git.kernel.org/kees/c/9f938458a5dd Take care, -- Kees Cook