mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
cgroup: remove use of the term 'whitelist' from cgroup code
The term "access control list" better describes the concept involved. Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
5f75ec90fe
commit
11fc562951
@ -374,7 +374,7 @@ static int virLXCCgroupSetupDeviceACL(virDomainDefPtr def,
|
||||
return -1;
|
||||
}
|
||||
|
||||
VIR_DEBUG("Device whitelist complete");
|
||||
VIR_DEBUG("Device ACL setup complete");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -464,7 +464,7 @@
|
||||
# What cgroup controllers to make use of with QEMU guests
|
||||
#
|
||||
# - 'cpu' - use for scheduler tunables
|
||||
# - 'devices' - use for device whitelisting
|
||||
# - 'devices' - use for device access control
|
||||
# - 'memory' - use for memory tunables
|
||||
# - 'blkio' - use for block devices I/O tunables
|
||||
# - 'cpuset' - use for CPUs and memory nodes
|
||||
|
@ -745,7 +745,7 @@ qemuSetupDevicesCgroup(virDomainObjPtr vm)
|
||||
if (rv < 0) {
|
||||
if (virLastErrorIsSystemErrno(EPERM)) {
|
||||
virResetLastError();
|
||||
VIR_WARN("Group devices ACL is not accessible, disabling whitelisting");
|
||||
VIR_WARN("Group devices ACL is not accessible, disabling filtering");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -773,7 +773,7 @@ virCgroupSetPartitionSuffix(const char *path, char **res)
|
||||
return ret;
|
||||
|
||||
for (i = 0; tokens[i] != NULL; i++) {
|
||||
/* Whitelist the 3 top level fixed dirs
|
||||
/* Special case the 3 top level fixed dirs
|
||||
* NB i == 0 is "", since we have leading '/'
|
||||
*/
|
||||
if (i == 1 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user