Re: kbuild 2.5 is ready for inclusion in the 2.5 kernel

Martin Dalecki
2002-05-02T17:56:12Z

Uz.ytkownik Arjan van de Ven napisa?:

>
>>It just DOES NOT BELONG in to the kernel-space.
>
>
> That's why it's done by modutils.
>

Last time I checked on Linux:

[root@kozaczek j2me]# ls -l /proc/ksyms
-r--r--r-- 1 root root 0 Mai 2 19:42 /proc/ksyms

Compare this with the following on Solaris:

www01:/kernel/drv# ls sy sy.conf
sy sy.conf
www01:/kernel/drv# file sy
sy: ELF 32-bit MSB relocatable SPARC Version 1
www01:/kernel/drv# cat sy.conf
#
# Copyright (c) 1992, by Sun Microsystems, Inc.
#
#ident "@(#)sy.conf 1.4 93/06/03 SMI"

name="sy" parent="pseudo" instance=0;
www01:/kernel/drv#
www01:/kernel/drv# nm sy
0000000000000014 T _fini
0000000000000028 T _info
0000000000000000 T _init
U cdev_ioctl
U cdev_poll
U cdev_read
U cdev_write
....
0000000000000278 T syclose
0000000000000488 T syioctl
0000000000000140 T syopen
00000000000005b0 T sypoll
0000000000000280 T syread
0000000000000384 T sywrite
www01:/kernel/drv# strings sy
Indirect driver for tty 'sy'
www01:/kernel/drv#

And then think about the fact that they are able to even *patch*
running kernels. There is no way I can be convinced that the whole
versioning stuff is neccessary or a good design for any purpose.