Re: [fbsd] Re: Atomic updates of NFS export lists

2006-06-13 Thread Andrey Simonenko
On Mon, Jun 12, 2006 at 06:24:24PM +0200, Jeremie Le Hen wrote: > > I've been annoyed in the past because I couldn't export two directories > from the same filesystem with different credentials [1]. > First, where does this limitation come from ? Then, is it possible to > remove this limitation w

Re: [fbsd] Re: Atomic updates of NFS export lists

2006-06-12 Thread Jeremie Le Hen
Hi Andrey, On Tue, May 16, 2006 at 12:23:10PM +0300, Andrey Simonenko wrote: > Hello again, > > I found another one security bug in mountd (from RELENG_6). > Details are described in the CHANGES file. Updated version > is available here: > > http://comsys.ntu-kpi.kiev.ua/~simon/mountd/ Thank y

Re: Atomic updates of NFS export lists

2006-05-16 Thread Andrey Simonenko
Hello again, I found another one security bug in mountd (from RELENG_6). Details are described in the CHANGES file. Updated version is available here: http://comsys.ntu-kpi.kiev.ua/~simon/mountd/ SHA256 (mountd-20060515.tar.bz2) = 46e824a168886e5c9ef4df32d8db3ab30efd050c89afa1ea5a37a31cbf7565a

Re: Atomic updates of NFS export lists

2006-05-11 Thread Andrey Simonenko
On Wed, May 10, 2006 at 04:36:24PM -0600, Scott Long wrote: > >In my environment non-atomic updates of NFS export lists are not > >acceptable. So, I decided to correct this problem. As the result > >mountd, kern/vfs_export.c were completely rewritten, mount.h, > >vfs_m

Re: Atomic updates of NFS export lists

2006-05-10 Thread Scott Long
Andrey Simonenko wrote: Greetings, In my environment non-atomic updates of NFS export lists are not acceptable. So, I decided to correct this problem. As the result mountd, kern/vfs_export.c were completely rewritten, mount.h, vfs_mount.c and nfs_srvsubs.c also got changes. For details see

Re: Atomic updates of NFS export lists

2006-04-25 Thread Andrey Simonenko
On Mon, Apr 24, 2006 at 01:56:31PM +0200, Ulrich Spoerlein wrote: > Andrey Simonenko wrote: > > [Lots of good stuff] > > Now mountd does not work if there is some error in exports file. > > I think this is correct behaviour and I'm ready to explain this. > > Hello Andrey, > > I hope these 'errors

Re: Atomic updates of NFS export lists

2006-04-25 Thread Ulrich Spoerlein
Andrey Simonenko wrote: > [Lots of good stuff] > Now mountd does not work if there is some error in exports file. > I think this is correct behaviour and I'm ready to explain this. Hello Andrey, I hope these 'errors' in the exports file only mean syntactical errors? For example, I have a /vol par

Re: Atomic updates of NFS export lists

2006-04-21 Thread Kris Kennaway
On Fri, Apr 21, 2006 at 12:56:11PM +0300, Andrey Simonenko wrote: > Greetings, > > In my environment non-atomic updates of NFS export lists are not > acceptable. So, I decided to correct this problem. As the result > mountd, kern/vfs_export.c were completely rewritten, mount.h

Atomic updates of NFS export lists

2006-04-21 Thread Andrey Simonenko
Greetings, In my environment non-atomic updates of NFS export lists are not acceptable. So, I decided to correct this problem. As the result mountd, kern/vfs_export.c were completely rewritten, mount.h, vfs_mount.c and nfs_srvsubs.c also got changes. For details see kern/9619. I changed