summary refs log tree commit diff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorMatt Delco <delco@chromium.org>2019-11-13 08:05:55 -0800
committerCommit Bot <commit-bot@chromium.org>2019-11-16 10:29:04 +0000
commit2da61323894c9c12d38fa18ed918987f297ea77d (patch)
treea060c1cb901b4ccd787d6b8e6671de03caf1937b /Cargo.lock
parent8865c5b1951d3dc6dee7e164708b4ccc7f703de1 (diff)
downloadcrosvm-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 'Cargo.lock')
-rw-r--r--Cargo.lock1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 4bf9d12..bd9675a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -236,6 +236,7 @@ name = "io_jail"
 version = "0.1.0"
 dependencies = [
  "libc 0.2.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "net_sys 0.1.0",
 ]
 
 [[package]]