]> git.pld-linux.org Git - packages/glibc.git/blame - glibc-dl-execstack.patch
- added dirs for dz,km,mg messages
[packages/glibc.git] / glibc-dl-execstack.patch
CommitLineData
54920136
AM
1--- glibc/sysdeps/unix/sysv/linux/dl-execstack.c.gotom 2005-08-18 20:55:21.000000000 +0900
2+++ glibc/sysdeps/unix/sysv/linux/dl-execstack.c 2005-08-19 15:50:59.051597872 +0900
3@@ -84,7 +84,8 @@
4 page -= size;
5 else
6 {
7- if (errno != ENOMEM) /* Unexpected failure mode. */
8+ /* Unexpected failure mode. */
9+ if (errno != ENOMEM && errno != EFAULT)
10 return errno;
11
12 if (size == GLRO(dl_pagesize))
13@@ -107,7 +108,8 @@
14 page += size;
15 else
16 {
17- if (errno != ENOMEM) /* Unexpected failure mode. */
18+ /* Unexpected failure mode. */
19+ if (errno != ENOMEM && errno != EFAULT)
20 return errno;
21
22 if (size == GLRO(dl_pagesize))
This page took 0.050909 seconds and 4 git commands to generate.