|
Lines 397-402
Link Here
|
| 397 |
epatch ${FILESDIR}/2.3.1/glibc23-07-hppa-atomicity.dpatch |
397 |
epatch ${FILESDIR}/2.3.1/glibc23-07-hppa-atomicity.dpatch |
| 398 |
fi |
398 |
fi |
| 399 |
|
399 |
|
|
|
400 |
# - Borrowed from OpenWall Linux - (Jan 3 2003) <solar@gentoo> |
| 401 |
# Sanity check the forward and backward chunk pointers in the |
| 402 |
# unlink() macro used by Doug Lea's implementation of malloc(3). |
| 403 |
# If the pointers are determined to have been overwritten, the |
| 404 |
# process will be forced to terminate thereby reducing the |
| 405 |
# impact of a common class of attacks on memory overwrite |
| 406 |
# vulnerabilities present in various applications. Credit for |
| 407 |
# the idea for this countermeasure is due to Stefan Esser. |
| 408 |
|
| 409 |
cd ${S} |
| 410 |
epatch ${FILESDIR}/2.3.3/glibc-2.3.3-owl-malloc-unlink-sanity-check.diff |
| 411 |
|
| 400 |
# Fix permissions on some of the scripts |
412 |
# Fix permissions on some of the scripts |
| 401 |
chmod u+x ${S}/scripts/*.sh |
413 |
chmod u+x ${S}/scripts/*.sh |
| 402 |
} |
414 |
} |
|
Lines 585-591
Link Here
|
| 585 |
|
597 |
|
| 586 |
# Is this next line actually needed or does the makefile get it right? |
598 |
# Is this next line actually needed or does the makefile get it right? |
| 587 |
# It previously has 0755 perms which was killing things. |
599 |
# It previously has 0755 perms which was killing things. |
| 588 |
fperms 4755 /usr/lib/misc/pt_chown |
600 |
|
|
|
601 |
# fperms 4755 /usr/lib/misc/pt_chown |
| 602 |
# no known reason to keep the group/other world readable bits on this. |
| 603 |
fperms 4711 /usr/lib/misc/pt_chown |
| 589 |
|
604 |
|
| 590 |
# Currently libraries in /usr/lib/gconv do not get loaded if not |
605 |
# Currently libraries in /usr/lib/gconv do not get loaded if not |
| 591 |
# in search path ... |
606 |
# in search path ... |