3 ms·
> I do not know why the JMP is not just a RET, however. The jump seems generated by the expansion of the `ASM_CLAC` macro, which is supposed to change the EFLA
by sixthDot 2y ago
> I do not know why the JMP is not just a RET, however.
The jump seems generated by the expansion of the `ASM_CLAC` macro, which is supposed to change the EFLAGS register ([1], [2]). However in this case the expansion looks like it does nothing (maybe because of the target ?). I 'd be interested to know more about that. Call to the wild.
[1]: https://github.com/torvalds/linux/blob/master/arch/x86/include/asm/smap.h#L17 https://github.com/torvalds/linux/blob/master/arch/x86/inclu...
[2]: https://stackoverflow.com/a/60579385 https://stackoverflow.com/a/60579385