aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorRoberto Sassu <[email protected]>2022-09-20 09:59:49 +0200
committerAlexei Starovoitov <[email protected]>2022-09-21 17:33:42 -0700
commitecce368d6e6d76168be5d8d34b411c69ec367859 (patch)
tree09c0e28aea818a8ebe715975aa215aa7e28cd2ec /scripts/generate_rust_analyzer.py
parent7c036ed9e0065e852fb1886d9ea97ceb35680e3f (diff)
selftests/bpf: Add additional tests for bpf_lookup_*_key()
Add a test to ensure that bpf_lookup_user_key() creates a referenced special keyring when the KEY_LOOKUP_CREATE flag is passed to this function. Ensure that the kfunc rejects invalid flags. Ensure that a keyring can be obtained from bpf_lookup_system_key() when one of the pre-determined keyring IDs is provided. The test is currently blacklisted for s390x (JIT does not support calling kernel function). Signed-off-by: Roberto Sassu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions