Subject: Re: Making UFS optional
To: Theo Deraadt <deraadt@fsa.ca>
From: Dirk Steinberg <steinber@schoenfix.ert.rwth-aachen.de>
List: tech-kern
Date: 03/05/1994 12:58:52
>>>>> "Theo" == Theo Deraadt <deraadt@fsa.ca> writes:

    Theo> Actually, I want to tell everyone and remind Chris of a
    Theo> problem we ran into with libkern.

    Theo> Chris wrote an LKM which he loaded into the kernel. It
    Theo> needed strncpy, but strncpy is in libkern. Hence strncpy
    Theo> wasn't there, and the LKM load failed.

    Theo> This points out a rather silly problem with having these
    Theo> functions be in libkern.. any thoughts from anyone?

If random LKMs rely on functions in libkern, that implies that all of
libkern must be in the kernel regardless of the particular
configuration. Since linkern is relatively small right now, this
should be no major loss. This could be achieved by doing 
"ld -r -o libkern.o *.o; ar rcv libkern.a libkern.o" instead of
"ar rcv libkern.a *.o".

	Dirk

-----------------------------------------------------------------------------
Dirk W. Steinberg - RWTH Aachen - Internet email: steinber@ert.rwth-aachen.de
Aachen University of Technology / IS2-Integrated Systems in Signal Processing
Rhein.Westf.Tech.Hochsch. Aachen / Integrierte Systeme der Signalverarbeitung
Templergraben 55 / D-52056 Aachen / phone:+49 241 807879 / fax:+49 241 807631
Home address: Kleikstr. 63, D-52134 Herzogenrath,Germany/phone: +49 2406 7225

------------------------------------------------------------------------------