android_kernel_sony_sdm845/tools/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chenbo Feng a29c81e91c BACKPORT: UPSTREAM: Add a eBPF helper function to retrieve socket uid
Cherry-pick from commit 6acc5c2910689fc6ee181bf63085c5efff6a42bd

Returns the owner uid of the socket inside a sk_buff. This is useful to
perform per-UID accounting of network traffic or per-UID packet
filtering. The socket need to be a fullsock otherwise overflowuid is
returned.

Signed-off-by: Chenbo Feng <fengc@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Bug: 30950746
Change-Id: Idc00947ccfdd4e9f2214ffc4178d701cd9ead0ac
2017-05-22 15:46:07 -07:00
..
asm perf bench: Copy kernel files needed to build mem{cpy,set} x86_64 benchmarks 2016-07-12 15:20:32 -03:00
asm-generic tools: Copy the bitops files accessed from the kernel and check for drift 2016-07-18 18:33:41 -03:00
linux give up on gcc ilog2() constant optimizations 2017-03-26 13:05:56 +02:00
tools tools: add more endian.h macros 2014-09-26 11:03:01 +02:00
uapi BACKPORT: UPSTREAM: Add a eBPF helper function to retrieve socket uid 2017-05-22 15:46:07 -07:00