libvirt/examples
Christian Ehrhardt 8741b94351
apparmor: fix ptrace rules with kernel 4.18
Due to kernel upstream change 338d0be4 ("apparmor: fix ptrace read check")
libvirt now hits apparmor denies like:
  apparmor="DENIED" operation="ptrace" profile="/usr/sbin/libvirtd"
  pid=4409 comm="libvirtd" requested_mask="read" denied_mask="read"
  peer="libvirt-14e92a75-7668-4b97-8f92-322fc1b9c78a"

Extend the ptrace rule to also allow 'ptrace (read)' for libvirtd to work
with these newer kernels.

Fixes: https://bugs.launchpad.net/bugs/1788603

Reported-by: Thadeu Lima de Souza Cascardo <thadeu.cascardo@canonical.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
Acked-by: Jamie Strandboge <jamie@canonical.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2018-08-27 10:46:45 +02:00
..
admin examples: Resolve sign-compare warnings 2016-12-20 13:11:25 +01:00
apparmor apparmor: fix ptrace rules with kernel 4.18 2018-08-27 10:46:45 +02:00
dominfo examples: Use one top level makefile 2016-01-09 21:14:12 -05:00
dommigrate examples: Use one top level makefile 2016-01-09 21:14:12 -05:00
domsuspend Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
domtop Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
hellolibvirt examples: Remove config.h from hellolibvirt and openauth 2018-07-09 08:53:11 +02:00
lxcconvert lxc: allow use of lxc:///system URI as preferred format 2018-04-12 16:52:01 +01:00
object-events Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
openauth examples: Remove config.h from hellolibvirt and openauth 2018-07-09 08:53:11 +02:00
polkit examples: Use one top level makefile 2016-01-09 21:14:12 -05:00
rename examples: Use one top level makefile 2016-01-09 21:14:12 -05:00
systemtap Forget last daemon/ dir artefacts 2018-07-27 15:44:38 +02:00
xml examples: Add clean-traffic-gateway into nwfilters 2018-07-18 14:03:47 +02:00
Makefile.am virt-aa-helper: handle more disk images 2017-12-20 11:05:54 +01:00