[parisc-linux] what's up with the ipc syscalls?

Randolph Chung Randolph Chung <tausq@debian.org>
Sat, 1 Nov 2003 00:24:51 -0800


in our syscall table, semctl, msgctl and shmctl are marked as "broken".
Does anybody know what's up with that?

i did a simple hack, which is to replace

        return sys_msgctl (msqid, cmd & ~IPC_64, buf);

with 

        return sys_msgctl (msqid, cmd | IPC_64, buf);

in sys_parisc.c, and at least in some simple tests it seems to work
(whereas the original one was really broken)

haven't tested it very much yet.... a similar hack for semctl doesn't
seem to work. haven't investigated more yet.. but wanted to know if
others can shed light on what was the problems there....

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/