diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-03-11 07:03:15 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-03-11 07:03:15 +0100 |
| commit | eed487167489ee16dd16effe9ebff9a5086ffc70 (patch) | |
| tree | 4c2aeb16d64d6d9f0f3617d79290e83bfb1dee40 /lib/cmap | |
| parent | 2c0490a26ed0565d5e69c88e64c8b185ecab0947 (diff) | |
| download | plan9front-eed487167489ee16dd16effe9ebff9a5086ffc70.tar.xz | |
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 'lib/cmap')
0 files changed, 0 insertions, 0 deletions
