mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user