Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 61128 Details for
Bug 76082
(toolchain) genkernel-3.1.0d doesn't compile udev-039 on hardened
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for udev-054.tar.bz2 in genkernel-3.1.6
ssbstub-klic-0.199-gentoo.patch (text/plain), 1.36 KB, created by
Christopher Byrne
on 2005-06-12 16:50:00 UTC
(
hide
)
Description:
Patch for udev-054.tar.bz2 in genkernel-3.1.6
Filename:
MIME Type:
Creator:
Christopher Byrne
Created:
2005-06-12 16:50:00 UTC
Size:
1.36 KB
patch
obsolete
>diff -uNr udev-054.orig/klibc/klibc/Makefile udev-054/klibc/klibc/Makefile >--- udev-054.orig/klibc/klibc/Makefile 2005-02-25 21:18:21.000000000 -0600 >+++ udev-054/klibc/klibc/Makefile 2005-06-12 17:43:08.000000000 -0500 >@@ -46,7 +46,7 @@ > lrand48.o jrand48.o mrand48.o nrand48.o srand48.o seed48.o \ > inet/inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \ > inet/inet_ntop.o inet/inet_pton.o inet/bindresvport.o \ >- send.o recv.o >+ send.o recv.o ssp.o > ifeq ($(ERRLIST),1) > LIBOBJS += errlist.o > endif >diff -uNr udev-054.orig/klibc/klibc/ssp.c udev-054/klibc/klibc/ssp.c >--- udev-054.orig/klibc/klibc/ssp.c 1969-12-31 18:00:00.000000000 -0600 >+++ udev-054/klibc/klibc/ssp.c 2005-06-12 17:44:08.000000000 -0500 >@@ -0,0 +1,15 @@ >+#include <syslog.h> >+#include <stdlib.h> >+#include <sys/param.h> >+ >+unsigned long __guard = 0UL; static void __guard_setup(void) __attribute__ ((constructor)); >+void __stack_smash_handler(char func[], int damaged __attribute__ ((unused))); >+static void __guard_setup(void) { if (__guard != 0UL) return; __guard = 0xFF0A0D00UL; } >+ >+void __stack_smash_handler(char func[], int damaged) { >+ syslog(LOG_CRIT, "stack overflow in function %s(); %s=%p __guard_setup=%p __guard=%p " \ >+ "PPID=%d PID=%d UID=%d EUID=%d GID=%d EGID=%d", >+ func, func, __guard_setup, __guard, >+ getppid(), getpid(), getuid(), geteuid(), getgid(), getegid()); >+ _exit(127); >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 76082
:
47166
|
50177
|
50280
| 61128