[lkml]   [2001]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Something broken in sys_swapon

On Sun, 4 Nov 2001, Mike Black wrote:

> I think I see a potential problem (I'm looking at 2.4.10) in fs/namei.c.
> If path_init() returns 0 in __user_walk() then err is not set to anything
> (it defaults to 0)

path_init() returns 0 only if you are in altroot situation (running with
personality that has its own /usr/gnuemul/<...>/) _and_ it had succeeded
doing lookup from the altroot. Otherwise it returns non-zero and lets
path_walk() do the right thing.

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:12    [W:0.046 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site