diff options
| author | Yafang Shao <laoar.shao@gmail.com> | 2023-07-09 05:56:24 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-07-12 06:07:51 +0300 |
| commit | f1a414537ecc18b5882a57045ce3e4a11e528290 (patch) | |
| tree | c930faa2d8c5ff46525cfccf2a109597080d1a07 /include | |
| parent | edd7f49bb884139af9069dcf59d9f89f1f4ddf3f (diff) | |
| download | linux-f1a414537ecc18b5882a57045ce3e4a11e528290.tar.xz | |
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 <laoar.shao@gmail.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230709025630.3735-5-laoar.shao@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
