lkml.org 
[lkml]   [2006]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: max symlink = 5? ?bug? ?feature deficit?
    On Sun, Feb 12, 2006 at 01:18:51PM -0800, Linda Walsh wrote:
    > Al Viro wrote:
    > >>Should it be something like Glib's '20' or '255'?
    > >>
    > > 20 or 255 - not feasible (we'll get stack overflow from hell).
    > >
    > How much stack is used/iteration? It appears we have a local pointer in
    > __do_follow_link, and 2 passed parameters/call + call-returns ->5
    > pointers/iteration. "Forty" entries would seem to take 200 pointers or
    > 800 bytes of stack space? A limit of 20 would use 400 bytes?

    Care to RTFS? I mean, really - at least to the point of seeing what's
    involved in that recursion.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-02-12 22:27    [W:8.638 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site