public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/nsz/pacbti-v5] aarch64: add NEWS entry about branch protection support
@ 2020-06-22 13:45 Szabolcs Nagy
  0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2020-06-22 13:45 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bf6dffdb8ad5dcd2fb30fa5e479b76e135a98a56

commit bf6dffdb8ad5dcd2fb30fa5e479b76e135a98a56
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Jun 11 18:19:40 2020 +0100

    aarch64: add NEWS entry about branch protection support
    
    This is a new security feature that relies on architecture
    extensions and needs glibc to be built with a gcc configured
    with branch protection.

Diff:
---
 NEWS | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/NEWS b/NEWS
index a660fc59a8..7d0ca3f520 100644
--- a/NEWS
+++ b/NEWS
@@ -31,6 +31,18 @@ Major new features:
   pthread_attr_getsigmask_np have been added.  They allow applications
   to specify the signal mask of a thread created with pthread_create.
 
+* 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
+  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,
+  otherwise the used instructions are nops. User code can use PAC-RET
+  without libc support, but BTI requires a libc that is built with BTI
+  support, otherwise runtime objects linked into user code will not be
+  BTI compatible. It is recommended to use GCC 10 or newer when
+  building glibc with branch protection.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * The deprecated <sys/sysctl.h> header and the sysctl function have been


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

* [glibc/nsz/pacbti-v5] aarch64: add NEWS entry about branch protection support
@ 2020-06-22 14:21 Szabolcs Nagy
  0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2020-06-22 14:21 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3a5c93ce5ccdc70160e5117feab82f6b29179d89

commit 3a5c93ce5ccdc70160e5117feab82f6b29179d89
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Jun 11 18:19:40 2020 +0100

    aarch64: add NEWS entry about branch protection support
    
    This is a new security feature that relies on architecture
    extensions and needs glibc to be built with a gcc configured
    with branch protection.

Diff:
---
 NEWS | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/NEWS b/NEWS
index a660fc59a8..7d0ca3f520 100644
--- a/NEWS
+++ b/NEWS
@@ -31,6 +31,18 @@ Major new features:
   pthread_attr_getsigmask_np have been added.  They allow applications
   to specify the signal mask of a thread created with pthread_create.
 
+* 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
+  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,
+  otherwise the used instructions are nops. User code can use PAC-RET
+  without libc support, but BTI requires a libc that is built with BTI
+  support, otherwise runtime objects linked into user code will not be
+  BTI compatible. It is recommended to use GCC 10 or newer when
+  building glibc with branch protection.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * The deprecated <sys/sysctl.h> header and the sysctl function have been


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

* [glibc/nsz/pacbti-v5] aarch64: add NEWS entry about branch protection support
@ 2020-06-22 14:20 Szabolcs Nagy
  0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2020-06-22 14:20 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=29596b1260edfb8cad7e865e939e2ab1b64e5851

commit 29596b1260edfb8cad7e865e939e2ab1b64e5851
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Jun 11 18:19:40 2020 +0100

    aarch64: add NEWS entry about branch protection support
    
    This is a new security feature that relies on architecture
    extensions and needs glibc to be built with a gcc configured
    with branch protection.

Diff:
---
 NEWS | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/NEWS b/NEWS
index a660fc59a8..7d0ca3f520 100644
--- a/NEWS
+++ b/NEWS
@@ -31,6 +31,18 @@ Major new features:
   pthread_attr_getsigmask_np have been added.  They allow applications
   to specify the signal mask of a thread created with pthread_create.
 
+* 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
+  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,
+  otherwise the used instructions are nops. User code can use PAC-RET
+  without libc support, but BTI requires a libc that is built with BTI
+  support, otherwise runtime objects linked into user code will not be
+  BTI compatible. It is recommended to use GCC 10 or newer when
+  building glibc with branch protection.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * The deprecated <sys/sysctl.h> header and the sysctl function have been


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

* [glibc/nsz/pacbti-v5] aarch64: add NEWS entry about branch protection support
@ 2020-06-22 13:54 Szabolcs Nagy
  0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2020-06-22 13:54 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=27ba4dcee8ae03c0634094dcea26bf1278804982

commit 27ba4dcee8ae03c0634094dcea26bf1278804982
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Thu Jun 11 18:19:40 2020 +0100

    aarch64: add NEWS entry about branch protection support
    
    This is a new security feature that relies on architecture
    extensions and needs glibc to be built with a gcc configured
    with branch protection.

Diff:
---
 NEWS | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/NEWS b/NEWS
index a660fc59a8..7d0ca3f520 100644
--- a/NEWS
+++ b/NEWS
@@ -31,6 +31,18 @@ Major new features:
   pthread_attr_getsigmask_np have been added.  They allow applications
   to specify the signal mask of a thread created with pthread_create.
 
+* 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
+  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,
+  otherwise the used instructions are nops. User code can use PAC-RET
+  without libc support, but BTI requires a libc that is built with BTI
+  support, otherwise runtime objects linked into user code will not be
+  BTI compatible. It is recommended to use GCC 10 or newer when
+  building glibc with branch protection.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * The deprecated <sys/sysctl.h> header and the sysctl function have been


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

end of thread, other threads:[~2020-06-22 14:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 13:45 [glibc/nsz/pacbti-v5] aarch64: add NEWS entry about branch protection support Szabolcs Nagy
2020-06-22 13:54 Szabolcs Nagy
2020-06-22 14:20 Szabolcs Nagy
2020-06-22 14:21 Szabolcs Nagy

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).