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] [day] [month] [year] [list]
Message-ID: <CAADnVQJYJ5XakE2cGDvzi4fX2zpoiwkjFMxWn05=44NWhDTpGw@mail.gmail.com>
Date:   Mon, 16 Dec 2019 07:04:40 -0800
From:   Alexei Starovoitov <alexei.starovoitov@...il.com>
To:     Toke Høiland-Jørgensen <toke@...hat.com>
Cc:     Alexei Starovoitov <ast@...nel.org>,
        Daniel Borkmann <daniel@...earbox.net>,
        Network Development <netdev@...r.kernel.org>,
        bpf <bpf@...r.kernel.org>
Subject: Re: [PATCH bpf-next] samples/bpf: Set -fno-stack-protector when
 building BPF programs

On Mon, Dec 16, 2019 at 2:38 AM Toke Høiland-Jørgensen <toke@...hat.com> wrote:
>
> It seems Clang can in some cases turn on stack protection by default, which
> doesn't work with BPF. This was reported once before[0], but it seems the
> flag to explicitly turn off the stack protector wasn't added to the
> Makefile, so do that now.
>
> The symptom of this is compile errors like the following:
>
> error: <unknown>:0:0: in function bpf_prog1 i32 (%struct.__sk_buff*): A call to built-in function '__stack_chk_fail' is not supported.
>
> [0] https://www.spinics.net/lists/netdev/msg556400.html
>
> Signed-off-by: Toke Høiland-Jørgensen <toke@...hat.com>

Applied. Thanks

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ