1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/2.9/560-syslog.patch Mon Jun 01 09:23:23 2009 +0000
1.3 @@ -0,0 +1,12 @@
1.4 +diff -durN glibc-cvs-2.9.orig/misc/syslog.c glibc-cvs-2.9/misc/syslog.c
1.5 +--- glibc-cvs-2.9.orig/misc/syslog.c 2009-06-01 10:16:50.000000000 +0200
1.6 ++++ glibc-cvs-2.9/misc/syslog.c 2009-06-01 10:17:20.000000000 +0200
1.7 +@@ -152,7 +152,7 @@
1.8 + #define INTERNALLOG LOG_ERR|LOG_CONS|LOG_PERROR|LOG_PID
1.9 + /* Check for invalid bits. */
1.10 + if (pri & ~(LOG_PRIMASK|LOG_FACMASK)) {
1.11 +- syslog(INTERNALLOG,
1.12 ++ __syslog(INTERNALLOG,
1.13 + "syslog: unknown facility/priority: %x", pri);
1.14 + pri &= LOG_PRIMASK|LOG_FACMASK;
1.15 + }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/patches/glibc/2.9/570-debug-readlink_chk-readklinkat_chk.patch Mon Jun 01 09:23:23 2009 +0000
2.3 @@ -0,0 +1,24 @@
2.4 +diff -dur glibc-cvs-2.9.orig/debug/readlink_chk.c glibc-cvs-2.9/debug/readlink_chk.c
2.5 +--- glibc-cvs-2.9.orig/debug/readlink_chk.c 2005-03-01 01:41:15.000000000 +0100
2.6 ++++ glibc-cvs-2.9/debug/readlink_chk.c 2009-06-01 10:59:37.000000000 +0200
2.7 +@@ -25,7 +25,7 @@
2.8 +
2.9 +
2.10 + ssize_t
2.11 +-__readlink_chk (const char *path, void *buf, size_t len, size_t buflen)
2.12 ++__readlink_chk (const char *path, char *buf, size_t len, size_t buflen)
2.13 + {
2.14 + if (len > buflen)
2.15 + __chk_fail ();
2.16 +diff -dur glibc-cvs-2.9.orig/debug/readlinkat_chk.c glibc-cvs-2.9/debug/readlinkat_chk.c
2.17 +--- glibc-cvs-2.9.orig/debug/readlinkat_chk.c 2006-04-24 18:56:12.000000000 +0200
2.18 ++++ glibc-cvs-2.9/debug/readlinkat_chk.c 2009-06-01 11:07:26.000000000 +0200
2.19 +@@ -21,7 +21,7 @@
2.20 +
2.21 +
2.22 + ssize_t
2.23 +-__readlinkat_chk (int fd, const char *path, void *buf, size_t len,
2.24 ++__readlinkat_chk (int fd, const char *path, char *buf, size_t len,
2.25 + size_t buflen)
2.26 + {
2.27 + if (len > buflen)