KALLSYMS_ALL=y in Ubuntu

Giannis Kozyrakis trv at freemail.gr
Wed Nov 19 08:16:08 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I don't know if it's the right place to ask here on this list, but it
seems most appropriate.

I am researching about exported symbols in major distribution,
security-wise, and I've noticed something strange along my research.

Ubuntu is the only major distribution that the KALLSYMS_ALL option is
set in the kernel configuration. (At least the Desktop version that I've
tested)

In Redhat, CentOS, Fedora, and even Debian, this is not set.
In vanilla kernels, it is in no way a default option.

I was looking into the sys_call_table symbol when I noticed it.

In Ubuntu you can acquire it's address doing a
'cat /proc/kallsyms | grep sys_call_table'.
In all other distros this returns nothing, in ubuntu it returns the sumbol.

My question is this:

Does this config option really needs to be enabled by default?
Is it used somewhere? Is there a reason for this?


Regards,

Giannis K.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkjy0cACgkQusj5FmsVhId3dwCcCuxMW7e0HB2zvxD9dSwgws2a
q1kAnAnXtmMjI2KFUFUQnzwnzatuf/ZZ
=M/Cs
-----END PGP SIGNATURE-----




More information about the kernel-team mailing list