Re: r-o bind in nfsd

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Friday, March 21, 2008 - 11:52 am

> > > And having the vfsmount available within vfs_...() functions means,

Traditionally we have syscalls, and nfsd.  Both of them want the
security checks, and I think nfsd wants the read-only mount checking
as well, but I'm not entirely sure.  Maybe we can handle that by just
making nfsd acquire a write-ref on the mount and keep it while it's
exported.

Then there's ecryptfs and unionfs, which probably need neither, but it
wouldn't hurt to do them anyway.

Still, even if there are only two callers, then moving stuff to up
doesn't make any sense.  Passing down a struct path is free for the
syscall case, it doesn't consume any stack space or extra CPU.  Do
please tell, why would that be such a bad thing?

Miklos
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
r-o bind in nfsd, Miklos Szeredi, (Fri Mar 21, 7:59 am)
Re: r-o bind in nfsd, Al Viro, (Fri Mar 21, 8:54 am)
Re: r-o bind in nfsd, Miklos Szeredi, (Fri Mar 21, 9:24 am)
Re: r-o bind in nfsd, Al Viro, (Fri Mar 21, 9:35 am)
Re: r-o bind in nfsd, Miklos Szeredi, (Fri Mar 21, 9:54 am)
Re: r-o bind in nfsd, Miklos Szeredi, (Fri Mar 21, 10:08 am)
Re: r-o bind in nfsd, Al Viro, (Fri Mar 21, 11:11 am)
Re: r-o bind in nfsd, Miklos Szeredi, (Fri Mar 21, 11:52 am)
Re: r-o bind in nfsd, Al Viro, (Fri Mar 21, 12:49 pm)
Re: r-o bind in nfsd, Miklos Szeredi, (Fri Mar 21, 1:23 pm)
Re: r-o bind in nfsd, Dave Hansen, (Fri Mar 21, 2:08 pm)
Re: r-o bind in nfsd, Miklos Szeredi, (Fri Mar 21, 2:17 pm)
Re: r-o bind in nfsd, Tetsuo Handa, (Fri Mar 21, 7:20 pm)