aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/vdso.c
Commit message (Collapse)AuthorAgeFilesLines
* arm64: big-endian: don't treat code as data when copying sigret codeMatthew Leach2017-12-141-1/+4
| | | | | | | | | | | | | | | Currently the sigreturn compat code is copied to an offset in the vectors table. When using a BE kernel this data will be stored in the wrong endianess so when returning from a signal on a 32-bit BE system, arbitrary code will be executed. Instead of declaring the code inside a struct and copying that, use the assembler's .byte directives to store the code in the correct endianess regardless of platform endianess. Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Matthew Leach <matthew.leach@arm.com> Signed-off-by: Mister Oyster <oysterized@gmail.com>
* first commitMeizu OpenSource2016-08-151-0/+257