lkml.org 
[lkml]   [2009]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] kernel: constructor support
Ingo Molnar wrote:
> * Peter Oberparleiter <oberpar@linux.vnet.ibm.com> wrote:
>
>> Disable constructor support for usermode Linux to prevent conflicts
>> with host glibc.
>
>> +++ linux-2.6.30-rc4/init/Kconfig
>> @@ -16,6 +16,11 @@ config DEFCONFIG_LIST
>> default "$ARCH_DEFCONFIG"
>> default "arch/$ARCH/defconfig"
>>
>> +config CONSTRUCTORS
>> + bool
>> + depends on !UML
>> + default y
>> +
>> menu "General setup"
>
> Hm, excluding UML like that is sad. Is there no better solution?

UML is excluded because in that environment constructors are called by
the host glibc, so there is no need for kernel support on UML (in fact
it would break things).

Or were you referring to the actual way the exclusion is implemented?



\
 
 \ /
  Last update: 2009-05-07 15:43    [W:0.069 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site