summaryrefslogtreecommitdiff
path: root/sys/src/cmd/exportfs/exportfs.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-03-11 07:03:15 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-03-11 07:03:15 +0100
commiteed487167489ee16dd16effe9ebff9a5086ffc70 (patch)
tree4c2aeb16d64d6d9f0f3617d79290e83bfb1dee40 /sys/src/cmd/exportfs/exportfs.h
parent2c0490a26ed0565d5e69c88e64c8b185ecab0947 (diff)
exportfs: avoid closing netfd in filter()
netfd is initially zero (stdin), when filter() closes fd0, fd0 is free to be reused. this causes problems with openmount() that assumes sfd being >2. instead, we dup the our pipe end over netfd, and close the pipe.
Diffstat (limited to 'sys/src/cmd/exportfs/exportfs.h')
0 files changed, 0 insertions, 0 deletions