lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <46F77A85.6020202@nerdgrounds.com>
Date:	Mon, 24 Sep 2007 01:51:17 -0700
From:	Jonathan Campbell <jon@...dgrounds.com>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] Patches for tiny 386 kernels, again. Linux kernel 2.6.22.7

Sorry for the long delay, been very busy since I last posted the 386 
kernel patches back in July.
Now that I have more free time I remade the patches in a cleaner manner, 
broken down into
smaller patches, with fewer #ifdefs all over the place. most #ifdefs are 
in the include/asm-i386 headers
now.

linux-2.6.22.7-embedded-disable-rdtsc.patch:
    * Allows you to remove Pentium TSC register-based timing, which 
would never be used on
       a kernel targeting 386 and 486 boxes exclusively. Apparently 
there is already a
       CONFIG_X86_TSC out there, this patch makes it work as a means to 
disable TSC support
       entirely. Depends on CONFIG_EMBEDDED.

linux-2.6.22.7-embedded-dmi-disable-option.patch:
    * Allows you to remove DMI (Desktop Management Interface) parsing. 
Older computers do
       not have DMI structures in the BIOS, on these computers the DMI 
code is a waste of space.
       In my tests with applying this patch and disabling DMI removes 
6KB from
       arch/i386/boot/bzImage after compile. Apparently there is already 
a CONFIG_DMI out there,
       and #ifdef's in some parts to check this, so all this patch does 
is make CONFIG_DMI visible
       from "make menuconfig" while patching up other parts (like ACPI) 
that simply assume DMI
       functions are there. Depends on CONFIG_EMBEDDED.



View attachment "linux-2.6.22.7-embedded-dmi-disable-option.patch" of type "text/plain" (4340 bytes)

View attachment "linux-2.6.22.7-embedded-disable-rdtsc.patch" of type "text/plain" (8391 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ