Subject: Re: coredump following symlinks (3) To: Manuel Bouyer <bouyer@antioche.lip6.fr> From: Charles M. Hannum <root@ihack.net> List: tech-kern Date: 08/27/1999 12:50:09
This part of the patch:
+ if ((ndp->ni_vp->v_type == VLNK) &
+ ((fmode & FNOSYMLINK) != 0)) {
should read:
+ if (ndp->ni_vp->v_type == VLNK)
You should not be able to open(2) a symlink, regardless of flag
settings.