[PATCH] msgop.2: Add restriction on ENOSYS error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When calling msgrcv with MSG_COPY flag on 3.8 or new kernel, it will
report EINVAL error even we have disabled CONFIG_CHECKPOINT_RESTORE.
It also needs to specify IPC_NOWAIT flag.

Signed-off-by: Yang Xu <xuyang2018.jy@xxxxxxxxxxxxxx>
---
 man2/msgop.2 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/man2/msgop.2 b/man2/msgop.2
index 373e53aa7..e559097a7 100644
--- a/man2/msgop.2
+++ b/man2/msgop.2
@@ -467,7 +467,9 @@ and the queue contains less than
 messages.
 .TP
 .BR ENOSYS " (since Linux 3.8)"
-.I MSG_COPY
+.B IPC_NOWAIT
+and
+.B MSG_COPY
 was specified in
 .IR msgflg ,
 and this kernel was configured without
-- 
2.23.0






[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux