Hardened Lunar-Linux Patches and their Descriptions

From Lunar Linux
Revision as of 08:12, 13 March 2007 by Wdp (Talk | contribs)
Jump to: navigation, search

Contents

gcc 4.1.2

Status: 2

posix-1.patch - Makes GCC Posix Compliant

binutils 2.17

Status: 2

branch_update-1.patch - This is the binutils-2_17-branch (bug fix branch) update, compared from binutils-2.17-release and binutils-2_17-branch with all the fluff removed (CVS entries, maintainer files, etc). This patch should be updated periodically.
hardened_tmp-3.patch - This patch uses mkstemp(3) and mkdtemp(3) for temporary file creation, if they are available, rather than the default mktemp(3). This is safer and removes some compiler warnings.
lazy-1.patch - This adds -z lazy option, inverse of -z now.
pt_pax-1.patch - This adds PT_PAX_FLAGS to Binutils. See: http://pax.grsecurity.net/
posix-1.patch - Makes binutils Posix Compliant

coreutils 6.7

Status: 2

i18n-1.patch - This patch fixes various problems with multibyte character support.
uname-1.patch - Fix the output of uname once and for all.

glibc 2.5

Status: 2

Configure: Added --with-selinux as a query option, added the following things statically: --with-tls --enable-bind-now --enable-stackguard-randomization

blowfish.patch - This patch adds blowfish crypto to libcrypt.
branch_update-2.patch - This is a branch update for Glibc-2.5, and should be rechecked periodically. See the "Changelog" and "localedata/ChangeLog" files for specific details.
dl_execstack_PaX-1.patch - This is needed for Pax. http://pax.grsecurity.net/
hardened_tmp-1.patch - This patch instructs mktemp(1) to use temporary file directory from the '-t' option. It also makes sure temporary files get removed after exiting the scripts.
iconv_unnest-1.patch - Move nested function to a static one so we avoid generating a trampoline.
localedef_segfault-1.patch - Fixes Segfault when using localdef. This problem is only noticed when using PaX and some architectures besides x86. See debian bug # 231438
pt_pax-1.patch - This is needed for Pax. http://pax.grsecurity.net/
strlcpy_strlcat-1.patch - http://www.courtesan.com/todd/papers/strlcpy.html

Berkeley DB 4.5.20

Status: 2

fixes-1.patch - Fixes a couple of issues when trying to access databases through the Java API.

procps 3.2.7

Status: 2

hardened_cflags-2.patch - Check for gcc -fpie, -fpic, -fstack-protector, and ld -pie, -z relro, -z now. Use whatever works.

perl 5.8.8

Status: 2

regex_ssp-1.patch - The regex code in this version of Perl segfaults when compiled with stack smashing protector. This patch disables stack smashing protector just on the affected files.
libc-2.patch - this patch adapts some hard-wired paths to the C library. It uses the $prefix variable to locate the correct libc.
fPIC-1.patch - Fixes a test that checks to see which paramater needs to be used for -fPIC and forces the objects in DynaLoader to be built with -fPIC.

readline 5.2

Status: 2

readline52-001 - Patch 001 from upstream: In some cases, code that is intended to be used in the presence of multibyte characters is called when no such characters are present, leading to incorrect display position calculations and incorrect redisplay.

zlib 1.2.3

Status: 2

fPIC-1.patch - 1.) Build shared and static lib in one pass 2.) Always add -fPIC when building shared lib, don't expect the user to set it.

file 4.20

Status: 2

reg_startend-1.patch - Fixes a bug caused by an undefined constant

groff 1.19.2

Status: 2

HINT: Should be PSAFE now. So i removed PSAFE=no from the DETAILS file. See patch for more Informations.

parallel_make-1.patch - This patch fixes the dependencies in the groff Makefile so parallel builds are possible.

less 394

Status: 2

signal_fix-1.patch - This patch fixes a bug with the configure script so that 'sigset_t', and 'sigprocmask', are detected and used.

module-init-tools 3.2.2

Status: 2

modprobe-1.patch - Updates modprobe functionality to fix problem where aliases don't quite work properly
nostatic-1.patch - This patch removes the use of zlib.a, and removes insmod.static.

shadow 4.0.18.1

Status: 2

NOTICE: i had to change the build file, cause of the patch we have to run: aclocal && autoconf && autoheader.

owl_blowfish-1.patch - Use this patch with the Glibc blowfish patch (also from openwall).

sysvinit 2.86

Status: 2

owl_blowfish.patch - Use this patch with the Glibc blowfish patch (also from openwall).

bash 3.2

Status: 2

fixes-2.patch - A combined patch containing patches 001-009 from upstream.

diffutils 2.8.7

Status: 2

hardened_tmp-1.patch - This patch removes the more portable and less safe use of tmpname(3), in preference of mkstemp(3).
i18n-1.patch - Fixes treatment of whitespace in multibyte locales.

grep 2.5.1a

Status: 2

config_update-1.patch - Updates config.sub and config.guess
redhat_fixes-2.patch -
Various fixes from RedHat.
Individual patches:
 grep-2.5.1-fgrep.patch,
 grep-2.5.1-bracket.patch,
 grep-2.5-i18n.patch,
 grep-2.5.1-oi.patch,
 grep-2.5.1-manpage.patch,
 grep-2.5.1-color.patch,
 grep-2.5.1-icolor.patch,
 grep-2.5.1-egf-speedup.patch,
 grep-2.5.1-dfa-optional.patch,
 grep-2.5.1-tests.patch,
 grep-2.5.1-w.patch

sed 4.1.5

Status: 2

fixes-1.patch - This patch includes:
Redhat/Fedora - sed-4.1.5-bz185374.patch
Redhat/Fedora - sed-4.1.5-relsymlink.patch
OpenWall/Owl - sed-4.1.5-owl-warnings.diff
Gentoo - sed-4.1.5-alloca.patch

And a handfull of additional compiler warning fixes, including the addition of --enable-gcc-warnings (-Werror -Wall -Wformat -Wformat-security). Wrap fchown in assert() to deal with gcc -D_FORTIFY_SOURCE warnings (only if _FORTIFY_SOURCE is defined).

Added strlcpy(), and assert(), code if the system does not have them. This had to be put into one big patch mainly because of strlcpy().

texinfo 4.8a

Status: 2

multibyte-1.patch - Info assumes that a string width in character cells is the same as its length in bytes. This patch avoids cases when this assumption is not true.
tempfile_fix-1.patch - (CAN-2005-3011) texindex in texinfo 4.8 and earlier allows local users to overwrite arbitrary files via a symlink attack on temporary files.

util-linux 2.12r

Status: 2

PIC-1.patch - This is needed for Grsec. http://www..grsecurity.net/ Util linux doesn't build with position independence without this patch.
gcc4_fixes-1.patch - Fixes GCC4 Compile Issues
hardened_cflags-1.patch - Check for gcc -fpie, -fpic, -fstack-protector, and ld -pie, -z relro, -z now. Use whatever works.
loop_AES-3.1b.patch.gz - util-linux patch that adds support for AES and other ciphers (from eswap.txt).
mips64_fix-1.patch - Fixes compile issue under MIPS 64 bit
missing_header-1.patch - Fixes the missing delcaration of R_OK in swapon.c build
nologin-1.patch - This patch adds /sbin/nologin and 'man 8 nologin', for polite

login refusal. nologin will try to read /etc/nologin.txt to use it for a message, if /etc/nologin.txt does not exist it will use a hardcoded message. If you do not want nologin to try to read /etc/nologin.txt at all then use:

make NOLOGIN_TXT=no
Personal tools
Namespaces
Variants
Actions
Wiki Navigation
Project Sites
Toolbox