On 23 June 2014 22:40, Paul Burton <p...@archlinuxmips.org> wrote: > The ptr argument to the ipc syscall was incorrectly being used as the > value of the argument union for the SEMCTL call. It is actually, as its > name would suggest, a pointer to that union.
Have you checked this on other architectures than MIPS? I have a vague recollection that there are between-arch differences regarding handling of the semctl argument... Also, VERIFY_READ doesn't seem right for some of the semctl operations which will modify the target_semun. thanks -- PMM