Red Hat Bugzilla – Bug 104114
memccpy has readahead issues on IA64
Last modified: 2007-11-30 17:06:58 EST
Description of problem:
memccpy can get segfaults during readahead on unmapped files.
Changes have been accepted into CVS today.
RCS file: /cvs/glibc/libc/ChangeLog,v
retrieving revision 1.7916
retrieving revision 1.7917
diff -u -r1.7916 -r1.7917
--- libc/ChangeLog 2003/09/09 20:10:35 1.7916
+++ libc/ChangeLog 2003/09/09 20:18:53 1.7917
@@ -1,3 +1,20 @@
+2003-09-09 Ulrich Drepper <firstname.lastname@example.org>
+ * string/stratcliff.c (main): Check memccpy.
+2003-04-11 Jes Sorensen <email@example.com>
+ * sysdeps/ia64/memccpy.S: When recovering for src_aligned and the
+ character is found during recovery, use correct register when
+ determining the position of the found character.
+2003-04-01 Jes Sorensen <firstname.lastname@example.org>
+ * sysdeps/ia64/memccpy.S: Use speculatively loads for readahead to
+ avoid segfaults when reading from unmapped pages. For aligned
+ reload and continue, for misaligned, roll back and use byte copy.
+ Save ar.ec on entry and restore on exit.
Created attachment 94357 [details]
backported from CVS to 2.3.2-63
Created attachment 94358 [details]
patch to spec file to apply memccpy patch
Adds patch and bumps release to -64