On Tue, Jun 07, 2011 at 07:00:24PM -0700, Linus Torvalds wrote: > That said, that commit (it's commit ID 4095b99c09e3d in tglx's tree) > predates the "real" BK history too: it's part of the (limited) 2.4.x > history that was imported from the release patches into BK at the > beginning of the use of BK. So at that point we didn't do indivual > commits, it's just the import of the v2.4.3.7 -> v2.4.3.8 patch. > > But yeah, it's old and crufty. And I agree that usually the correct > fix is to remove the set_fs() calls entirely.
I think these days its job is done by start_thread(), which is where we switch to USER_DS; it's called by ->load_binary() when it decides it's past the point of no return. However, it would be a good idea to verify that all architectures do it there properly and we are not exposing a hole by removal of this set_fs()... _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
