Re: Filesystem question...

1999-08-16 Thread Ronald G. Minnich
On Mon, 16 Aug 1999, Mike Smith wrote: > > But I can't get anyone interested :-( > Uh, we're all interested; where's the code? v9fs is the first piece. The servers are done. But I'm mostly out of the freebsd hacking business at this point (except for maybe via drivers) so I need some help to get

Re: Filesystem question...

1999-08-16 Thread Mike Smith
> > On Mon, 16 Aug 1999, Terry Lambert wrote: > > The concept of private namespaces does not exist on FreeBSD. > > It would require a modification of the lookup mechanism, and, > > potentially, a seperation of credentials from the process into > > a session manager. > > Yeah but you can fake it p

Re: Filesystem question...

1999-08-16 Thread Ronald G. Minnich
On Mon, 16 Aug 1999, Terry Lambert wrote: > The concept of private namespaces does not exist on FreeBSD. > It would require a modification of the lookup mechanism, and, > potentially, a seperation of credentials from the process into > a session manager. Yeah but you can fake it pretty well witho

Re: Filesystem question...

1999-08-16 Thread Ronald G. Minnich
On Mon, 16 Aug 1999, Mike Smith wrote: > > But I can't get anyone interested :-( > Uh, we're all interested; where's the code? v9fs is the first piece. The servers are done. But I'm mostly out of the freebsd hacking business at this point (except for maybe via drivers) so I need some help to ge

Re: Filesystem question...

1999-08-16 Thread Mike Smith
> > On Mon, 16 Aug 1999, Terry Lambert wrote: > > The concept of private namespaces does not exist on FreeBSD. > > It would require a modification of the lookup mechanism, and, > > potentially, a seperation of credentials from the process into > > a session manager. > > Yeah but you can fake it

Re: Filesystem question...

1999-08-16 Thread Ronald G. Minnich
On Mon, 16 Aug 1999, Terry Lambert wrote: > The concept of private namespaces does not exist on FreeBSD. > It would require a modification of the lookup mechanism, and, > potentially, a seperation of credentials from the process into > a session manager. Yeah but you can fake it pretty well with

Re: Filesystem question...

1999-08-16 Thread Christian Kuhtz
On Mon, Aug 16, 1999 at 08:22:02PM +, Terry Lambert wrote: > This is actually the problem at issue in an SMBFS implementation, > and for which the Linux guys punted: the credential in SMB is > per connection, not per user. Per connection creds suck performance wise (=I haven't seen an implemen

Re: Filesystem question...

1999-08-16 Thread Terry Lambert
> Actually, i'd expect far fewer problems for the private mounts than for > user mounts which modify the name space for all processes ... The concept of private namespaces does not exist on FreeBSD. It would require a modification of the lookup mechanism, and, potentially, a seperation of credent

Re: Filesystem question...

1999-08-16 Thread Christian Kuhtz
On Mon, Aug 16, 1999 at 08:22:02PM +, Terry Lambert wrote: > This is actually the problem at issue in an SMBFS implementation, > and for which the Linux guys punted: the credential in SMB is > per connection, not per user. Per connection creds suck performance wise (=I haven't seen an impleme

Re: Filesystem question...

1999-08-16 Thread Terry Lambert
> Actually, i'd expect far fewer problems for the private mounts than for > user mounts which modify the name space for all processes ... The concept of private namespaces does not exist on FreeBSD. It would require a modification of the lookup mechanism, and, potentially, a seperation of creden

Re: Filesystem question...

1999-07-26 Thread Ronald G. Minnich
On Sun, 25 Jul 1999, Brian F. Feldman wrote: > On Sun, 25 Jul 1999, Mark Newton wrote: > > > Ronald G. Minnich wrote: > > > But thanks for the note. I just now realized that if I add a private name > > > space to v9fs (which is easy), and then turn on user mounts, user > > > processes can ha

Re: Filesystem question...

1999-07-26 Thread Ronald G. Minnich
On Sun, 25 Jul 1999, Mark Newton wrote: > "Appropriate access" includes the idea that you need to own the mountpoint > directory. If you have a system that's so badly run that arbitrary users > own /tmp, then I'd say user mounts are the least of your problems :-) True. But the fact is, if I can

Re: Filesystem question...

1999-07-26 Thread Ronald G. Minnich
On Sat, 24 Jul 1999, Oliver Fromme wrote: > Ronald G. Minnich wrote in list.freebsd-hackers: > > Or, let's say I don't have "appropriate access" to /tmp. Pick some other > > place. I mount my file system there for my files. Now everyone who wants > > can look for these user mounts and walk th

Re: Filesystem question...

1999-07-26 Thread Ronald G. Minnich
On Sun, 25 Jul 1999, Brian F. Feldman wrote: > On Sun, 25 Jul 1999, Mark Newton wrote: > > > Ronald G. Minnich wrote: > > > But thanks for the note. I just now realized that if I add a private name > > > space to v9fs (which is easy), and then turn on user mounts, user > > > processes can h

Re: Filesystem question...

1999-07-26 Thread Ronald G. Minnich
On Sun, 25 Jul 1999, Mark Newton wrote: > "Appropriate access" includes the idea that you need to own the mountpoint > directory. If you have a system that's so badly run that arbitrary users > own /tmp, then I'd say user mounts are the least of your problems :-) True. But the fact is, if I ca

Re: Filesystem question...

1999-07-26 Thread Ronald G. Minnich
On Sat, 24 Jul 1999, Oliver Fromme wrote: > Ronald G. Minnich wrote in list.freebsd-hackers: > > Or, let's say I don't have "appropriate access" to /tmp. Pick some other > > place. I mount my file system there for my files. Now everyone who wants > > can look for these user mounts and walk t

Re: Filesystem question...

1999-07-24 Thread Daniel C. Sobral
Mark Newton wrote: > > > But thanks for the note. I just now realized that if I add a private name > > space to v9fs (which is easy), and then turn on user mounts, user > > processes can have private name spaces on freebsd! > > I can't wait to see the security problems that causes when setuid

Re: Filesystem question...

1999-07-24 Thread Brian F. Feldman
On Sun, 25 Jul 1999, Mark Newton wrote: > Ronald G. Minnich wrote: > > > > But thanks for the note. I just now realized that if I add a private name > > space to v9fs (which is easy), and then turn on user mounts, user > > processes can have private name spaces on freebsd! > > I can't wait t

Re: Filesystem question...

1999-07-24 Thread Daniel C. Sobral
Mark Newton wrote: > > > But thanks for the note. I just now realized that if I add a private name > > space to v9fs (which is easy), and then turn on user mounts, user > > processes can have private name spaces on freebsd! > > I can't wait to see the security problems that causes when setuid

Re: Filesystem question...

1999-07-24 Thread Brian F. Feldman
On Sun, 25 Jul 1999, Mark Newton wrote: > Ronald G. Minnich wrote: > > > > But thanks for the note. I just now realized that if I add a private name > > space to v9fs (which is easy), and then turn on user mounts, user > > processes can have private name spaces on freebsd! > > I can't wait

Re: Filesystem question...

1999-07-24 Thread Mark Newton
Ronald G. Minnich wrote: > On Fri, 23 Jul 1999, Kris Kennaway wrote: > > On Thu, 22 Jul 1999, Ronald G. Minnich wrote: > > > Are you saying that as an ordinary user I can mount something on top of > > > /tmp, for example? > > If the vfs.usermount sysctl is 1, and you have appropriate access t

Re: Filesystem question...

1999-07-24 Thread Mark Newton
Ronald G. Minnich wrote: > On Fri, 23 Jul 1999, Kris Kennaway wrote: > > On Thu, 22 Jul 1999, Ronald G. Minnich wrote: > > > Are you saying that as an ordinary user I can mount something on top of > > > /tmp, for example? > > If the vfs.usermount sysctl is 1, and you have appropriate access

Re: Filesystem question...

1999-07-24 Thread Oliver Fromme
Ronald G. Minnich wrote in list.freebsd-hackers: > On Fri, 23 Jul 1999, Kris Kennaway wrote: > > On Thu, 22 Jul 1999, Ronald G. Minnich wrote: > > > Are you saying that as an ordinary user I can mount something on top of > > > /tmp, for example? > > If the vfs.usermount sysctl is 1, and you ha

Re: Filesystem question...

1999-07-24 Thread Oliver Fromme
Ronald G. Minnich wrote in list.freebsd-hackers: > On Fri, 23 Jul 1999, Kris Kennaway wrote: > > On Thu, 22 Jul 1999, Ronald G. Minnich wrote: > > > Are you saying that as an ordinary user I can mount something on top of > > > /tmp, for example? > > If the vfs.usermount sysctl is 1, and you h

Re: Filesystem question...

1999-07-23 Thread Ronald G. Minnich
On Fri, 23 Jul 1999, Kris Kennaway wrote: > On Thu, 22 Jul 1999, Ronald G. Minnich wrote: > > Are you saying that as an ordinary user I can mount something on top of > > /tmp, for example? > If the vfs.usermount sysctl is 1, and you have appropriate access to the > thing you're trying to mount (

Re: Filesystem question...

1999-07-23 Thread Ronald G. Minnich
On Fri, 23 Jul 1999, Kris Kennaway wrote: > On Thu, 22 Jul 1999, Ronald G. Minnich wrote: > > Are you saying that as an ordinary user I can mount something on top of > > /tmp, for example? > If the vfs.usermount sysctl is 1, and you have appropriate access to the > thing you're trying to mount

Re: Filesystem question...

1999-07-22 Thread Kris Kennaway
On Thu, 22 Jul 1999, Ronald G. Minnich wrote: > On Fri, 23 Jul 1999, Kris Kennaway wrote: > > Well, if you're running it as a kernel module then obviously you need root > > permissions to load it. If it's running as a userland process, then > > there's no reason why you can't run it as a user. mou

Re: Filesystem question...

1999-07-22 Thread Kris Kennaway
On Thu, 22 Jul 1999, Ronald G. Minnich wrote: > On Fri, 23 Jul 1999, Kris Kennaway wrote: > > Well, if you're running it as a kernel module then obviously you need root > > permissions to load it. If it's running as a userland process, then > > there's no reason why you can't run it as a user. mo

Re: Filesystem question...

1999-07-22 Thread Kris Kennaway
On Thu, 22 Jul 1999, Tiny Non Cats wrote: > On Thu, Jul 22, 1999 at 10:06:04AM -0400 David E. Cross said: > > Since I am planning on writing userfs in order to impliment 'nsd' (and > > > This may be completely useless, because I've not been following what you want > to do with 'nsd', but you may f

Re: Filesystem question...

1999-07-22 Thread Ronald G. Minnich
On Fri, 23 Jul 1999, Kris Kennaway wrote: > Well, if you're running it as a kernel module then obviously you need root > permissions to load it. If it's running as a userland process, then > there's no reason why you can't run it as a user. mount presumably > wouldn't care as long as you had acces

Re: Filesystem question...

1999-07-22 Thread Kris Kennaway
On Thu, 22 Jul 1999, Ronald G. Minnich wrote: > what if you're not root, and you want to add your own file system to your > file system name space? It seems a lot of these systems assume root > access, which seems unrealistic to me. Well, if you're running it as a kernel module then obviously you

Re: Filesystem question...

1999-07-22 Thread Ronald G. Minnich
what if you're not root, and you want to add your own file system to your file system name space? It seems a lot of these systems assume root access, which seems unrealistic to me. ron To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the mess

Re: Filesystem question...

1999-07-22 Thread Kris Kennaway
On Thu, 22 Jul 1999, Tiny Non Cats wrote: > On Thu, Jul 22, 1999 at 10:06:04AM -0400 David E. Cross said: > > Since I am planning on writing userfs in order to impliment 'nsd' (and > > > This may be completely useless, because I've not been following what you want > to do with 'nsd', but you may

Re: Filesystem question...

1999-07-22 Thread Ronald G. Minnich
On Fri, 23 Jul 1999, Kris Kennaway wrote: > Well, if you're running it as a kernel module then obviously you need root > permissions to load it. If it's running as a userland process, then > there's no reason why you can't run it as a user. mount presumably > wouldn't care as long as you had acce

Re: Filesystem question...

1999-07-22 Thread Kris Kennaway
On Thu, 22 Jul 1999, Ronald G. Minnich wrote: > what if you're not root, and you want to add your own file system to your > file system name space? It seems a lot of these systems assume root > access, which seems unrealistic to me. Well, if you're running it as a kernel module then obviously yo

Re: Filesystem question...

1999-07-22 Thread Ronald G. Minnich
what if you're not root, and you want to add your own file system to your file system name space? It seems a lot of these systems assume root access, which seems unrealistic to me. ron To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Filesystem question...

1999-07-22 Thread Ronald G. Minnich
One last thing: if you're writing userfs you might want to look at www.inter-mezzo.org ron To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message

Re: Filesystem question...

1999-07-22 Thread Ronald G. Minnich
One last thing: if you're writing userfs you might want to look at www.inter-mezzo.org ron To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Filesystem question...

1999-07-22 Thread Tiny Non Cats
On Thu, Jul 22, 1999 at 10:06:04AM -0400 David E. Cross said: > Since I am planning on writing userfs in order to impliment 'nsd' (and > This may be completely useless, because I've not been following what you want to do with 'nsd', but you may find http://www.cs.columbia.edu/~ezk/research/secu

Filesystem question...

1999-07-22 Thread David E. Cross
Since I am planning on writing userfs in order to impliment 'nsd' (and some other ideas I have hatching too :). I need to know how filesystem accesses work. Can they be queued up, and responded to out of order? For example... I have a request come in (via the filesystem), that request is going t

Re: Filesystem question...

1999-07-22 Thread Tiny Non Cats
On Thu, Jul 22, 1999 at 10:06:04AM -0400 David E. Cross said: > Since I am planning on writing userfs in order to impliment 'nsd' (and > This may be completely useless, because I've not been following what you want to do with 'nsd', but you may find http://www.cs.columbia.edu/~ezk/research/sec

Filesystem question...

1999-07-22 Thread David E. Cross
Since I am planning on writing userfs in order to impliment 'nsd' (and some other ideas I have hatching too :). I need to know how filesystem accesses work. Can they be queued up, and responded to out of order? For example... I have a request come in (via the filesystem), that request is going