Re: Linux 2.1.125 doesn't dump core on SIGSEGV

David Woodhouse (David.Woodhouse@mvhi.com)
Wed, 21 Oct 1998 01:18:09 +0100


chris@cybernet.co.nz said:
>
> If you've done the same as I have, then it returns success upon
> opening s symlink, and then EINVAL when you try to write it.
> my later patch I just sent addresses this.

Something like...

if (dentry->d_inode && dentry->d_inode->i_op->follow_link &&
(flag & O_NOFOLLOW))
{
error = -EMLINK;
goto exit;
}

?

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/