File: load_local_apparmor_rules.diff

package info (click to toggle)
akonadi 4%3A24.12.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,876 kB
  • sloc: cpp: 99,260; xml: 2,758; python: 71; sh: 70; javascript: 42; makefile: 41
file content (51 lines) | stat: -rw-r--r-- 1,829 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Description: Load Apparmor site-specific additions and overrides.
 Debian allows users to add site-specific additions and overrides via local
 apparmor rule files. Those local rule files are created and handled by
 dh_apparmor.
Author: Hefee <hefee@debian.org>
Origin: Debian
Bug-Debian: https://bugs.debian.org/985080
Last-Update: 2021-04-13
Forwarded: Not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/apparmor/mariadbd_akonadi
+++ b/apparmor/mariadbd_akonadi
@@ -36,4 +36,7 @@ profile mariadbd_akonadi {
   owner @{xdg_data_home}/akonadi/** rwk,
   owner @{PROC}/@{pid}/loginuid r,
   owner /{,var/}run/user/@{uid}/akonadi** rwk,
+
+  # Site-specific additions and overrides.  See local/README for details.
+  #include <local/mariadbd_akonadi>
 }
--- a/apparmor/mysqld_akonadi
+++ b/apparmor/mysqld_akonadi
@@ -36,4 +36,7 @@ profile mysqld_akonadi {
   owner @{xdg_data_home}/akonadi/** rwk,
   owner @{PROC}/@{pid}/loginuid r,
   owner /{,var/}run/user/@{uid}/akonadi** rwk,
+
+  # Site-specific additions and overrides.  See local/README for details.
+  #include <local/mysqld_akonadi>
 }
--- a/apparmor/postgresql_akonadi
+++ b/apparmor/postgresql_akonadi
@@ -45,4 +45,7 @@ profile postgresql_akonadi flags=(attach_disconnected) {
   @{postgresqlpath}/bin/psql mrix,
   @{postgresqlpath}/bin/pg_restore mrix,
   /{usr/,}bin/cp mrix,
+
+  # Site-specific additions and overrides.  See local/README for details.
+  #include <local/postgresql_akonadi>
 }
--- a/apparmor/usr.bin.akonadiserver
+++ b/apparmor/usr.bin.akonadiserver
@@ -77,4 +77,7 @@
   owner /{,var/}run/user/@{uid}/kdeinit** rwk,
   owner /{,var/}run/user/@{uid}/kcrash** rwk,
   owner /tmp/#[0-9]* m,
+
+  # Site-specific additions and overrides.  See local/README for details.
+  #include <local/usr.bin.akonadiserver>
 }