Subversion Repositories planix.SVN

Rev

Rev 68 | Rev 70 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68 Rev 69
Line 438... Line 438...
438
		seterror(tx, Eunknownuser);
438
		seterror(tx, Eunknownuser);
439
		freefid(fid);
439
		freefid(fid);
440
		return;
440
		return;
441
	}
441
	}
442
 
442
 
443
//	chroot("/root/planix/sys");
-
 
444
 
443
 
445
	fid->u = u;
444
	fid->u = u;
446
	tx->qid = stat2qid(&fid->st);
445
	tx->qid = stat2qid(&fid->st);
-
 
446
	chroot("/srv");
447
	return;
447
	return;
448
}
448
}
449
 
449
 
450
void
450
void
451
rwalk(Fcall *rx, Fcall *tx)
451
rwalk(Fcall *rx, Fcall *tx)
452
{
452
{
-
 
453
 
-
 
454
	fprint(2,"rwalk called\n");
453
	int i;
455
	int i;
454
	char *path, *e;
456
	char *path, *e;
455
	Fid *fid, *nfid;
457
	Fid *fid, *nfid;
456
 
458
 
457
	e = nil;
459
	e = nil;
Line 545... Line 547...
545
}
547
}
546
 
548
 
547
void
549
void
548
rcreate(Fcall *rx, Fcall *tx)
550
rcreate(Fcall *rx, Fcall *tx)
549
{
551
{
-
 
552
	fprint(2,"rcreate cllaed\n");
550
	char *e;
553
	char *e;
551
	Fid *fid;
554
	Fid *fid;
552
 
555
 
553
	if((fid = oldfid(rx->fid, &e)) == nil){
556
	if((fid = oldfid(rx->fid, &e)) == nil){
554
		seterror(tx, e);
557
		seterror(tx, e);