summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorMartin KaFai Lau <martin.lau@kernel.org>2022-09-02 03:28:02 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-09-03 06:34:30 +0300
commit4ff09db1b79b98b4a2a7511571c640b76cab3beb (patch)
tree4bccfceb51e4846c36c378f214a4e08582588448 /drivers/usb/cdns3/cdns3-imx.c
parentba74a7608dc12fbbd8ea36e660087f08a81ef26a (diff)
downloadlinux-4ff09db1b79b98b4a2a7511571c640b76cab3beb.tar.xz
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 <martin.lau@kernel.org> Link: https://lore.kernel.org/r/20220902002802.2888419-1-kafai@fb.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions