lkml.org 
[lkml]   [1998]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PATCH: smart symlink loop detection.
Date
> > Are there path-length limits elsewhere in the kernel?
>
> Yes. A PAGE_SIZE is the maximum size of any path (and that includes the
> ending '\0'). This shows in many places, like "get_name()" and
> "sys_getcwd()", and it is acceptable to consider this a real limit.

This has a peculiar property in enabling 8K and 32K page machines to create
an ext2fs other systems cannot read 8)

> We need the limit anyway, to make our stack size limited.

Indeed but would min(4096, PAGESIZE) be better ?

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.729 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site