lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170911.142857.1205848546110018404.davem@davemloft.net>
Date:   Mon, 11 Sep 2017 14:28:57 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     yhs@...com
Cc:     peterz@...radead.org, rostedt@...dmis.org, ast@...com,
        daniel@...earbox.net, ndesaulniers@...gle.com,
        netdev@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH net] perf/bpf: fix a clang compilation issue

From: Yonghong Song <yhs@...com>
Date: Thu, 7 Sep 2017 18:36:15 -0700

> clang does not support variable length array for structure member.
> It has the following error during compilation:
> 
> kernel/trace/trace_syscalls.c:568:17: error: fields must have a constant size:
> 'variable length array in structure' extension will never be supported
>                 unsigned long args[sys_data->nb_args];
>                               ^
> 
> The fix is to use a fixed array length instead.
> 
> Reported-by: Nick Desaulniers <ndesaulniers@...gle.com>
> Signed-off-by: Yonghong Song <yhs@...com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ