![]() | |||||||||||||
Messages in this thread |
Gabor Gombas <gombasg@sztaki.hu> writes: > On Fri, Oct 06, 2006 at 01:05:14PM -0600, Eric W. Biederman wrote: > >> That code if it gets -ENOSYS reads /proc/sys/kernel/version, >> and it has worked this way since the day it was written. > > What happens if /proc is not mounted (e.g. in a chrooted environment)? glibc decides we aren't a SMP system so it's mutex locks don't busy wait, and go to sleep immediately. Eric - 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/ | ||||||||||||
| Last update: 2006-10-07 22:33 [from the cache] ©2003-2008 | |||||||||||||