This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] RE: msgctl() on MIPS, n32 ABI.
On Mon, 8 Jan 2007 11:23:11 -0800, "Kaz Kylheku" <kaz@zeugmasystems.com> wrote:
> > I'm still concerned about the glibc side. We call the syscalls
> > differently for o32 and n32.
>
>
> The issue is that some of the compat_* functions don't belong in the
> system call table. They don't have the right type signatures, or
> semantics.
>
> It might be wise to do a review of the system call table to see if there
> are any other cases like this.
>
> For instance, the use of compat_sys_shmctl as the sys_shmctl system call
> on n32 looks fishy. That function looks for the IPC_64 flag, which glibc
> won't generate.
MIPS glibc defines __ASSUME_IPC64 so __IPC_64 would be generated on
__new_shmctl() or __new_msgctl(), no? But ... indeed it seems
compat_sys_msgsnd and compat_sys_msgrcv do not match with glibc. That
would be kernel-issue.
And for semtimedop, I suppose automatic sign-extention will do needed
job.
---
Atsushi Nemoto