~mvo/snapd/+git/snapd-mvo:fix-dirname-usage

Last commit made on 2019-01-09
Get this branch:
git clone -b fix-dirname-usage https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
fix-dirname-usage
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

0d18585... by Michael Vogt

snap-confine: fix incorrect use "src" var in mount-support.c

We got a bugreport from fedora that gcc-9 fails to build with
current snapd:
```
snap-confine/mount-support.c: In function 'sc_bootstrap_mount_namespace':
snap-confine/mount-support.c:403:4: error: '%s' directive argument is null [-Werror=format-overflow=]
  403 | die("cannot use result from readlink: %s", src);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:2507: snap-confine/snap_confine_debug-mount-support.o] Error 1
make[1]: *** Waiting for unfinished jobs....
```

This PR fixes this issue.

458f260... by Paweł Stołowski

Merge pull request #6330 from zyga/tweak/unused-iface-cruft

many: remove unused interface code

871cd13... by Michael Vogt

Merge pull request #5982 from jdstrand/use-unsafe-with-docker-support

interfaces/many: use 'unsafe' with docker-support change_profile rules

8b2476a... by Zygmunt Krynicki

interfaces/policy: remove unused slotSnapType method

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

c20fff8... by Zygmunt Krynicki

interfaces/policy: remove unused plugSnapType method

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

9b9e9b1... by Zygmunt Krynicki

interfaces/apparmor: remove unused chopTree function

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

9f02ca8... by Zygmunt Krynicki

interfaces: remove unused import

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

717c0a8... by Zygmunt Krynicki

interfaces: remove unused bySlotInfo sorting helper

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

4d9656e... by Zygmunt Krynicki

interfaces: remove unused byPlugInfo sorting helper

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

c3f932b... by Zygmunt Krynicki

interfaces: remove unused byBackendName sorting helper

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