Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp23881026rwd; Sat, 1 Jul 2023 08:42:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlGhk3hclTbwIumYhyUdmkg5oJ9RNc/g7IKrbbwlvy8kUf5/2sujxd9EpLblBENa2vClkpuo X-Received: by 2002:a17:903:245:b0:1b0:3df7:5992 with SMTP id j5-20020a170903024500b001b03df75992mr4514121plh.32.1688226163799; Sat, 01 Jul 2023 08:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688226163; cv=none; d=google.com; s=arc-20160816; b=FOtf5rOAknFEmd8BIgGVBRW25msNT88A08EfXlZom51IZ4gdjtXT6K5FJq/48bpBEc byfefyE2TAn2RjmzowYroxSfI7QyNvzoKg6lDPzzjtfMm3OBpM2jgwmVl8RKTAnLK9C+ 8PPeutzHkDsnNucU/gB1lnfLF5brRKeKbZiHQZHmFemDIw+mXeAv1TkkwygZKv1rYD1r pi1LBwHQzDaPhqwL1R0sJlPud7WIAyUAhjoXHIQOUDNqJOkC4tySNUCEj1SSdGCGhjeZ 6rWoSaF/2WwU1cZEOBgv0WaJrAz3aYRFffkvx39D3LK+IKXm4n8Hv58aSx2MWI5SMY0U s3WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VtKOnvujSI4dbxDlJZ+F1PfbCBHZHBBwN0TgTtCMsfU=; fh=wAfwrEgoC6A5JF6M75FrLdIBAu+mkCVZLy6+P5sQkQU=; b=nzs0xkog542p8DA4ZGxX5tdzZnkE/73c1wuH+8xVXbOys2/MaBkqkga6SA9uU/Zaa3 NBb9QM+TrBJiKWqA0erwlJLwCuZUlr2adcNmtF+nFK8g1fplRxvoLV7uGqpvQkLd7szV 8bLhEVu51Fc/7gd4oU8Yz6JBuSX00MrnWUjsdcQpgWMJcHNmdFjFPYiR5VtBDBhGh7Io xLCVFKBIoxAMjnCkFP9YI51/RzgQugK1vXK82t6CsIbI1vWjmJUT17khNtF4L19nS3IO OrUaDVTXB9W0IwW96m3yog1p0Uf1zHXA2gzD9xx2nF4gFlobhqCV5nR1UN23qAYkD/8s /BBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="hJk9K/sz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ik26-20020a170902ab1a00b001b8052bdd3esi1165851plb.631.2023.07.01.08.42.30; Sat, 01 Jul 2023 08:42:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="hJk9K/sz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229612AbjGAP2c (ORCPT + 99 others); Sat, 1 Jul 2023 11:28:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229506AbjGAP2a (ORCPT ); Sat, 1 Jul 2023 11:28:30 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 988058F for ; Sat, 1 Jul 2023 08:28:29 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2b69f958ef3so47707281fa.1 for ; Sat, 01 Jul 2023 08:28:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1688225307; x=1690817307; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VtKOnvujSI4dbxDlJZ+F1PfbCBHZHBBwN0TgTtCMsfU=; b=hJk9K/sz2CAxuKFinP2kXG/Xu8GZyVY0Y4t8CMHhZn+BRVTSUd1DPEl6e6zFuvu7cp 55adpHLuQYQCgwjK4VQlZuiLghzRcSrHpnEwlzVA8TtGVX+kLiZ+UHgmXHNjVmwhT1L/ maYUAhWqupcgjdmzOiogePrFdjlxMo+XRzrxI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688225307; x=1690817307; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VtKOnvujSI4dbxDlJZ+F1PfbCBHZHBBwN0TgTtCMsfU=; b=JxxwSIhEjunNhGDK9RYbkZyjuaSAc1UookiZTgY/FXRhYPN6nkxo68LGbtG6tLPR4z Zge6/DNXRcZG2zskj4h2jUHDdZb+RKoIH34p9Q5LyvSjTiXtCelJq6Ki8iy4j4hmTl6K 0ynEVYCZafVH9cB74lsY5X7TX8Rb1luCfzANwZfdhZBLcFyyEkhdRLr5/SHEFh6mpsGR zFOCVttmtTnihrmwR/MiwONmXdc9qsuGYuOemc72W6CM4s4ud36GowaNxDSZxBWQ6tZH 1brk74R+SJrfFqPqKZ32/K4mmS+33D0enq9CtikqtLOkoRKWhhlhRDD3DbeEAg2r4CfE CTxw== X-Gm-Message-State: ABy/qLYS+s7yF8t+xmkNZrQMhFzqL0mBtiGKdMvo1WdVCTSh//cqeRVj jgGiEAsheA78L6cpStK97z6+QiHeFFJtAeBDve6IJ8w7 X-Received: by 2002:a2e:300c:0:b0:2b4:6e21:637d with SMTP id w12-20020a2e300c000000b002b46e21637dmr4149606ljw.35.1688225307629; Sat, 01 Jul 2023 08:28:27 -0700 (PDT) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com. [209.85.208.52]) by smtp.gmail.com with ESMTPSA id oz26-20020a170906cd1a00b00992b3ea1ee3sm3102847ejb.159.2023.07.01.08.28.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Jul 2023 08:28:27 -0700 (PDT) Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-51d7e8dd118so3353534a12.1 for ; Sat, 01 Jul 2023 08:28:27 -0700 (PDT) X-Received: by 2002:aa7:c616:0:b0:51d:d2b9:54a0 with SMTP id h22-20020aa7c616000000b0051dd2b954a0mr3576929edq.2.1688225306845; Sat, 01 Jul 2023 08:28:26 -0700 (PDT) MIME-Version: 1.0 References: <202306300950.2BE7567101@keescook> <20230701-antrieb-rundbau-4b30efb507b2@brauner> In-Reply-To: <20230701-antrieb-rundbau-4b30efb507b2@brauner> From: Linus Torvalds Date: Sat, 1 Jul 2023 08:28:09 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] pid: use struct_size_t() helper To: Christian Brauner Cc: Kees Cook , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 30 Jun 2023 at 23:45, Christian Brauner wrote: > > [..] However, we do apparently have a dedicated > struct_size_t() helper for exactly this case. So switch to that. Applied, Linus