Kernel: Add support for the MSG_WAITALL sys$recvmsg flag

This commit is contained in:
Idan Horowitz 2021-12-02 00:39:50 +02:00 committed by Andreas Kling
parent 5514d60d8d
commit e521ffd156
Notes: sideshowbarker 2024-07-17 23:10:44 +09:00
3 changed files with 22 additions and 10 deletions

View file

@ -607,8 +607,8 @@ static void format_connect(FormattedSyscallBuilder& builder, int socket, const s
struct MsgOptions : BitflagBase {
static constexpr auto options = {
BITFLAG(MSG_TRUNC), BITFLAG(MSG_CTRUNC), BITFLAG(MSG_PEEK),
BITFLAG(MSG_OOB), BITFLAG(MSG_DONTROUTE), BITFLAG(MSG_DONTWAIT)
// TODO: add MSG_WAITALL once its definition is added
BITFLAG(MSG_OOB), BITFLAG(MSG_DONTROUTE), BITFLAG(MSG_WAITALL),
BITFLAG(MSG_DONTWAIT)
};
};