Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp48464lqh; Mon, 6 May 2024 10:50:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVs2/HaDklYP7GSO1E6LsgCGaAi433XO3my1XmWDTa9qt8WVthTxpGOnvX+XBupms6YtwL7ERR0ARpgdhTTDkJ8n5vq9r8XK47/jKgFRg== X-Google-Smtp-Source: AGHT+IEp73ASVeF8J/N6dJTsqiesTbsdz+DlQLjn2JXONrME4F2s5r3FZTxHVIHrNJnU2Dcv3m8C X-Received: by 2002:a05:620a:302:b0:792:9e07:afb6 with SMTP id s2-20020a05620a030200b007929e07afb6mr2150862qkm.32.1715017821488; Mon, 06 May 2024 10:50:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715017821; cv=pass; d=google.com; s=arc-20160816; b=uYAegOthKZxR8yXrn6Hw67XBhU1l1pM5g0iaYSlLxD3eipu+RhR6cVNmD74CWBn2Rd MP74CLa2D/ZVfFTiaOhSNZIfMntYeSPnndIBJmrgw7gSgza4uov63F7fks3tWyvm2jou APPp1rghLQeCv5JLK3KPYcaktx6Ag7RsXuniCAPX1pvHEsrukVZpqaNcp2EWPBirjKZS p60CV0Nb1OVrhSDTY4pPUk9pxYoKTtB4iE8NMJZEKCrI15l4fuZuZRKGWl7QTO+q2Wzf 2c5DpD5KS8zbs64Xy/don2jcxY6ggNok/xStY9jy/lWx2JL9Qgc3V2UB+qOPorTQA3G4 vVyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=gXKML0ANf/VHTXTDJLQs6FDzugzEI1UK1X68Cny0xps=; fh=GFGBJ6i9fqNubbcgEqHfMEjnREV6Da9ZLCn+/qvIFaM=; b=SPKEw4XU4ob1n/0wzvQC5Z4JhtYNUJrw4u37Tr+2L0h1bkjBFpWtnyhJ7qj6U97/6m 2Ncwtn5kuEZEcobuhIzl5M+C4zSP/0OinuNBJb0FC7IaKMes9zcCG/X2ev1wv5D8dH2D Gp0QlnvrWO3RQpBApErSeiuLINHNsgDlgmrn3p6wu77APvsPk2EoqJ2BHkRVulSyVrPM 9u8fbbnfispi1PwpA2xu1E9o/mheTK+BLwzSCA0PYZrRU4qp81VQkrts5dxGbwjlUCJA TFMBMC1iYdSMC9i8GbMBFtjkVpgqWx1ebI8KSqTYHIo2ajY4qSAOggE1uWBdFf/y96no I/mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HPmPREm0; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id k19-20020a05620a415300b0078f1222e207si5292237qko.496.2024.05.06.10.50.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 10:50:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170250-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=@gmail.com header.s=20230601 header.b=HPmPREm0; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 398C21C21B74 for ; Mon, 6 May 2024 17:50:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1569F158201; Mon, 6 May 2024 17:50:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HPmPREm0" Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) (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 15D391D52C; Mon, 6 May 2024 17:50:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715017815; cv=none; b=XdCfMVZR9kZIymKfELz3+1OL3wdSsW17NpNpVll9RgLBfyciy0zq4a7AWTxGYFGQvB348xBtCtB6vk5QdoPDlwNvOg18YvjFU4EdotDgJE8m6f5Pj01TOPWDSCal38fJIYbAIaJOf2UoqeJKw0MZWCdLd0Hf8Paf3R5+obNazEM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715017815; c=relaxed/simple; bh=gXKML0ANf/VHTXTDJLQs6FDzugzEI1UK1X68Cny0xps=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Rmo1uULnvkYUGhCBu+hwJaOUIRV3cWY5OLkOcElTB5AaYOd05eva1eCa0Ezvr+zlLniYp+Atodr1O4MxGqAtsJQSMuuho0l7iTQzI4GVr/lgGXTDzsV8DQ+velr3Rs8CoEdGMoCLozoCaxQ4xkf2JO8aMZoAX3cjx82Pzv8IlTU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HPmPREm0; arc=none smtp.client-ip=209.85.215.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-5e152c757a5so1283160a12.2; Mon, 06 May 2024 10:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715017813; x=1715622613; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gXKML0ANf/VHTXTDJLQs6FDzugzEI1UK1X68Cny0xps=; b=HPmPREm0ul+P81ACw5vB0aD6E5kVB60XDvVT+yATzBQz1mmY9QTA2j3W8pVXMM/7VE VG/QX3IqGitW5oecVekPgsBgriHM8TlQcBMYgFHa6z8EZS/vWzBQSLC3ebBeGKaOzcDO mnDRR/007n1b5/XouF8XGsF7IiSksLKahpr0L/z0weP+cPu7gZ71exyHSQcYuFJbVqbC D1BY/Jbs0qFX2VglNS425KRqBl8LBdKz/ikODj6/JmTlIIXLPmv3Hl3UTIimYU3o6A1G Xq6+BiIsSozAIYuMpe7i7vZBOIflhABLcKyZGlzls/zK1zYitC0FgoF6AuIzZHk3qLUU I/Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715017813; x=1715622613; h=content-transfer-encoding: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=gXKML0ANf/VHTXTDJLQs6FDzugzEI1UK1X68Cny0xps=; b=D6sUo26XES8KpWa9Z6tl3x53x/vHyBU2cf6TFRbUf/9GrFXvM3VUmSdb3GEQoI+m/e giWp2Nzq6bid/EF5LJWJGPEAdJd89FxunkmArP4y5z11fFhmcGQXgl+7II5m0yh/uWIB bKa8NPJc8zwFvdDVpu5eN1I7AaXToJEK5EvHqHjybB6mKhtcvQahrJsqWa0AkSI8i5SO FgEIpvOgsp5YC7BG1iGhix6OUIF7wlwHzThCyt0vrdmbFwHH6InAEOB2GgGdq1VhnV5U Ymp4xlw9kyYYTr59l7D9LcbccN8oilX7VTSJQ6SkjD5g/a8wTcFhZcBCMvE3/Davo4pT 5etA== X-Forwarded-Encrypted: i=1; AJvYcCVYDdkYuoRYltD53b+SJmwgztuyckbv2WfvE1cYjRZD+ptwvuxUF0j5E9+qpygR4zaKmGU4S42GqBFd74D9xQV0BGiW13z+G8ZIjaw9Frcfu8rjyBscJiBIbxnY6zCAIC/6cpjozGj/OHNb8OqK X-Gm-Message-State: AOJu0Yyq5WK/ZRe57C6AGwUJeLBl2osgTg9JFmu6rp5uTyB6C1e292fM dK5TqWF5TrYAefQ5iGOorKUdimqEY9i2ATrmc+3LQ3CsHew4yHXG24/0p2fY8om5uCkSs966VBd IbhC2Z3cKDKbHuZj+NtX5tcxSxx4= X-Received: by 2002:a17:90a:9f92:b0:2a5:3aec:fdef with SMTP id o18-20020a17090a9f9200b002a53aecfdefmr8095728pjp.47.1715017813346; Mon, 06 May 2024 10:50:13 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Miguel Ojeda Date: Mon, 6 May 2024 19:48:49 +0200 Message-ID: Subject: Re: [PATCH] uapi: stddef.h: Provide UAPI macros for __counted_by_{le, be} To: Erick Archer Cc: Kees Cook , Alexey Dobriyan , Miguel Ojeda , Nathan Chancellor , Dmitry Antipov , "Gustavo A. R. Silva" , Justin Stitt , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 6, 2024 at 7:42=E2=80=AFPM Erick Archer wrote: > > Provide UAPI macros for UAPI structs that will gain annotations for > __counted_by_{le, be} attributes. > > Signed-off-by: Erick Archer I guess this is a mirror of the kernel one at https://lore.kernel.org/lkml/20240327142241.1745989-1-aleksander.lobakin@in= tel.com/, but it would be nice to add some context, e.g. Link: tag, to this, and possibly a comment or two. Thanks! Cheers, Miguel