diff options
author | Kelsey Skunberg <[email protected]> | 2019-09-05 00:32:26 -0600 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2019-09-05 13:26:23 -0500 |
commit | 244c06c3b6d86513066426c9707ee460cd845349 (patch) | |
tree | 8927c4e1a6e2d301d5cbd0b8a3d178175010c70f /tools/perf/scripts/python | |
parent | aaee0c1ffd6399d291b030b49d622b81dd5071c5 (diff) |
PCI/IOV: Remove group write permission from sriov_numvfs, sriov_drivers_autoprobe
Previously the sriov_numvfs and sriov_drivers_autoprobe sysfs files had
0664 permissions, which allowed group write. libvirt runs as root when
dealing with PCI, and it chowns files needed by qemu, so group write
permission should not be needed.
Change these permissions from 0664 to 0644, which is what DEVICE_ATTR_RW()
does by default.
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kelsey Skunberg <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Donald Dutile <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions