aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorYafang Shao <[email protected]>2023-07-09 02:56:24 +0000
committerAlexei Starovoitov <[email protected]>2023-07-11 20:07:51 -0700
commitf1a414537ecc18b5882a57045ce3e4a11e528290 (patch)
treec930faa2d8c5ff46525cfccf2a109597080d1a07 /drivers/fpga/fpga-mgr.c
parentedd7f49bb884139af9069dcf59d9f89f1f4ddf3f (diff)
bpf: Protect probed address based on kptr_restrict setting
The probed address can be accessed by userspace through querying the task file descriptor (fd). However, it is crucial to adhere to the kptr_restrict setting and refrain from exposing the address if it is not permitted. Signed-off-by: Yafang Shao <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions