aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2021-07-14 09:43:53 +0000
committerAlexei Starovoitov <[email protected]>2021-07-16 00:16:06 +0000
commit7e6f3cd89f04a0a577002d5696288b482109d25c (patch)
treedd610c2eeeeab77706fdbe55b881323d4b01dc9e /net/unix/af_unix.c
parentMerge branch 'bpf-timers' (diff)
downloadkernel-7e6f3cd89f04a0a577002d5696288b482109d25c.tar.gz
kernel-7e6f3cd89f04a0a577002d5696288b482109d25c.zip
bpf, x86: Store caller's ip in trampoline stack
Storing caller's ip in trampoline's stack. Trampoline programs can reach the IP in (ctx - 8) address, so there's no change in program's arguments interface. The IP address is takes from [fp + 8], which is return address from the initial 'call fentry' call to trampoline. This IP address will be returned via bpf_get_func_ip helper helper, which is added in following patches. Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions