mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
acl: remove various left over Xen ACL whitelist entries
The legacy xen driver is removed, so these ACL hacks can be removed too now. Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
026ae4933c
commit
5e75d3a005
@ -63,26 +63,12 @@ my %whitelist = (
|
||||
"localOnly" => 1,
|
||||
);
|
||||
|
||||
# Temp hack - remove it once xen driver is fixed
|
||||
# XXX this vzDomainMigrateConfirm3Params looks
|
||||
# bogus - determine why it doesn't have a valid
|
||||
# ACL check.
|
||||
my %implwhitelist = (
|
||||
"xenUnifiedDomainRestore" => 1,
|
||||
"xenUnifiedDomainRestoreFlags" => 1,
|
||||
"xenUnifiedDomainMigratePrepare" => 1,
|
||||
"xenUnifiedNodeDeviceDettach" => 1,
|
||||
"xenUnifiedNodeDeviceDetachFlags" => 1,
|
||||
"xenUnifiedNodeDeviceReset" => 1,
|
||||
"xenUnifiedDomainIsActive" => 1,
|
||||
"xenUnifiedDomainIsPersistent" => 1,
|
||||
"xenUnifiedDomainIsUpdated" => 1,
|
||||
"xenUnifiedDomainOpenConsole" => 1,
|
||||
"vzDomainMigrateConfirm3Params" => 1,
|
||||
);
|
||||
my %filterimplwhitelist = (
|
||||
"xenUnifiedConnectListDomains" => 1,
|
||||
"xenUnifiedConnectNumOfDomains" => 1,
|
||||
"xenUnifiedConnectListDefinedDomains" => 1,
|
||||
"xenUnifiedConnectNumOfDefinedDomains" => 1,
|
||||
);
|
||||
|
||||
my $lastfile;
|
||||
|
||||
@ -236,8 +222,7 @@ while (<>) {
|
||||
}
|
||||
|
||||
if (exists $filtered{$api} &&
|
||||
!exists $aclfilters{$impl} &&
|
||||
!exists $filterimplwhitelist{$impl}) {
|
||||
!exists $aclfilters{$impl}) {
|
||||
print "$ARGV:$. Missing ACL filter in function '$impl' for '$api'\n";
|
||||
$status = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user