Qemu function hdev_get_max_segments reads this.
Access is to: /sys/dev/block/%u:%u/queue/max_segments with O_RDONLY
So yeah, the rule "/sys/dev/block/*/queue/max_segments r," should be good.
This is since qemu 2.9:
commit 9103f1ceb46614b150bcbc3c9a4fbc72b47fedcc
Author: Fam Zheng <email address hidden>
Date: Wed Mar 8 20:08:14 2017 +0800
file-posix: Consider max_segments for BlockLimits.max_transfer
This is a fix for a rare bug, that due to the rule does not yet "fix" it.
Prio is low enough to not need any SRU, but it shall be fixed.
I'll create a fix to the upstream apparmor profiles and get them back on next merge.
Qemu function hdev_get_ max_segments reads this. block/% u:%u/queue/ max_segments with O_RDONLY block/* /queue/ max_segments r," should be good.
Access is to: /sys/dev/
So yeah, the rule "/sys/dev/
This is since qemu 2.9: 150bcbc3c9a4fbc 72b47fedcc
commit 9103f1ceb46614b
Author: Fam Zheng <email address hidden>
Date: Wed Mar 8 20:08:14 2017 +0800
file-posix: Consider max_segments for BlockLimits. max_transfer
This is a fix for a rare bug, that due to the rule does not yet "fix" it.
Prio is low enough to not need any SRU, but it shall be fixed.
I'll create a fix to the upstream apparmor profiles and get them back on next merge.