Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2008 20:24:15 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Jeremy Chadwick <koitsu@freebsd.org>, charlie@cpsoftware.com
Subject:   Re: Installing Samba : FreeBSD Vs Linux ?
Message-ID:  <200810172024.16320.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <20081017165519.GA26298@icarus.home.lan>
References:  <48F8A258.2060407@esiee.fr> <1960fb140810170913s237f7295jd5e192f1745c9dcb@mail.gmail.com> <20081017165519.GA26298@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 17 October 2008 18:55:19 Jeremy Chadwick wrote:
> On Fri, Oct 17, 2008 at 05:13:45PM +0100, Charles Mason wrote:
> > From what I have seen, both are perfectly capable and since its samba
> > that will be doing most of the actual work its probably doesn't matter
> > that much. Of course the next question if he goes with Linux, is which
> > distro. Perhaps the question should be FreeBSD v Red Hat v Ubuntu v
> > SUSE v latest flavour of the month. Since keeping it patched is
> > essential, these sorts of admin features do matter.
>
> And did this bug ever get addressed?  If so, when/what commit?
>
> http://www.vnode.ch/fixing_seekdir

lib/libc/gen/readdir.c
----------------------------
revision 1.15
date: 2008/05/05 14:05:23;  author: kib;  state: Exp;  lines: +7 -6
Do not read away the target directory entry when encountering deleted
files after a seekdir().

The seekdir shall set the position for the next readdir operation.
When the _readdir_unlocked() encounters deleted entry, dd_loc is
already advanced. Continuing the loop leads to premature read of
the target entry.

Submitted by:   Marc Balmer <mbalmer at openbsd org>
Obtained from:  OpenBSD
MFC after:      2 weeks
----------------------------

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810172024.16320.fbsd.questions>