1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-14 09:00:39 +02:00
Files
guix/gnu
Ludovic Courtès 7fee5b5397 container: Allow 'container-excursion' to the same namespaces.
Before that, 'container-excursion' would call 'setns' even when the
target namespace is the one the caller is already in, which would fail.

* gnu/build/linux-container.scm (container-excursion): Introduce
'source' and 'target'.  Compare the result of 'readlink' on these
instead of comparing file descriptors to decide whether to call
'setns'.
* tests/containers.scm ("container-excursion, same namespace"): New test.
2016-10-19 15:54:10 +02:00
..
2016-10-19 15:22:06 +02:00
2016-10-15 16:35:04 +02:00
2016-10-03 15:18:51 +02:00
2016-10-19 08:44:11 +02:00