Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_tlsv12/sys/src/cmd/unix/u9fs/authnone.c – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 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
};