git: ae507c25de5a - main - amd64 libc: add missed GNU-stack annotation to memmove/memcpy
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Nov 2022 13:32:04 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=ae507c25de5ab327fca6578d2bd015aa4792b20d
commit ae507c25de5ab327fca6578d2bd015aa4792b20d
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-11-18 02:24:34 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-11-18 13:31:38 +0000
amd64 libc: add missed GNU-stack annotation to memmove/memcpy
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
---
lib/libc/amd64/string/memmove.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/libc/amd64/string/memmove.S b/lib/libc/amd64/string/memmove.S
index ea92cb18782a..bd074e233511 100644
--- a/lib/libc/amd64/string/memmove.S
+++ b/lib/libc/amd64/string/memmove.S
@@ -306,3 +306,5 @@ ENTRY(memcpy)
MEMMOVE erms=0 overlap=1 begin=MEMMOVE_BEGIN end=MEMMOVE_END
END(memcpy)
#endif
+
+ .section .note.GNU-stack,"",%progbits