-Wflex-array-member-not-at-end was introduced in GCC-14, and we are
getting ready to enable it, globally.
So, in order to avoid ending up with a flexible-array member in the
middle of multiple other structs, we use the `__struct_group()`
helper to create new tagged structures with the suffix `_hdr
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski :
On Tue, 13 Aug 2024 16:13:58 -0600 you wrote:
> Small patch series aimed at fixing a -Wflex-array-member-not-at-end
> warning by creating a new tagged struct within a flexible structure.
> We then use this new struct
Hi,
On Wed, Aug 14, 2024 at 10:10 AM Breno Leitao wrote:
>
> Hello,
>
> I am seeing some signed-integer-overflow in percpu reference counters.
it is brave of you to enable this sanitizer :>)
>
> UBSAN: signed-integer-overflow in
> ./arch/arm64/include/asm/atomic_lse.h:204:1
> -
Hello,
I am seeing some signed-integer-overflow in percpu reference counters.
UBSAN: signed-integer-overflow in
./arch/arm64/include/asm/atomic_lse.h:204:1
-9223372036854775808 - 1 cannot be represented in type 's64' (aka 'long
long')
Call trace:
handle_overflo
On Tue, 06 Aug 2024 21:49:26 +, jef...@chromium.org wrote:
> From: Jeff Xu
>
> In load_elf_binary as part of the execve(), when the current
> task’s personality has MMAP_PAGE_ZERO set, the kernel allocates
> one page at address 0. According to the comment:
>
> /* Why this, you ask??? Well
On Tue, Aug 13, 2024 at 1:51 PM Thorsten Blum wrote:
>
> On 13. Aug 2024, at 20:57, Alexei Starovoitov
> wrote:
> > On Tue, Aug 13, 2024 at 10:59 AM Thorsten Blum
> > wrote:
> >> On 13. Aug 2024, at 18:28, Alexei Starovoitov
> >> wrote:
> >>> On Tue, Aug 13, 2024 at 8:19 AM Thorsten Blum
>
Add the __counted_by compiler attribute to the flexible array member
array to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
CONFIG_FORTIFY_SOURCE.
Increment size before adding a new struct to the array.
Signed-off-by: Thorsten Blum
---
fs/nfs/dir.c | 6 +++---
1 file changed, 3 ins