xref: /plan9/sys/src/cmd/unix/u9fs/authnone.c (revision a84536681645e23c630ce4ef2e5c3b284d4c590b)
1 #include <plan9.h>
2 #include <fcall.h>
3 #include <u9fs.h>
4 
5 static char*
6 noneauth(Fcall *rx, Fcall *tx)
7 {
8 	USED(rx);
9 	USED(tx);
10 	return "u9fs authnone: no authentication required";
11 }
12 
13 static char*
14 noneattach(Fcall *rx, Fcall *tx)
15 {
16 	USED(rx);
17 	USED(tx);
18 	return nil;
19 }
20 
21 Auth authnone = {
22 	"none",
23 	noneauth,
24 	noneattach,
25 };
26