lkml.org 
[lkml]   [1998]   [Oct]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux 2.1.125 doesn't dump core on SIGSEGV
DateWed, 21 Oct 1998 01:18:09 +0100
FromDavid Woodhouse <>
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2008