]> git.pld-linux.org Git - packages/apparmor-parser.git/blob - apparmor-2.13.4-run_variable.patch
- rel 2; fixes from archlinux
[packages/apparmor-parser.git] / apparmor-2.13.4-run_variable.patch
1 From 454fca7483eae7b7ee613343c2c02abaa20e37e3 Mon Sep 17 00:00:00 2001
2 From: nl6720 <nl6720@gmail.com>
3 Date: Thu, 13 Feb 2020 09:58:33 +0200
4 Subject: [PATCH] Add "run" variable
5
6 Signed-off-by: nl6720 <nl6720@gmail.com>
7 (cherry picked from commit 452b5b8735e449cba29a1fb25c9bff38ba8763ec)
8 ---
9  parser/apparmor.d.pod               | 1 +
10  profiles/apparmor.d/tunables/global | 1 +
11  profiles/apparmor.d/tunables/run    | 1 +
12  3 files changed, 3 insertions(+)
13  create mode 100644 profiles/apparmor.d/tunables/run
14
15 diff --git a/parser/apparmor.d.pod b/parser/apparmor.d.pod
16 index 662830bd..59ac72c9 100644
17 --- a/parser/apparmor.d.pod
18 +++ b/parser/apparmor.d.pod
19 @@ -1279,6 +1279,7 @@ provided AppArmor policy:
20    @{apparmorfs}
21    @{sys}
22    @{tid}
23 +  @{run}
24    @{XDG_DESKTOP_DIR}
25    @{XDG_DOWNLOAD_DIR}
26    @{XDG_TEMPLATES_DIR}
27 diff --git a/profiles/apparmor.d/tunables/global b/profiles/apparmor.d/tunables/global
28 index 28d6fc6d..3b6f99cc 100644
29 --- a/profiles/apparmor.d/tunables/global
30 +++ b/profiles/apparmor.d/tunables/global
31 @@ -19,3 +19,4 @@
32  #include <tunables/kernelvars>
33  #include <tunables/xdg-user-dirs>
34  #include <tunables/share>
35 +#include <tunables/run>
36 diff --git a/profiles/apparmor.d/tunables/run b/profiles/apparmor.d/tunables/run
37 new file mode 100644
38 index 00000000..e535d2fe
39 --- /dev/null
40 +++ b/profiles/apparmor.d/tunables/run
41 @@ -0,0 +1 @@
42 +@{run}=/run /var/run
43 -- 
44 2.26.2
45
This page took 0.032867 seconds and 4 git commands to generate.