[uClibc-cvs] CVS uClibc/libc/sysdeps/linux/common

CVS User solar solar at codepoet.org
Thu Nov 11 03:13:37 UTC 2004


Update of /var/cvs/uClibc/libc/sysdeps/linux/common
In directory nail:/tmp/cvs-serv7862

Modified Files:
	ssp.c 
Log Message:
misc cleanups of __stack_smash_handler() function when ssp support is enabled. syslog() support should now work both inside and outside of chroots. erandom code left in but remains #ifdef out by default. May remove erandom completely in the future for uClibc unless the LFS guys and gals want to keep it.

--- /var/cvs/uClibc/libc/sysdeps/linux/common/ssp.c	2004/11/11 03:12:37	1.3
+++ /var/cvs/uClibc/libc/sysdeps/linux/common/ssp.c	2004/11/11 03:13:36	1.4
@@ -1,6 +1,6 @@
 /*
  * Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvs/uClibc/libc/sysdeps/linux/common/ssp.c,v 1.3 2004/11/11 03:12:37 solar Exp $
+ * $Header: /var/cvs/uClibc/libc/sysdeps/linux/common/ssp.c,v 1.4 2004/11/11 03:13:36 solar Exp $
  *
  * This is a modified version of Hiroaki Etoh's stack smashing routines
  * implemented for glibc.
@@ -108,7 +108,7 @@
 
 	/* print error message to stderr and syslog */
 	fprintf(stderr, "%s%s%s()\n", __progname, message, func);
-	syslog(KERN_INFO, "%s%s%s()", __progname, message, func);
+	syslog(LOG_INFO, "%s%s%s()", __progname, message, func);
 
 	/* Make sure the default handler is associated with the our signal handler */
 	memset(&sa, 0, sizeof(struct sigaction));



More information about the uClibc-cvs mailing list