blob: 8b479faedaeedbe83d378306d386a0a88493b282 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From: Kees Cook <kees@debian.org>
2Subject: put stack markings in i386 assembly to avoid executable stack
3Bug-Debian: http://bugs.debian.org/528280
4X-Debian-version: 3.0-2
5
6--- a/crc_i386.S
7+++ b/crc_i386.S
8@@ -302,3 +302,5 @@ _crc32: /* ulg c
9 #endif /* i386 || _i386 || _I386 || __i386 */
10
11 #endif /* !USE_ZLIB && !CRC_TABLE_ONLY */
12+.section .note.GNU-stack, "", @progbits
13+.previous
14--- a/match.S
15+++ b/match.S
16@@ -405,3 +405,5 @@ L__return:
17 #endif /* i386 || _I386 || _i386 || __i386 */
18
19 #endif /* !USE_ZLIB */
20+.section .note.GNU-stack, "", @progbits
21+.previous