Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
cmd/snap-confine: add support for classic confinement #2427
Conversation
zyga
added some commits
Dec 2, 2016
zyga
added
the
Critical
label
Dec 7, 2016
zyga
referenced this pull request
Dec 7, 2016
Merged
cmd/snap-confine: add snap-confine command line parser module #2416
| - if (group_name == NULL) { | ||
| - die("SNAP_NAME is not set"); | ||
| + if (!classic_confinement) { | ||
| + /* 'classic confinement' is designed to run without the sandbox |
mvo5
Dec 7, 2016
Collaborator
Can we move the comment above maybe? When I first saw the comment I assume it was meant for the following code.
| + * - snap-confine skips using device cgroups | ||
| + * - snapd sets up a lenient AppArmor profile for snap-confine to use | ||
| + * - snapd sets up a lenient seccomp profile for snap-confine to use | ||
| + */ |
zyga
merged commit 4af8fa9
into
snapcore:master
Dec 7, 2016
zyga
deleted the
zyga:snap-confine-simple-classic
branch
Dec 7, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zyga commentedDec 7, 2016
This branch adds support for classic confinement in snap-confine.