]> git.baikalelectronics.ru Git - 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)
commit0306070edc3415582f7c3419a0643332345fbc9b
treee369c829a25317409192e8ddc0d13b207bf341b4
parente2ba7f77d112c9b78953f9ea4040a42ce8af64fa
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