summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-03-08 22:00:23 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2020-03-08 22:00:23 +0100
commite9e55a21f66a3eff114025dcb1fe62570d0fa3e6 (patch)
tree779a635590ee01c03219b4054757ec7fc905904d /sys/include
parent11628e90fb85137a3f02e4ad5c343c15a90846b5 (diff)
lib9p: implement automatic remove-on-close cleanup in postsharesrv(), remove postfd() and sharefd() functions
with the latest changes to shr(3), we can use ORCLOSE on the control file to get the mount in the share automatically removed when the server exits or something goes wrong during postsharesrv(). do not expose postfd() and sharefd() functions. they where undocumented and leak the control file descriptors.
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/9p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/include/9p.h b/sys/include/9p.h
index 53b16ca4a..1a6dfd657 100644
--- a/sys/include/9p.h
+++ b/sys/include/9p.h
@@ -246,8 +246,6 @@ void postsharesrv(Srv*, char*, char*, char*);
void _postsharesrv(Srv*, char*, char*, char*);
void listensrv(Srv*, char*);
void _listensrv(Srv*, char*);
-int postfd(char*, int);
-int sharefd(char*, char*, int);
int chatty9p;
void respond(Req*, char*);
void responderror(Req*);