]> 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)
commit70a51f98f7067c3ee5b1db81ea9a7f6eba2a0850
treee369c829a25317409192e8ddc0d13b207bf341b4
parent5887a25348b86cf4b575c4c7b44397f78110a29e
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