2012-01-23 15:12:57 +00:00
|
|
|
/*
|
2014-12-08 21:56:31 +00:00
|
|
|
* viraccessdriverpolkit.c: polkitd access control driver
|
2012-01-23 15:12:57 +00:00
|
|
|
*
|
2014-02-20 00:32:19 +00:00
|
|
|
* Copyright (C) 2012, 2014 Red Hat, Inc.
|
2012-01-23 15:12:57 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see
|
|
|
|
* <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include "viraccessdriverpolkit.h"
|
|
|
|
#include "viralloc.h"
|
|
|
|
#include "vircommand.h"
|
|
|
|
#include "virlog.h"
|
|
|
|
#include "virprocess.h"
|
|
|
|
#include "virerror.h"
|
2013-08-22 16:09:03 +00:00
|
|
|
#include "virpolkit.h"
|
2012-01-23 15:12:57 +00:00
|
|
|
#include "virstring.h"
|
|
|
|
|
|
|
|
#define VIR_FROM_THIS VIR_FROM_ACCESS
|
2014-02-28 12:16:17 +00:00
|
|
|
|
|
|
|
VIR_LOG_INIT("access.accessdriverpolkit");
|
|
|
|
|
2017-11-03 12:09:47 +00:00
|
|
|
#define virAccessError(code, ...) \
|
|
|
|
virReportErrorHelper(VIR_FROM_THIS, code, __FILE__, \
|
2012-01-23 15:12:57 +00:00
|
|
|
__FUNCTION__, __LINE__, __VA_ARGS__)
|
|
|
|
|
|
|
|
#define VIR_ACCESS_DRIVER_POLKIT_ACTION_PREFIX "org.libvirt.api"
|
|
|
|
|
|
|
|
typedef struct _virAccessDriverPolkitPrivate virAccessDriverPolkitPrivate;
|
|
|
|
typedef virAccessDriverPolkitPrivate *virAccessDriverPolkitPrivatePtr;
|
|
|
|
|
|
|
|
struct _virAccessDriverPolkitPrivate {
|
|
|
|
bool ignore;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2019-10-14 12:45:33 +00:00
|
|
|
static void virAccessDriverPolkitCleanup(virAccessManagerPtr manager G_GNUC_UNUSED)
|
2012-01-23 15:12:57 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static char *
|
|
|
|
virAccessDriverPolkitFormatAction(const char *typename,
|
|
|
|
const char *permname)
|
|
|
|
{
|
|
|
|
char *actionid = NULL;
|
|
|
|
size_t i;
|
|
|
|
|
2019-10-22 13:26:14 +00:00
|
|
|
actionid = g_strdup_printf("%s.%s.%s", VIR_ACCESS_DRIVER_POLKIT_ACTION_PREFIX,
|
|
|
|
typename, permname);
|
2012-01-23 15:12:57 +00:00
|
|
|
|
|
|
|
for (i = 0; actionid[i]; i++)
|
|
|
|
if (actionid[i] == '_')
|
|
|
|
actionid[i] = '-';
|
|
|
|
|
|
|
|
return actionid;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-08-22 16:09:03 +00:00
|
|
|
static int
|
|
|
|
virAccessDriverPolkitGetCaller(const char *actionid,
|
|
|
|
pid_t *pid,
|
|
|
|
unsigned long long *startTime,
|
|
|
|
uid_t *uid)
|
2012-01-23 15:12:57 +00:00
|
|
|
{
|
2019-09-30 15:06:41 +00:00
|
|
|
g_autoptr(virIdentity) identity = virIdentityGetCurrent();
|
2019-08-07 15:30:57 +00:00
|
|
|
int rc;
|
2012-01-23 15:12:57 +00:00
|
|
|
|
|
|
|
if (!identity) {
|
|
|
|
virAccessError(VIR_ERR_ACCESS_DENIED,
|
|
|
|
_("Policy kit denied action %s from <anonymous>"),
|
|
|
|
actionid);
|
2013-08-22 16:09:03 +00:00
|
|
|
return -1;
|
2012-01-23 15:12:57 +00:00
|
|
|
}
|
|
|
|
|
2019-08-07 15:30:57 +00:00
|
|
|
if ((rc = virIdentityGetProcessID(identity, pid)) < 0)
|
2019-09-30 15:06:41 +00:00
|
|
|
return -1;
|
2019-08-07 15:30:57 +00:00
|
|
|
|
|
|
|
if (rc == 0) {
|
2012-01-23 15:12:57 +00:00
|
|
|
virAccessError(VIR_ERR_INTERNAL_ERROR, "%s",
|
2019-07-26 10:59:15 +00:00
|
|
|
_("No process ID available"));
|
2019-09-30 15:06:41 +00:00
|
|
|
return -1;
|
2012-01-23 15:12:57 +00:00
|
|
|
}
|
2019-08-07 15:30:57 +00:00
|
|
|
|
|
|
|
if ((rc = virIdentityGetProcessTime(identity, startTime)) < 0)
|
2019-09-30 15:06:41 +00:00
|
|
|
return -1;
|
2019-08-07 15:30:57 +00:00
|
|
|
|
|
|
|
if (rc == 0) {
|
2014-09-25 09:13:29 +00:00
|
|
|
virAccessError(VIR_ERR_INTERNAL_ERROR, "%s",
|
2019-07-26 10:59:15 +00:00
|
|
|
_("No process start time available"));
|
2019-09-30 15:06:41 +00:00
|
|
|
return -1;
|
2014-09-25 09:13:29 +00:00
|
|
|
}
|
2019-08-07 15:30:57 +00:00
|
|
|
|
|
|
|
if ((rc = virIdentityGetUNIXUserID(identity, uid)) < 0)
|
2019-09-30 15:06:41 +00:00
|
|
|
return -1;
|
2019-08-07 15:30:57 +00:00
|
|
|
|
|
|
|
if (rc == 0) {
|
2014-09-25 09:13:29 +00:00
|
|
|
virAccessError(VIR_ERR_INTERNAL_ERROR, "%s",
|
|
|
|
_("No UNIX caller UID available"));
|
2019-09-30 15:06:41 +00:00
|
|
|
return -1;
|
2014-09-25 09:13:29 +00:00
|
|
|
}
|
2013-08-22 16:09:03 +00:00
|
|
|
|
2019-09-30 15:06:41 +00:00
|
|
|
return 0;
|
2012-01-23 15:12:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2019-10-14 12:45:33 +00:00
|
|
|
virAccessDriverPolkitCheck(virAccessManagerPtr manager G_GNUC_UNUSED,
|
2012-01-23 15:12:57 +00:00
|
|
|
const char *typename,
|
|
|
|
const char *permname,
|
|
|
|
const char **attrs)
|
|
|
|
{
|
2019-09-30 15:06:41 +00:00
|
|
|
g_autofree char *actionid = NULL;
|
2013-08-22 16:09:03 +00:00
|
|
|
pid_t pid;
|
|
|
|
uid_t uid;
|
|
|
|
unsigned long long startTime;
|
|
|
|
int rv;
|
2012-01-23 15:12:57 +00:00
|
|
|
|
|
|
|
if (!(actionid = virAccessDriverPolkitFormatAction(typename, permname)))
|
2019-09-30 15:06:41 +00:00
|
|
|
return -1;
|
2012-01-23 15:12:57 +00:00
|
|
|
|
2013-08-22 16:09:03 +00:00
|
|
|
if (virAccessDriverPolkitGetCaller(actionid,
|
|
|
|
&pid,
|
|
|
|
&startTime,
|
|
|
|
&uid) < 0)
|
2019-09-30 15:06:41 +00:00
|
|
|
return -1;
|
2012-01-23 15:12:57 +00:00
|
|
|
|
2014-12-08 21:56:31 +00:00
|
|
|
VIR_DEBUG("Check action '%s' for process '%lld' time %lld uid %d",
|
2018-04-25 12:42:33 +00:00
|
|
|
actionid, (long long)pid, startTime, uid);
|
2012-01-23 15:12:57 +00:00
|
|
|
|
2013-08-22 16:09:03 +00:00
|
|
|
rv = virPolkitCheckAuth(actionid,
|
|
|
|
pid,
|
|
|
|
startTime,
|
|
|
|
uid,
|
|
|
|
attrs,
|
|
|
|
false);
|
2012-01-23 15:12:57 +00:00
|
|
|
|
2013-08-22 16:09:03 +00:00
|
|
|
if (rv == 0) {
|
2019-09-30 15:06:41 +00:00
|
|
|
return 1; /* Allowed */
|
2012-01-23 15:12:57 +00:00
|
|
|
} else {
|
2013-08-22 16:09:03 +00:00
|
|
|
if (rv == -2) {
|
2019-09-30 15:06:41 +00:00
|
|
|
return 0; /* Denied */
|
2012-01-23 15:12:57 +00:00
|
|
|
} else {
|
2019-09-30 15:06:41 +00:00
|
|
|
return -1; /* Error */
|
2012-01-23 15:12:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckConnect(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virAccessPermConnect perm)
|
|
|
|
{
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"connect",
|
|
|
|
virAccessPermConnectTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
}
|
|
|
|
|
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckDomain(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virDomainDefPtr domain,
|
|
|
|
virAccessPermDomain perm)
|
|
|
|
{
|
|
|
|
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"domain_name", domain->name,
|
|
|
|
"domain_uuid", uuidstr,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
virUUIDFormat(domain->uuid, uuidstr);
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"domain",
|
|
|
|
virAccessPermDomainTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
}
|
|
|
|
|
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckInterface(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virInterfaceDefPtr iface,
|
|
|
|
virAccessPermInterface perm)
|
|
|
|
{
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"interface_name", iface->name,
|
|
|
|
"interface_macaddr", iface->mac,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"interface",
|
|
|
|
virAccessPermInterfaceTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
}
|
|
|
|
|
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckNetwork(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virNetworkDefPtr network,
|
|
|
|
virAccessPermNetwork perm)
|
|
|
|
{
|
|
|
|
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"network_name", network->name,
|
|
|
|
"network_uuid", uuidstr,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
virUUIDFormat(network->uuid, uuidstr);
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"network",
|
|
|
|
virAccessPermNetworkTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
}
|
|
|
|
|
2018-11-30 16:34:21 +00:00
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckNetworkPort(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virNetworkDefPtr network,
|
|
|
|
virNetworkPortDefPtr port,
|
|
|
|
virAccessPermNetworkPort perm)
|
|
|
|
{
|
|
|
|
char uuidstr1[VIR_UUID_STRING_BUFLEN];
|
|
|
|
char uuidstr2[VIR_UUID_STRING_BUFLEN];
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"network_name", network->name,
|
|
|
|
"network_uuid", uuidstr1,
|
|
|
|
"port_uuid", uuidstr2,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
virUUIDFormat(network->uuid, uuidstr1);
|
|
|
|
virUUIDFormat(port->uuid, uuidstr2);
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"network-port",
|
|
|
|
virAccessPermNetworkPortTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
}
|
|
|
|
|
2012-01-23 15:12:57 +00:00
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckNodeDevice(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virNodeDeviceDefPtr nodedev,
|
|
|
|
virAccessPermNodeDevice perm)
|
|
|
|
{
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"node_device_name", nodedev->name,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
2013-09-11 13:23:24 +00:00
|
|
|
"node-device",
|
2012-01-23 15:12:57 +00:00
|
|
|
virAccessPermNodeDeviceTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
}
|
|
|
|
|
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckNWFilter(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virNWFilterDefPtr nwfilter,
|
|
|
|
virAccessPermNWFilter perm)
|
|
|
|
{
|
|
|
|
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"nwfilter_name", nwfilter->name,
|
|
|
|
"nwfilter_uuid", uuidstr,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
virUUIDFormat(nwfilter->uuid, uuidstr);
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"nwfilter",
|
|
|
|
virAccessPermNWFilterTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
}
|
|
|
|
|
2018-05-09 16:19:55 +00:00
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckNWFilterBinding(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virNWFilterBindingDefPtr binding,
|
|
|
|
virAccessPermNWFilterBinding perm)
|
|
|
|
{
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"nwfilter_binding_portdev", binding->portdevname,
|
|
|
|
"nwfilter_binding_linkdev", binding->linkdevname,
|
|
|
|
"nwfilter_binding_filter", binding->filter,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"nwfilter_binding",
|
|
|
|
virAccessPermNWFilterBindingTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
}
|
|
|
|
|
2012-01-23 15:12:57 +00:00
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckSecret(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virSecretDefPtr secret,
|
|
|
|
virAccessPermSecret perm)
|
|
|
|
{
|
|
|
|
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
|
|
|
virUUIDFormat(secret->uuid, uuidstr);
|
|
|
|
|
|
|
|
switch (secret->usage_type) {
|
|
|
|
default:
|
|
|
|
case VIR_SECRET_USAGE_TYPE_NONE: {
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"secret_uuid", uuidstr,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"secret",
|
|
|
|
virAccessPermSecretTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
} break;
|
|
|
|
case VIR_SECRET_USAGE_TYPE_VOLUME: {
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"secret_uuid", uuidstr,
|
2016-12-22 15:40:11 +00:00
|
|
|
"secret_usage_volume", secret->usage_id,
|
2012-01-23 15:12:57 +00:00
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"secret",
|
|
|
|
virAccessPermSecretTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
} break;
|
|
|
|
case VIR_SECRET_USAGE_TYPE_CEPH: {
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"secret_uuid", uuidstr,
|
2016-12-22 15:40:11 +00:00
|
|
|
"secret_usage_ceph", secret->usage_id,
|
2012-01-23 15:12:57 +00:00
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"secret",
|
|
|
|
virAccessPermSecretTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
} break;
|
|
|
|
case VIR_SECRET_USAGE_TYPE_ISCSI: {
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"secret_uuid", uuidstr,
|
2016-12-22 15:40:11 +00:00
|
|
|
"secret_usage_target", secret->usage_id,
|
2012-01-23 15:12:57 +00:00
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"secret",
|
|
|
|
virAccessPermSecretTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
} break;
|
2016-07-14 19:09:08 +00:00
|
|
|
case VIR_SECRET_USAGE_TYPE_TLS: {
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"secret_uuid", uuidstr,
|
2016-12-22 15:40:11 +00:00
|
|
|
"secret_usage_name", secret->usage_id,
|
2016-07-14 19:09:08 +00:00
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
|
|
|
"secret",
|
|
|
|
virAccessPermSecretTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
} break;
|
2012-01-23 15:12:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckStoragePool(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virStoragePoolDefPtr pool,
|
|
|
|
virAccessPermStoragePool perm)
|
|
|
|
{
|
|
|
|
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"pool_name", pool->name,
|
|
|
|
"pool_uuid", uuidstr,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
virUUIDFormat(pool->uuid, uuidstr);
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
2013-09-11 13:23:24 +00:00
|
|
|
"storage-pool",
|
2012-01-23 15:12:57 +00:00
|
|
|
virAccessPermStoragePoolTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
}
|
|
|
|
|
|
|
|
static int
|
|
|
|
virAccessDriverPolkitCheckStorageVol(virAccessManagerPtr manager,
|
|
|
|
const char *driverName,
|
|
|
|
virStoragePoolDefPtr pool,
|
|
|
|
virStorageVolDefPtr vol,
|
|
|
|
virAccessPermStorageVol perm)
|
|
|
|
{
|
|
|
|
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
|
|
|
const char *attrs[] = {
|
|
|
|
"connect_driver", driverName,
|
|
|
|
"pool_name", pool->name,
|
|
|
|
"pool_uuid", uuidstr,
|
|
|
|
"vol_name", vol->name,
|
|
|
|
"vol_key", vol->key,
|
|
|
|
NULL,
|
|
|
|
};
|
|
|
|
virUUIDFormat(pool->uuid, uuidstr);
|
|
|
|
|
|
|
|
return virAccessDriverPolkitCheck(manager,
|
2013-09-11 13:23:24 +00:00
|
|
|
"storage-vol",
|
2012-01-23 15:12:57 +00:00
|
|
|
virAccessPermStorageVolTypeToString(perm),
|
|
|
|
attrs);
|
|
|
|
}
|
|
|
|
|
|
|
|
virAccessDriver accessDriverPolkit = {
|
|
|
|
.privateDataLen = sizeof(virAccessDriverPolkitPrivate),
|
|
|
|
.name = "polkit",
|
|
|
|
.cleanup = virAccessDriverPolkitCleanup,
|
|
|
|
.checkConnect = virAccessDriverPolkitCheckConnect,
|
|
|
|
.checkDomain = virAccessDriverPolkitCheckDomain,
|
|
|
|
.checkInterface = virAccessDriverPolkitCheckInterface,
|
|
|
|
.checkNetwork = virAccessDriverPolkitCheckNetwork,
|
2018-11-30 16:34:21 +00:00
|
|
|
.checkNetworkPort = virAccessDriverPolkitCheckNetworkPort,
|
2012-01-23 15:12:57 +00:00
|
|
|
.checkNodeDevice = virAccessDriverPolkitCheckNodeDevice,
|
|
|
|
.checkNWFilter = virAccessDriverPolkitCheckNWFilter,
|
2018-05-09 16:19:55 +00:00
|
|
|
.checkNWFilterBinding = virAccessDriverPolkitCheckNWFilterBinding,
|
2012-01-23 15:12:57 +00:00
|
|
|
.checkSecret = virAccessDriverPolkitCheckSecret,
|
|
|
|
.checkStoragePool = virAccessDriverPolkitCheckStoragePool,
|
|
|
|
.checkStorageVol = virAccessDriverPolkitCheckStorageVol,
|
|
|
|
};
|