• S
    add security hook for permitting hugetlbfs access · 88bd1a64
    Serge Hallyn 提交于
    When a qemu domain is backed by huge pages, apparmor needs to grant the domain
    rw access to files under the hugetlbfs mount point.  Add a hook, called in
    qemu_process.c, which ends up adding the read-write access through
    virt-aa-helper.  Qemu will be creating a randomly named file under the
    mountpoint and unlinking it as soon as it has mmap()d it, therefore we
    cannot predict the full pathname, but for the same reason it is generally
    safe to provide access to $path/**.
    Signed-off-by: NSerge Hallyn <serge.hallyn@ubuntu.com>
    88bd1a64
libvirt_private.syms 41.2 KB