Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2023 22:28:27 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d53f977d5285 - stable/12 - amd64 libc: add missed GNU-stack annotation to memmove/memcpy
Message-ID:  <202303222228.32MMSRnp001613@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=d53f977d5285d4f685af3dd98ae14592e6663d66

commit d53f977d5285d4f685af3dd98ae14592e6663d66
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-11-18 02:24:34 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-03-22 00:03:08 +0000

    amd64 libc: add missed GNU-stack annotation to memmove/memcpy
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    
    (cherry picked from commit ae507c25de5ab327fca6578d2bd015aa4792b20d)
---
 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 fc4baaaa4aaa..e06c0ae4c26b 100644
--- a/lib/libc/amd64/string/memmove.S
+++ b/lib/libc/amd64/string/memmove.S
@@ -300,3 +300,5 @@ ENTRY(memcpy)
 	MEMMOVE erms=0 overlap=1 begin=MEMMOVE_BEGIN end=MEMMOVE_END
 END(memcpy)
 #endif
+
+	.section .note.GNU-stack,"",%progbits



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303222228.32MMSRnp001613>