diff options
author | mortimer <mortimer@cvs.openbsd.org> | 2018-09-28 00:33:35 +0000 |
---|---|---|
committer | mortimer <mortimer@cvs.openbsd.org> | 2018-09-28 00:33:35 +0000 |
commit | 99f22f30ecbbb19f4694db27c8ff3706567e65d6 (patch) | |
tree | 87affbbd27e162ccbd1ed54b5e16832e9a39a93c /share/man | |
parent | 459d6386c60d0185038a58bef6a2addcd2f00310 (diff) |
Document retguard and options to disable it.
ok deraadt@
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man1/clang-local.1 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man1/clang-local.1 b/share/man/man1/clang-local.1 index b6f14febb75..e1deda0b9e0 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.15 2018/06/13 04:34:41 yasuoka Exp $ +.\" $OpenBSD: clang-local.1,v 1.16 2018/09/28 00:33:34 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: June 13 2018 $ +.Dd $Mdocdate: September 28 2018 $ .Dt CLANG-LOCAL 1 .Os .Sh NAME @@ -109,6 +109,14 @@ these functions. 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. +.It +.Nm clang +includes the retguard security feature on amd64 and arm64. +This feature can be disabled with the +.Fl fno-ret-protector +option or the +.Fl fno-stack-protector +option. .El .Sh SEE ALSO .Xr clang 1 |