summaryrefslogtreecommitdiffstats
path: root/sound/sound_core.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2018-03-15 22:31:38 -0700
committerJohn Johansen <john.johansen@canonical.com>2018-03-23 17:33:52 -0700
commit1180b4c757aab5506f1be367000364dd5cf5cd02 (patch)
treeeb142855036307a48aef79de645a0169d408f836 /sound/sound_core.c
parentd53c9f4d212c25b09670a71e2a993071d1e637a2 (diff)
downloadlinux-1180b4c757aab5506f1be367000364dd5cf5cd02.tar.gz
linux-1180b4c757aab5506f1be367000364dd5cf5cd02.tar.bz2
linux-1180b4c757aab5506f1be367000364dd5cf5cd02.zip
apparmor: fix dangling symlinks to policy rawdata after replacement
When policy replacement occurs the symlinks in the profile directory need to be updated to point to the new rawdata, otherwise once the old rawdata is removed the symlink becomes broken. Fix this by dynamically generating the symlink everytime it is read. These links are used enough that their value needs to be cached and this way we can avoid needing locking to read and update the link value. Fixes: a481f4d917835 ("apparmor: add custom apparmorfs that will be used by policy namespace files") BugLink: http://bugs.launchpad.net/bugs/1755563 Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions