[lkml]   [2001]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] devfs v194 available

On Tue, 9 Oct 2001, Richard Gooch wrote:

> Hi, all. Version 194 of my devfs patch is now available from:
> The devfs FAQ is also available here.
> Patch directly available from:
> ftp://ftp.??
> AND:
> This is against 2.4.11-pre6. Highlights of this release:
> - Fixed overrun in <devfs_link> by removing function (not needed)

... doesn't fix _under_run in try_modload() (see what happens if namelen is
255 and parent is devfs root)

... doesn't fix the deadlock introduced into -pre6 in place of symlink
races. That

/* Need to follow the link: this is a stack chomper */
down_read (&symlink_rwsem);
retval = curr->registered ?
search_for_entry (parent, curr->u.symlink.linkname,
curr->u.symlink.length, FALSE, FALSE, NULL,
up_read (&symlink_rwsem);

is a fairly bad idea. Think what happens if somebody else tries to
acquire symlink_rwsem for write between two calls of down_read() in
that recursion.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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