]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
bpf: Fix inaccurate helper function description
authorChenbo Feng <fengc@google.com>
Wed, 26 Apr 2017 23:41:23 +0000 (16:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 02:24:58 +0000 (22:24 -0400)
commit5d4e3443287b28a6e9c3436adbadba2497880bd1
treee369c829a25317409192e8ddc0d13b207bf341b4
parentd68be71ea14d609a5f31534003319be5db422595
bpf: Fix inaccurate helper function description

The description inside uapi/linux/bpf.h about bpf_get_socket_uid
helper function is no longer valid. It returns overflowuid rather
than 0 when failed.

Signed-off-by: Chenbo Feng <fengc@google.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/bpf.h