aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorRoberto Sassu <[email protected]>2022-09-20 09:59:45 +0200
committerAlexei Starovoitov <[email protected]>2022-09-21 17:32:49 -0700
commitf3cf4134c5c6c47b9b5c7aa3cb2d67e107887a7b (patch)
treecad9e3b91f4c6358754814a6ba3252147333ec7d /drivers/platform/surface/aggregator/controller.c
parent90fd8f26edd47942203639bf3a5dde8fa1931a0e (diff)
bpf: Add bpf_lookup_*_key() and bpf_key_put() kfuncs
Add the bpf_lookup_user_key(), bpf_lookup_system_key() and bpf_key_put() kfuncs, to respectively search a key with a given key handle serial number and flags, obtain a key from a pre-determined ID defined in include/linux/verification.h, and cleanup. Introduce system_keyring_id_check() to validate the keyring ID parameter of bpf_lookup_system_key(). Signed-off-by: Roberto Sassu <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions