On Fri, 26 Apr 2024, I wrote:
I will test it tomorrow. I expect that a NOP is needed at the end of __clear_user.
Everything seems to work now. I tested this series together with my own RFC patch on a Quadra (68040) and IIci (68030). My tests covered getcwd and llseek syscalls. I tried a build with the extra call to __clear_user() and a build without it. And I covered a range of working directory names. Tested-by: Finn Thain <fthain@xxxxxxxxxxxxxx> So apparently there'e no need for a NOP at the end of __clear_user() -- on '040 and '030 at least.