Skip to content

Commit

Permalink
selinux: include the svirt_t type
Browse files Browse the repository at this point in the history
The dpdk policy adds support for interacting with libvirt, but failed
to include the appropriate svirt_t type.  This results in an error
like:

    openvswitch-custom.te:53:ERROR 'unknown type svirt_t' at token ';' on line 1060:

Reported-by: Guoshuai Li <[email protected]>
Signed-off-by: Aaron Conole <[email protected]>
Acked-by: Ansis Atteka <[email protected]>
  • Loading branch information
apconole authored and Ansis Atteka committed Feb 27, 2018
1 parent aac61d0 commit 879b2d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selinux/openvswitch-custom.te.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require {
@begin_dpdk@
type hugetlbfs_t;
type kernel_t;
type svirt_t;
type svirt_image_t;
type svirt_tmpfs_t;
type vfio_device_t;
Expand Down

0 comments on commit 879b2d3

Please sign in to comment.