unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] aarch64: update NEWS about branch protection
@ 2020-07-29  8:08 Szabolcs Nagy
  2020-07-29  8:11 ` Florian Weimer via Libc-alpha
  2020-08-03 18:53 ` Carlos O'Donell via Libc-alpha
  0 siblings, 2 replies; 11+ messages in thread
From: Szabolcs Nagy @ 2020-07-29  8:08 UTC (permalink / raw)
  To: Florian Weimer, jeremy.linton, Jakub Jelinek, Jeff Law,
	Carlos O'Donell
  Cc: libc-alpha

After some discussions it seems the original news was not clear
and that it is valid to manually pass the branch protection flags
iff GCC target libs are built with them too. The main difference
between manually passing the flags and using the configure
option is that the latter also makes branch protection the
default in GCC which may not be desirable in some cases.
---
 NEWS | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 1ef4a0a7a4..0e6ad5edc4 100644
--- a/NEWS
+++ b/NEWS
@@ -70,7 +70,9 @@ Major new features:
 
 * AArch64 now supports standard branch protection security hardening
   in glibc when it is built with a GCC that is configured with
-  --enable-standard-branch-protection.  This includes branch target
+  --enable-standard-branch-protection (or if -mbranch-protection=standard
+  flag is passed when building both GCC target libraries and glibc,
+  in either case a custom GCC is needed).  This includes branch target
   identification (BTI) and pointer authentication for return addresses
   (PAC-RET).  They require armv8.5-a and armv8.3-a architecture
   extensions respectively for the protection to be effective,
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-08-03 18:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29  8:08 [PATCH] aarch64: update NEWS about branch protection Szabolcs Nagy
2020-07-29  8:11 ` Florian Weimer via Libc-alpha
2020-07-29  8:49   ` Szabolcs Nagy
2020-07-29  9:01     ` Florian Weimer via Libc-alpha
2020-07-29  9:17       ` Szabolcs Nagy
2020-07-29 10:04         ` Florian Weimer via Libc-alpha
2020-07-29 10:25           ` Szabolcs Nagy
2020-07-29 12:51         ` Florian Weimer via Libc-alpha
2020-07-31  6:58         ` Szabolcs Nagy
2020-07-31 13:22           ` Szabolcs Nagy
2020-08-03 18:53 ` Carlos O'Donell via Libc-alpha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).