Browse Source

fix(apparmor): Fix typo in file path

File rule to allow loading the executable itself has typo - no
executable name itself is present. Profile still works OK but it might
fail on some older kernels.

Fix file rule by specifying full path to the executable.
reviewable/pr5577/r2
Vincas Dargis 7 years ago
parent
commit
4d9cc7216a
  1. 2
      security/apparmor/2.12.1/usr.bin.qtox
  2. 2
      security/apparmor/2.13.2/usr.bin.qtox

2
security/apparmor/2.12.1/usr.bin.qtox

@ -22,7 +22,7 @@ profile qtox /usr{,/local}/bin/qtox { @@ -22,7 +22,7 @@ profile qtox /usr{,/local}/bin/qtox {
# Main executable
@{qtox_prefix}/bin mr,
@{qtox_prefix}/bin/qtox mr,
# Other executables

2
security/apparmor/2.13.2/usr.bin.qtox

@ -29,7 +29,7 @@ profile qtox /usr{,/local}/bin/qtox { @@ -29,7 +29,7 @@ profile qtox /usr{,/local}/bin/qtox {
# Main executable
@{qtox_prefix}/bin mr,
@{qtox_prefix}/bin/qtox mr,
# Other executables

Loading…
Cancel
Save