summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormortimer <mortimer@openbsd.org>2018-04-29 02:31:11 +0000
committermortimer <mortimer@openbsd.org>2018-04-29 02:31:11 +0000
commitd973993e4504e3b14d024d44ca2c838eed57bb4b (patch)
treec3819dae7f36b23f4ca7d7777fa1225f782c4b6f
parentAdd a clang pass that identifies potential ROP gadgets and replaces ROP (diff)
downloadwireguard-openbsd-d973993e4504e3b14d024d44ca2c838eed57bb4b.tar.xz
wireguard-openbsd-d973993e4504e3b14d024d44ca2c838eed57bb4b.zip
Mention the X86FixupGadgets pass in clang-local.
ok tj@ schwarze@
-rw-r--r--share/man/man1/clang-local.19
1 files changed, 7 insertions, 2 deletions
diff --git a/share/man/man1/clang-local.1 b/share/man/man1/clang-local.1
index 2cc267bbf70..bed92fce5b2 100644
--- a/share/man/man1/clang-local.1
+++ b/share/man/man1/clang-local.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: clang-local.1,v 1.11 2017/10/05 15:13:43 jmc Exp $
+.\" $OpenBSD: clang-local.1,v 1.12 2018/04/29 02:31:11 mortimer Exp $
.\"
.\" Copyright (c) 2016 Pascal Stumpf <pascal@stumpf.co>
.\"
@@ -15,7 +15,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\"
-.Dd $Mdocdate: October 5 2017 $
+.Dd $Mdocdate: April 29 2018 $
.Dt CLANG-LOCAL 1
.Os
.Sh NAME
@@ -101,6 +101,11 @@ and
.Xr free 3
builtins are disabled to prevent undesirable optimizations of calls to
these functions.
+.It
+.Nm clang
+includes a security pass that exchanges some ROP-friendly instructions
+for safe alternatives on i386 and amd64 (X86FixupGadgets pass).
+There is no option to disable this pass.
.El
.Sh SEE ALSO
.Xr clang 1