Re: [PATCH 22/29] sysctl: Stop requiring explicit management of sysctl directories

From: Eric W. Biederman
Date: Mon Jan 30 2012 - 23:42:23 EST


Lucian Adrian Grijincu <lucian.grijincu@xxxxxxxxx> writes:

>
> Why do you only check the given @set after creating the new dir. Why
> not the parent dir too?

That is a race and a minor bug. Somehow I had convinced myself that
either it didn't matter or that it would be hard to deal with, but
that doesn't hold up. Oops. Thankfully the final version using links
does not have this race/bug.

Eric

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/