Skip to content
Commit 2f12d726 authored by James Henstridge's avatar James Henstridge Committed by Alexander Larsson
Browse files

Use cgroups to identify snap confined applications rather than AppArmor

The AppArmor based check only worked on platforms that supported
AppArmor, and returned only a limited amount of information about the
snap.

The new strategy first checks to see if the process appears to be snap
confined by checking cgroup membership, then calls out to the "snap"
utility to retrieve more detailed information about the snap.
parent cb54478e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment