diff options
author | Matt Delco <delco@chromium.org> | 2019-11-13 08:05:55 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-16 10:29:04 +0000 |
commit | 2da61323894c9c12d38fa18ed918987f297ea77d (patch) | |
tree | a060c1cb901b4ccd787d6b8e6671de03caf1937b /sys_util/src/guest_memory.rs | |
parent | 8865c5b1951d3dc6dee7e164708b4ccc7f703de1 (diff) | |
download | crosvm-2da61323894c9c12d38fa18ed918987f297ea77d.tar crosvm-2da61323894c9c12d38fa18ed918987f297ea77d.tar.gz crosvm-2da61323894c9c12d38fa18ed918987f297ea77d.tar.bz2 crosvm-2da61323894c9c12d38fa18ed918987f297ea77d.tar.lz crosvm-2da61323894c9c12d38fa18ed918987f297ea77d.tar.xz crosvm-2da61323894c9c12d38fa18ed918987f297ea77d.tar.zst crosvm-2da61323894c9c12d38fa18ed918987f297ea77d.zip |
io_jail: add additional apis
This change adds additional APIs that are present in the libminijail header file but not in the rust thunk. In particular it adds the API that allows pre-compiled bpf files to be used as a policy file. The native API lacks an API to specify a filename (it only provides an API to provide the contents of the file). BUG=None TEST=Local run of build_test to confirm that both .bpf and .policy files work in a subsequent change. Change-Id: I15510ffa857b501512f3f9905882545f407bcd78 Signed-off-by: Matt Delco <delco@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1914415 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'sys_util/src/guest_memory.rs')
0 files changed, 0 insertions, 0 deletions