Use a shorter file name (which is already part of apparmor profiles) and avoid using a pointer. (cherry picked from commit 357713fa)