Zyad A. Ali
612c68bfa2
Implement control operations on msgqueue.
...
For IPCInfo, update value of MSGSEG constant in abi to avoid overflow in
MsgInfo.MsgSeg. MSGSEG was originaly simplified in abi, and is unused
(by us and within the kernel), so updating it is okay.
Updates #135
2021-08-17 20:31:38 +02:00
Zyad A. Ali
f517422db2
Implement MSG_COPY option for msgrcv(2).
...
Implement Queue.Copy and add more tests for it.
Updates #135
2021-08-03 18:13:24 +02:00
Zyad A. Ali
5eb71ba8ed
Implement stubs for msgsnd(2) and msgrcv(2).
...
Add support for msgsnd and msgrcv and enable syscall tests.
Updates #135
2021-08-03 18:13:24 +02:00
Zyad A. Ali
0a71261f8a
Implement Queue.Receive.
...
Receive implements the behaviour of msgrcv(2) without the MSG_COPY flag.
Updates #135
2021-08-03 18:13:24 +02:00
Zyad A. Ali
377586b788
Implement Queue.Send.
...
Send implements the functionality of msgsnd(2).
Updates #135
2021-08-03 18:13:24 +02:00
Zyad A. Ali
0683ff858f
Implement stubs for msgget(2) and msgctl(IPC_RMID).
...
Add support for msgget, and msgctl(IPC_RMID), and enable msgqueue
syscall tests.
Updates #135
2021-07-13 22:12:02 +02:00
Zyad A. Ali
a99ab46d05
Implement Registry.Remove.
...
Remove implements the behaviour or msgctl(IPC_RMID).
Updates #135
2021-07-13 22:12:02 +02:00
Zyad A. Ali
83ada5e517
Implement Registry.FindOrCreate.
...
FindOrCreate implements the behaviour of msgget(2).
Updates #135
2021-07-13 22:12:02 +02:00
Zyad A. Ali
dc420a0d2f
Create package msgqueue.
...
Create package msgqueue, define primitives to be used for message
queues, and add a msgqueue.Registry to IPCNamespace.
Updates #135
2021-07-13 22:12:02 +02:00