Skip to content

Commit

Permalink
bpf_loader: cpi: access ref_to_len_in_vm through VmValue
Browse files Browse the repository at this point in the history
Direct mapping needs to translate vm values at each access since
permissions of the underlying memory might have changed.

Add TEST_FORBID_LEN_UPDATE_AFTER_OWNERSHIP_CHANGE_MOVING_DATA_POINTER
and TEST_FORBID_LEN_UPDATE_AFTER_OWNERSHIP_CHANGE that exercise the new
logic.
  • Loading branch information
alessandrod committed Jul 5, 2023
1 parent b9f43cc commit 2280cb3
Show file tree
Hide file tree
Showing 5 changed files with 426 additions and 111 deletions.
Loading

0 comments on commit 2280cb3

Please sign in to comment.