CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2022/12/07 11:25:33
Modified files: sys/lib/libkern/arch/amd64: bcmp.S bzero.S ffs.S htonl.S htons.S memchr.S memcmp.S memmove.S memset.S scanc.S skpc.S strchr.S strcmp.S strlen.S strrchr.S Log message: Apply changes from commitid FWrfGfO9Ojnsh1mq to libkern. >From original commit message: To mitigate against spectre attacks, AMD processors without the IBRS feature need an lfence instruction after every near ret. See software techniques for managing speculation on AMD processors revision 9.17.20 mitigation G-5. ok deraadt@