summaryrefslogtreecommitdiffstats
path: root/.travis-functions.sh
diff options
context:
space:
mode:
authorYuriy M. Kaminskiy2016-01-30 14:18:39 +0100
committerKarel Zak2016-02-17 13:54:56 +0100
commit99fcafdf5f9c8cf7dedeeb1246210013da58dfd7 (patch)
tree9145744cae664d5561a0d342a14f52c1a68ba3a4 /.travis-functions.sh
parentagetty: support \e{name} for issue file (diff)
downloadkernel-qcow2-util-linux-99fcafdf5f9c8cf7dedeeb1246210013da58dfd7.tar.gz
kernel-qcow2-util-linux-99fcafdf5f9c8cf7dedeeb1246210013da58dfd7.tar.xz
kernel-qcow2-util-linux-99fcafdf5f9c8cf7dedeeb1246210013da58dfd7.zip
unshare: fix busyloop and reduce racing probability
Replace busy-loop with waiting on pipe from parent. Note: reduces racing probability, but still there are window where it is possible (if parent unshare process will be [externally] killed between successful read(fds[0]) and mount() calls). [kzak@redhat.com: - use all-io.h to avoid loops around write() and read(), - use less generic 0x06 byte to sync parent and child] Signed-off-by: Yuriy M. Kaminskiy <yumkam@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to '.travis-functions.sh')
0 files changed, 0 insertions, 0 deletions