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
This commit is contained in:
Zyad A. Ali
2021-08-17 20:31:38 +02:00
parent 2cf61eab4a
commit 265deee8cb
2 changed files with 110 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ const (
MSGSSZ = 16
// MSGSEG is simplified due to the inexistance of a ternary operator.
MSGSEG = (MSGPOOL * 1024) / MSGSSZ
MSGSEG = 0xffff
)
// MsqidDS is equivelant to struct msqid64_ds. Source: