~snappy-dev/snapd/+git/snapd-pawel:retry-extra-debug

Last commit made on 2018-06-07
Get this branch:
git clone -b retry-extra-debug https://git.launchpad.net/~snappy-dev/snapd/+git/snapd-pawel

Branch merges

Branch information

Name:
retry-extra-debug
Repository:
lp:~snappy-dev/snapd/+git/snapd-pawel

Recent commits

56e2eab... by Paweł Stołowski

Extra debug if an error is not retried.

433d60d... by Maciej Borzecki

Merge pull request #5275 from bboozzoo/bboozzoo/use-mock-snap-current

cmd/snap: use snaptest.MockSnapCurrent in `snap run` tests

1e0d781... by Zygmunt Krynicki

Merge pull request #5277 from zyga/feature/is-readonly

cmd/snap-update-ns: add helper for checking for read-only filesystems

49199e5... by Zygmunt Krynicki

cmd/snap-update-ns: add IsReadOnly and tests

This patch adds a simple helper that checks if a directory is read only
in a way that sandboxed processes cannot overcome. This will be used in
upcoming trespassing checks where attempts to write to read only
directories are honored as they trigger EROFS which is handled by the
construction of a writable mimic.

Signed-off-by: Zygmunt Krynicki <email address hidden>

1f8c70f... by Zygmunt Krynicki

cmd/snap-update-ns: add support for testing using and testing fstatfs

This just glues syscall.Fstatfs to the mocking and testing logic.

Signed-off-by: Zygmunt Krynicki <email address hidden>

f3f01df... by Maciej Borzecki

cmd/snap: use MockSnapCurrent in `snap run` tests

snaptests comes with a helper to mock a snap and add a 'current' symlink. Make
sure to use it in the tests.

Signed-off-by: Maciej Borzecki <email address hidden>

34f99f2... by Zygmunt Krynicki

Merge pull request #5266 from anonymouse64/ijohnson/docker-interface-fix

interfaces/builtin/docker: use commonInterface over specific struct

e6e6a17... by Maciej Borzecki

Merge pull request #5273 from zyga/feature/statfs

testutil: add test support for Fstatfs

9777158... by Zygmunt Krynicki

testutil: add test support for Fstatfs

This patch adds a way to record and test fstatfs calls. This is needed
by the upcoming validation of path creation in snap-update-ns.

Signed-off-by: Zygmunt Krynicki <email address hidden>

a49ce5c... by Zygmunt Krynicki

Merge pull request #5254 from zyga/feature/kill-segments

cmd/snap-update-ns: discard the concept of segments