Skip to content

Commit

Permalink
Merge pull request #5579 from jdstrand/add-ptrace-read-for-4.18-2.34
Browse files Browse the repository at this point in the history
(2.34) cmd/snap-confine: allow ptrace read for 4.18 kernels
  • Loading branch information
mvo5 committed Jul 31, 2018
2 parents 8b5e8f9 + 7921783 commit 7ef3443
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/snap-confine/snap-confine.apparmor.in
Expand Up @@ -365,6 +365,8 @@
# support for the mount namespace sharing
capability sys_ptrace,
# allow snap-confine to read /proc/1/ns/mnt
ptrace read peer=unconfined,
# https://forum.snapcraft.io/t/custom-kernel-error-on-readlinkat-in-mount-namespace/6097/21
ptrace trace peer=unconfined,

mount options=(rw rbind) /run/snapd/ns/ -> /run/snapd/ns/,
Expand Down

0 comments on commit 7ef3443

Please sign in to comment.