propolice patches [was propolice testsuite]

Robert Connolly robert at linuxfromscratch.org
Sat Nov 20 23:12:07 PST 2004


I am also very very curious what this:
/*
 * Stack protector dummies.
 * Ideally, a scheme to compile these stubs from libc should be used, but
 * this would end up dragging too much code from libc here.
 */
long __guard[8] = {0, 0, 0, 0, 0, 0, 0, 0};
void
__stack_smash_handler(char func[], int damaged)
{
 _exit(127);
}

is doing in here:
http://www.openbsd.org/cgi-bin/cvsweb/src/gnu/usr.bin/ld/rtld/rtld.c

It doesn't have enough code to be expected to be used, there's no logging or 
randomizing routines. This is from binutils-2.15...



More information about the hlfs-dev mailing list