OpenBSD Journal

arm64 gains RETGUARD

Contributed by rueda on from the armed guards dept.

In a series of commits, Todd Mortimer (mortimer@) has added RETGUARD for the arm64 platform.

We previously reported the addition of RETGUARD for amd64.

Module name:	src
Changes by:	2018/08/12 10:59:31

Modified files:
	gnu/llvm/include/llvm/CodeGen: MachineFrameInfo.h 
	gnu/llvm/lib/CodeGen: PrologEpilogInserter.cpp 
	gnu/llvm/lib/Target/X86: X86FrameLowering.cpp X86FrameLowering.h 
	gnu/usr.bin/clang/libLLVMCodeGen: Makefile 
	gnu/usr.bin/clang/libLLVMX86CodeGen: Makefile 
Added files:
	gnu/llvm/include/llvm/CodeGen: ReturnProtectorLowering.h 
	gnu/llvm/lib/CodeGen: ReturnProtectorLowering.cpp 
	gnu/llvm/lib/Target/X86: X86ReturnProtectorLowering.cpp 

Log message:
Refactor retguard to make adding additional arches easier.
Module name:	src
Changes by:	2018/08/12 11:07:00

Modified files:
	gnu/llvm/lib/Target/AArch64: AArch64AsmPrinter.cpp 
	gnu/llvm/tools/clang/lib/Driver/ToolChains: Clang.cpp 
	gnu/usr.bin/clang/libLLVMAArch64CodeGen: Makefile 
Added files:
	gnu/llvm/lib/Target/AArch64: AArch64ReturnProtectorLowering.cpp 

Log message:
Add retguard for arm64.
ok deraadt@
Module name:	src
Changes by:	2018/08/12 11:15:10

Modified files:
	lib/libc/arch/aarch64/gen: byte_swap_2.S byte_swap_4.S 
	lib/libc/arch/aarch64/sys: Ovfork.S brk.S cerror.S sbrk.S 
	                           sigpending.S sigprocmask.S 
	                           sigsuspend.S tfork_thread.S 
	sys/arch/arm64/arm64: copy.S copystr.S cpufunc_asm.S support.S 
	sys/arch/arm64/include: asm.h 

Log message:
Add retguard macros for arm64 asm and apply them in the straightforward
cases in kernel and libc.
ok deraadt@

(Comments are closed)

Latest Articles


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]