Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp338577rdb; Thu, 1 Feb 2024 09:52:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8YBRjQY7ojJqelCob+7MVBgrlunHYJY7sNZzWg1mPwXqBMbSfBWsMXjKJHrYITijF88PU X-Received: by 2002:a05:620a:8d4:b0:783:9b14:9558 with SMTP id z20-20020a05620a08d400b007839b149558mr2951552qkz.62.1706809977474; Thu, 01 Feb 2024 09:52:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706809977; cv=pass; d=google.com; s=arc-20160816; b=eNq3gYBCS6fbiO13bIWBQZtM5u+DxdNCQvyXlaC8QGaYkd4aNW0PkZlHpdCEJt9x2D 1PWqlqrExi6ndwskHBsvFPpsAt19aTU9sZj/4L5WnAnCtLEc6MMcQvYhwXlw+wrq1zQ7 wbtwmhd2ItfP6u2YWUqCcFhiLSRn+HcTbeqYt0n1/oKys/P4chqnsd2vXYUTWIVBfX/U 1qd2wjfR15L0LvjkgCBn1x1yAteZSoKjv5ALsfakBL+K5mtOY4lWE99v1cTODP+BGhpt OY4DSXV4+7MXBNyyLivsfvwogrlw9pqr0hhxDr5TtZEqYkt9FPX8RJgmpP30pas2H7D6 YDFA== 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=oeB/5jBcZmtDcrKzl0YysnvyegKxpdljcraOQkK2rDw=; fh=wDoOrU6QB0zav4my6FjaAIsii+5QhKDb+hLtxC4nvwY=; b=gTSmnJksUe5SNIsT4hEHIfxwn10ClxWH71DMz78U+b1oeDOcIEydyWyAwlgxIsLoUo c0M9Tlpco4Kss1PG4PWYd3UVK0D8zlq1GBUmcszDZeEnyNxbddTAYcUQ+7dc145elocA YIZxol0B2BMCNo7OHRcEIAAZHyZpT+WFNP+APbrVsm/PffSH8keT9fcSP9NVzZGhLHe6 oJe7+DBMhiqFVADzI9kNcKOkfQ6KwebL+ub3HOiJS5pXqRtSGwMsNxGv2JN6Z5C/QCE7 K+q+pOlqFs2PjFbkaIerBLhIiROzqBIakf1q4q5xH5XFkK+k8I+7K+Yld2G2tfq8Mkun hiZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GjA+1bOf; 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-48620-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48620-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org X-Forwarded-Encrypted: i=1; AJvYcCXlXBBj4q8KGyW3Hknvp4XgEC2X32j1MfKjO0SLSW/REexNZerRjtlzBhMZY+T7Ajdfbfd+0REYlnUhk/Z2gyJgrP2dMId/iEvMopv8qA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v8-20020a05620a0a8800b0078542ba9d96si26962qkg.334.2024.02.01.09.52.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:52:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48620-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; dkim=pass header.i=@chromium.org header.s=google header.b=GjA+1bOf; 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-48620-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48620-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2E9001C24B8B for ; Thu, 1 Feb 2024 17:52:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E0D97C6EE; Thu, 1 Feb 2024 17:52:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="GjA+1bOf" Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 770B17C6D9 for ; Thu, 1 Feb 2024 17:52:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706809970; cv=none; b=RWzkn98Ugs+QGtaM8nixUERxO8c2pnLdBt8Pwf90lTjRfbGJhRsfzkdnC3gDUGQlzj6FFATPO585c8z7SXiJi5qgzCIqNAku4ffDVEAbjvL8yQiQBtByYuGAqjKjV05SqILe0uRcIa1CxoLNozbPQOQYz/h4CEbya1i+XplMOmk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706809970; c=relaxed/simple; bh=lIJSSJQHgI6dPqglJX+BpS/xv1aEFSMZz/COulwXiUY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=e2F2m0ie5YzBHQyQnpmVF0xRkCp4ksSxffmzPB9AMjlxqBvl8IuOjToaORetEFNoI70jH84W6VxkAuILGWZSeaNZ0pFs32mGbZ6wiBjMn8kXdIeEGP3s7sGk+IMUvvPZbmcrbKBkHmaXMtIdRzALtYA25Tjd5Un67PV4hTX557k= 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=GjA+1bOf; arc=none smtp.client-ip=209.85.210.174 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-pf1-f174.google.com with SMTP id d2e1a72fcca58-6ddd1fc67d2so915563b3a.2 for ; Thu, 01 Feb 2024 09:52:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1706809967; x=1707414767; 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=oeB/5jBcZmtDcrKzl0YysnvyegKxpdljcraOQkK2rDw=; b=GjA+1bOf0PHXpamV9zWbxgGlKY89zH9SKsbJWVgbc6GrPlgcTLmIbX602grQlhL1Jy LCdTG5yOn4cZZsvGGEzXqhuX3LMSDiLkLU2Ihy9MEJhzeTLFZRu93yDkrIkqGJCbvRrt Hzgyn9apx6GsEd3Eb/V6VE/LXcxDIcLlrOG4M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706809967; x=1707414767; 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=oeB/5jBcZmtDcrKzl0YysnvyegKxpdljcraOQkK2rDw=; b=tYsL8EL9/mtpAbgnJbPX5T4Sed0zDZcfXTeKrWT9igfhqzBCQ8OODP3uF2eUJC+8FR 2LgOULzXS56FBKUR/4YVwgKIyTceeie6XDy+6L2w2VTpCm9MTjK/GZE+ABfTogBu67WU 1wxJcDmGxvH8xhVArS6Z4dYs40NZsmvEkI7UUStJ+iaBFbBeefSRXih2GKGCBo9jOIWN pGepEwLNUmk826I/suleRslNsKHyhYNAb6UEItQhIDfHnVCkNqGCjfmXbcktbC6IrFQY upkrAKss/G3nOl+JfER5rVy5/6KQecoMiBbz9GaSJDxvNZ3G4FOmjnPjlcIiLLx/5Yku +Abw== X-Gm-Message-State: AOJu0YyWkqyoju8tYXJiV3K58cwIyhcKTvANN0BbTyqO/0lD8SYjosJh f/NAAmRgBAfcD02WCtXtbeDpHBkXLF8x1/LG9+wW6PRo8r8QxibYsaFiB7nAXQ== X-Received: by 2002:a62:f242:0:b0:6df:eb95:f50b with SMTP id y2-20020a62f242000000b006dfeb95f50bmr1998531pfl.11.1706809966859; Thu, 01 Feb 2024 09:52:46 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX+hPHocTN3Krdrwx2BAO45nqlHKtddyMcZedxVYNqfzp1g5llrSQ77t/t9540v3ksZVJyxQHtPp7krFRWB79cagtGUcq8AeS2fk18vBwQA2d1Wxj5V+bsCqzxwezYa7X+BNRsEjRuA/DD5VtS1iXq9O6G7yNUp/ZLFgvOLS+nnsn7Imahnj2Zf0LcZ/e/RxzPcoteP0ppMFjLjaYdlU9LM+9f19epNvqqjUk279j7/+ZLgKsnTnB5zzxGMAcwvNfd/ZARI6PYz8PTcHSfYa8MANfTeAB443UY+Kl+gFLoC1VvSo7sXPQZvKjZIP5CDlrpicY1s/1vQEd5uHQJEK1Lzz0LMiP+z8Qlgw31NG5qePmuYhJasxqV5 Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id i1-20020aa787c1000000b006ddc133f1d3sm12700pfo.194.2024.02.01.09.52.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:52:46 -0800 (PST) From: Kees Cook To: Nick Desaulniers , Tanzir Hasan Cc: Kees Cook , Andy Shevchenko , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , Greg KH , llvm@lists.linux.dev, Al Viro , Andy Shevchenko Subject: Re: [PATCH v6 0/2] shrink lib/string.i via IWYU Date: Thu, 1 Feb 2024 09:52:00 -0800 Message-Id: <170680986503.3370813.7406880929037173095.b4-ty@chromium.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231226-libstringheader-v6-0-80aa08c7652c@google.com> References: <20231226-libstringheader-v6-0-80aa08c7652c@google.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, 26 Dec 2023 17:59:59 +0000, Tanzir Hasan wrote: > This patch series changes the include list of string.c to minimize > the preprocessing size. The patch series intends to remove REPEAT_BYE > from kernel.h and move it into its own header file because > word-at-a-time.h has an implicit dependancy on it but it is declared > in kernel.h which is bloated. > Applied to for-next/hardening, thanks! [1/2] kernel.h: removed REPEAT_BYTE from kernel.h https://git.kernel.org/kees/c/66a5c40f60f5 [2/2] lib/string: shrink lib/string.i via IWYU https://git.kernel.org/kees/c/38b9baf19469 Take care, -- Kees Cook