summaryrefslogtreecommitdiff
path: root/sys-apps/apparmor/files/fixcaps.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-02 00:37:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-02 00:37:51 +0000
commitc6cf800d47749adeb5bc320496c57889aca1dfec (patch)
treecd0a304482d4b76625883eede601b9c617ca16c9 /sys-apps/apparmor/files/fixcaps.patch
parent2cca27e774050972882e8428e7626e592ec3615c (diff)
sys-apps/apparmor : bugfix https://bugs.gentoo.org/750860
Diffstat (limited to 'sys-apps/apparmor/files/fixcaps.patch')
-rw-r--r--sys-apps/apparmor/files/fixcaps.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/apparmor/files/fixcaps.patch b/sys-apps/apparmor/files/fixcaps.patch
new file mode 100644
index 00000000..6b830e3c
--- /dev/null
+++ b/sys-apps/apparmor/files/fixcaps.patch
@@ -0,0 +1,12 @@
+diff -Nur a/base_cap_names.h b/base_cap_names.h
+--- a/base_cap_names.h 2020-10-01 17:50:10.000000000 +0100
++++ b/base_cap_names.h 2020-12-02 00:33:25.268531744 +0000
+@@ -8,6 +8,8 @@
+
+ {"bpf", CAP_BPF, CAP_SYS_ADMIN, CAPFLAG_BASE_FEATURE},
+
++{"checkpoint_restore", CAP_CHECKPOINT_RESTORE, NO_BACKMAP_CAP, CAPFLAG_BASE_FEATURE},
++
+ {"chown", CAP_CHOWN, NO_BACKMAP_CAP, CAPFLAG_BASE_FEATURE},
+
+ {"dac_override", CAP_DAC_OVERRIDE, NO_BACKMAP_CAP, CAPFLAG_BASE_FEATURE},