Subject: Re: coredump following symlinks (3)
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 08/31/1999 11:07:21
On Mon, Aug 30, 1999 at 04:36:01PM -0700, Bill Studenmund wrote:
> On Fri, 27 Aug 1999, Manuel Bouyer wrote:
> 
> > Ok, so there was a potential problem in my previous patch, as pointed
> > out by Bill Sommerfeld, and there are folks (including me :) who would just
> > prefer to not core dump at all on symlinks.
> > Here is a patch which should be correct. It's strait from OpenBSD.
> > It should be easy to adapt to 'don't follow symlink it not the rigth user'
> > I think. I don't know if there is some use for FNOSYMLINK elsewhere.
> 
> Note that you've defined FNOSYMLINK with a value already in-use by FDSYNC.
> The first unused flag at present is 0x00080000.

Ooops ! Thanks, I'll correct this.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--