diff options
| author | Martin KaFai Lau <[email protected]> | 2022-09-01 17:28:02 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-09-02 20:34:30 -0700 |
| commit | 4ff09db1b79b98b4a2a7511571c640b76cab3beb (patch) | |
| tree | 4bccfceb51e4846c36c378f214a4e08582588448 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | ba74a7608dc12fbbd8ea36e660087f08a81ef26a (diff) | |
bpf: net: Change sk_getsockopt() to take the sockptr_t argument
This patch changes sk_getsockopt() to take the sockptr_t argument
such that it can be used by bpf_getsockopt(SOL_SOCKET) in a
latter patch.
security_socket_getpeersec_stream() is not changed. It stays
with the __user ptr (optval.user and optlen.user) to avoid changes
to other security hooks. bpf_getsockopt(SOL_SOCKET) also does not
support SO_PEERSEC.
Signed-off-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions