commit | f60a1e0b905b5314794547ac792b347af1517985 | [log] [tgz] |
---|---|---|
author | Seungjae Yoo <seungjaeyoo@google.com> | Mon May 20 14:15:22 2024 +0900 |
committer | Seungjae Yoo <seungjaeyoo@google.com> | Mon May 20 14:15:22 2024 +0900 |
tree | eea7c771d9ac323fd3e826ea2483addc8c79f975 | |
parent | 60f55289f88da59391e248a4df22f1993aebd4e7 [diff] |
Set sepolicy for vmnic in AVF Bug: 340376951 Test: Presubmit Change-Id: I5f48ff4a459805de2f74d160c1b61473c6de0466
diff --git a/apex/com.android.virt-file_contexts b/apex/com.android.virt-file_contexts index 78720aa..d8fc8df 100644 --- a/apex/com.android.virt-file_contexts +++ b/apex/com.android.virt-file_contexts
@@ -6,3 +6,6 @@ is_flag_enabled(RELEASE_AVF_ENABLE_DEVICE_ASSIGNMENT, ` /bin/vfio_handler u:object_r:vfio_handler_exec:s0 ') +is_flag_enabled(RELEASE_AVF_ENABLE_NETWORK, ` + /bin/vmnic u:object_r:vmnic_exec:s0 +')