linux:sys_ipc syscall
Michal Simek
monstr@monstr.eu
Wed May 6 18:24:00 GMT 2009
Mike Frysinger wrote:
> On Monday 04 May 2009 10:05:51 Michal Simek wrote:
>> I would like to ask you if someone from you work on separate ipc syscalls.
>> I mean that all code call one sys_ipc syscall not separate syscall like
>> sys_semctl, sys_semget, sys_semop, sys_msgctl,
>> sys_msgget, sys_msgrcv, sys_msgsnd, sys_shmat, sys_shmctl, sys_shmdt,
>> sys_shmget.
>
> sorry, but what's the question exactly ?
The question was if glibc supports separate ipc syscalls instead of calling sys_ipc.
I look at implementation and for example at sysdeps / unix / sysv / linux / msgctl.c
You can see that for __new_msgctl function is called kernel syscall sys_ipc
return INLINE_SYSCALL (ipc, 5, IPCOP_msgctl, msqid, cmd, 0, CHECK_1 (buf));
but is possible to call directly sys_msgctl - for blackfin case syscall 334.
And second part of my question was if someone work on it.
Michal
> -mike
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
More information about the Libc-alpha
mailing list