[bisected] semctl/shmctl/msgctl broken on sparc64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arnd,

The following commit breaks the semctl/shmctl/msgctl syscalls on
64-bit sparc userland (but not on 32-bit sparc userland)

commit 275f22148e8720e84b180d9e0cdf8abfd69bac5b
Author: Arnd Bergmann <arnd@xxxxxxxx>
Date:   Mon Dec 31 22:22:40 2018 +0100

    ipc: rename old-style shmctl/semctl/msgctl syscalls

The LTP test case semctl01 can quickly reproduce the failure, but I
initially noticed this failure in the Perl test suite. Looks like the
syscalls always return EINVAL now. Funny, the commit doesn't even
touch arch/sparc :)

arch/sparc/include/uapi/asm/unistd.h
    Defines __32bit_syscall_numbers__ if __arch64__

arch/sparc/include/asm/unistd.h
    Includes arch/sparc/include/uapi/asm/unistd.h
    Defines __ARCH_WANT_SYS_IPC if __32bit_syscall_numbers__

ipc/syscall.c
    Looks like it defines different paths for __ARCH_WANT_SYS_IPC vs not

I get lost at this point, but I'm guessing that's where the difference
between 32-bit and 64-bit comes from.

Any ideas? I'm happy to test patches.

Thanks,
Matt



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux