Re: [PATCH] More user-space path handling cleanups

From: Alexander Viro (viro@math.psu.edu)
Date: Fri Mar 08 2002 - 04:25:36 EST


On Fri, 8 Mar 2002, Paul Menage wrote:

>
> This patch (against 2.5.6-pre3) replaces a few instances of the
> getname()/path_lookup() combination with __user_walk(), in the same vein
> as some of the changes accompanying the path_lookup() patch that was
> included in 2.5.6-pre3.

Broken. __user_walk() frees the temporary name it had created, leaving
nd->last.name pointing nowhere (BTW, that's how I fucked up in the first
version of patch that went into -pre3).

-
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/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:07 EST