guix/gnu/build
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
..
activation.scm activation: Don't fail if /var/lib exists. 2016-09-06 14:41:48 -04:00
file-systems.scm file-systems: Always use (guix build syscalls). 2016-09-05 00:06:47 +02:00
install.scm tests: Make sure /var/guix/gcroots/profiles is a valid symlink. 2016-08-29 00:09:44 +02:00
linux-boot.scm Rename '/root/etc/dmd' directory and 'do-not-kill' file. 2016-01-29 20:20:19 +03:00
linux-container.scm container: Allow 'container-excursion' to the same namespaces. 2016-10-19 15:54:10 +02:00
linux-initrd.scm linux-initrd: Compress cpio archives deterministically. 2015-09-09 23:27:10 +02:00
linux-modules.scm linux-modules: Use normalized module names for 'modprobe.blacklist'. 2016-02-21 13:04:10 +01:00
marionette.scm Add (gnu tests) and (gnu build marionette). 2016-05-04 23:35:55 +02:00
vm.scm vm: 'qemu-command' honors its argument. 2016-06-20 23:50:46 +02:00