From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 E03B414F9C5 for ; Thu, 22 Feb 2024 15:52:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708617178; cv=none; b=BkxsEfBDwWv4CM72xB/m3y7+l6Nh874L6jLE5f+6bDB9LfK3HHRJ16TpeUUV62kY/aGqiszSBpQwZi6QoT5GriwGpEMi+B9hQvDoRW0cFwjKuEHdLeRJvDMqVRT0R9S+QarHXYCUHxSb++jhlFG5QigIewKz3pLs0nABzCnUnNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708617178; c=relaxed/simple; bh=Vd3UzDgmX7Ao1DnE+nzyieBLFnftQ/B8sJIJRrxRpco=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ux/uMIoa/Bw3r10heIJV/f48T/XSu3siX/WEZxirgd4D+pe3wYP+eOg24JIiN8rqrV4rdDg37TVgTEDyVShN+1yWimr5u2++teYfEIwNdiwI5um8F7+CwIXi3CHm41eMu/Ga7X1vabsZI2xJ99g3Jy3QNp/IN6BLqBJnpoUuscc= 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=bSXkMABR; arc=none smtp.client-ip=209.85.210.182 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="bSXkMABR" Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e22e63abf1so3944839b3a.3 for ; Thu, 22 Feb 2024 07:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1708617176; x=1709221976; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1gfwnWmu63cYswR0b/u7RtSKFeQyr0VL4Kut1suu2n8=; b=bSXkMABRd5Gy9iYQZn6+kg10M0jGKVqcKbqT6VPDcuAA7I4OwHLOV8WaS+y/iZyRAA ZXkOoGHpESpLUfIhI9+kzg2G+h3GF+ylw44PN5ekhfb4B0mYFV+jnIr21/MZ8Ub7Wnw1 xJO9AxAD0f5W355FyYMKjxJ+6Hq2yKqAYPkWI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708617176; x=1709221976; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1gfwnWmu63cYswR0b/u7RtSKFeQyr0VL4Kut1suu2n8=; b=MWN13iEAV0X4WHB1xU4SjWh+J1t8lUZBYanXAUIplw4FAuCN5OnvxJ3OOq3KcvvzUO QtGQlWKGBFgj5opmyeTk0Ucp9oY6Z1JY14NL7ilGBUaa/WFf1VXqO3Txw1IsJz/x44KJ OXSUod2Kio6m+RsOH0EsvkHF/IcnbisSzB433k1Krp8CwQQLvav6ZqIp1sz7OUTmC/c5 kwFcW5uA6iTfqpLpllZlO2fpgZBEdgez7gQqeTuImmEt65z+0iexNo5LaKrHt9eljava nk0Uo46zd0lY/fgTfjpcvoAoCRyDmlLNqyBLPDlA6ZkhpQGu6se59ZRAVmC7MJexEUcR NgtQ== X-Forwarded-Encrypted: i=1; AJvYcCWRl5wxiu5Kn6o7nhMaxSryiqSLXP1pj1jn1DXyKL2rethqv/bsKU7aIYODvpc6ajJV4a+ClP1/dESPLMWlhupJW2vBpJvrmlIU X-Gm-Message-State: AOJu0YzALVp7gVLlZCt/YrkgBpbbZ+Yku9G2APJunZwPKNEd4AwBP2Lm FWZDCVT4igpDEQPpezSwf8mUyR99wacfbNd1+fxPRktRNqJJYxdRHV2TPA9wzA== X-Google-Smtp-Source: AGHT+IGrtsHGeHfg7xJD4IpKzMvkDmfLWoRjY3MrY0wjNmBdDYmkUNv35SM8aT2MKwO5Lko2A1nlBA== X-Received: by 2002:aa7:90c6:0:b0:6e1:44ec:8e9e with SMTP id k6-20020aa790c6000000b006e144ec8e9emr14895496pfk.21.1708617176218; Thu, 22 Feb 2024 07:52:56 -0800 (PST) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id g19-20020a056a0023d300b006e469e8b634sm7589863pfc.3.2024.02.22.07.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 07:52:55 -0800 (PST) Date: Thu, 22 Feb 2024 07:52:54 -0800 From: Kees Cook To: Daniel Borkmann Cc: Mark Rutland , "Gustavo A . R . Silva" , Alexei Starovoitov , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Mykola Lysenko , Shuah Khan , Haowen Bai , bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, Yonghong Song , Jonathan Corbet , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , Joanne Koong , Yafang Shao , Kui-Feng Lee , Anton Protopopov , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, netdev@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH v5] bpf: Replace bpf_lpm_trie_key 0-length array with flexible array Message-ID: <202402220751.2370A263AD@keescook> References: <20240221222613.do.428-kees@kernel.org> Precedence: bulk X-Mailing-List: linux-doc@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: <20240221222613.do.428-kees@kernel.org> On Wed, Feb 21, 2024 at 02:26:20PM -0800, Kees Cook wrote: > Replace deprecated 0-length array in struct bpf_lpm_trie_key with > flexible array. Found with GCC 13: Nope, still breaking CI. I will respin again... https://github.com/kernel-patches/bpf/actions/runs/7996482005/job/21839056683?pr=6451 -Kees -- Kees Cook