Re: HZ question

From: Valdis . Kletnieks
Date: Thu Sep 15 2005 - 15:20:36 EST


On Thu, 15 Sep 2005 09:16:25 PDT, Joe Bob Spamtest said:
> Lee Revell wrote:
> > On Wed, 2005-09-14 at 12:00 +0800, Coywolf Qi Hunt wrote:
> >
> >>simply zgrep HZ= /proc/config.gz
> >>on my box, I get CONFIG_HZ=1000
> >
> >
> > Many distros inexplicably disable that by default.
>
> Their rationale is that knowing the kernel .config is a security threat.

At least in Fedora, they ship a mode 644 config file in /boot:

% ls -l /boot/config-2.6.13-1.1555_FC5
61 -rw-r--r-- 1 root root 60135 Sep 14 15:55 /boot/config-2.6.13-1.1555_FC5

No need to include that in the kernel if it's right there on disk. Even Fedora
doesn't believe in *that* much bloat. ;)

Attachment: pgp00000.pgp
Description: PGP signature