Do not raise in switch root if paths are too long
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 3 Nov 2016 02:05:06 +0000 (22:05 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 3 Nov 2016 02:36:43 +0000 (22:36 -0400)
commita6eccc3647c167ba13ac23885a8ea787f44d97e5
treef52774258a4239bec232a4a42fd20faa17544825
parent75ead2b753cb9586f3f208326446081baab70da1
Do not raise in switch root if paths are too long

If we encounter the (unlikely) situation where the combined path to the
new root and a path to a mount to be moved together exceed maximum path length,
we shouldn't crash, but fail this path instead.
src/shared/switch-root.c