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]
Date:   Thu, 16 May 2019 23:31:41 -0700
From:   Andrii Nakryiko <andrii.nakryiko@...il.com>
To:     Alexei Starovoitov <ast@...nel.org>
Cc:     davem@...emloft.net, Daniel Borkmann <daniel@...earbox.net>,
        Networking <netdev@...r.kernel.org>, bpf@...r.kernel.org,
        Kernel Team <kernel-team@...com>
Subject: Re: [PATCH bpf] selftests/bpf: fix bpf_get_current_task

On Thu, May 16, 2019 at 9:34 PM Alexei Starovoitov <ast@...nel.org> wrote:
>
> Fix bpf_get_current_task() declaration.
>
> Signed-off-by: Alexei Starovoitov <ast@...nel.org>

Acked-by: Andrii Nakryiko <andriin@...com>

> ---
>  tools/testing/selftests/bpf/bpf_helpers.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/bpf/bpf_helpers.h b/tools/testing/selftests/bpf/bpf_helpers.h
> index 6e80b66d7fb1..5f6f9e7aba2a 100644
> --- a/tools/testing/selftests/bpf/bpf_helpers.h
> +++ b/tools/testing/selftests/bpf/bpf_helpers.h
> @@ -278,7 +278,7 @@ static int (*bpf_skb_change_type)(void *ctx, __u32 type) =
>         (void *) BPF_FUNC_skb_change_type;
>  static unsigned int (*bpf_get_hash_recalc)(void *ctx) =
>         (void *) BPF_FUNC_get_hash_recalc;
> -static unsigned long long (*bpf_get_current_task)(void *ctx) =
> +static unsigned long long (*bpf_get_current_task)(void) =
>         (void *) BPF_FUNC_get_current_task;
>  static int (*bpf_skb_change_tail)(void *ctx, __u32 len, __u64 flags) =
>         (void *) BPF_FUNC_skb_change_tail;
> --
> 2.20.0
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ