shithub: riscv

Download patch

ref: 24fa514abe616a5c55f8f20d48a268a805c2ec2f
parent: b122f2c4b8c3ebf69ce46347bf752ef0d75fadc8
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jan 9 09:44:23 EST 2023

sshnet: mount BEFORE /net (preserving /net/tls and /net/dns)

--- a/sys/man/4/sshnet
+++ b/sys/man/4/sshnet
@@ -34,7 +34,7 @@
 presents the remote server's TCP stack as a network stack
 (see the discussion of TCP in
 .IR ip (3))
-mounted at
+mounted before
 .I mtpt
 (default
 .BR /net ),
--- a/sys/src/cmd/sshnet.c
+++ b/sys/src/cmd/sshnet.c
@@ -1445,7 +1445,7 @@
 
 	ssh(argc, argv);
 
-	threadpostmountsrv(&fs, service, mtpt, MREPL);
+	threadpostmountsrv(&fs, service, mtpt, MBEFORE);
 
 	threadexits(nil);
 }