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

 



sys_msgrcv() and therefore also sys_ipc() can return ENOSYS when
CONFIG_CHECKPOINT_RESTORE=n. See prepare_copy() in ipc/msg.c.
---
 syscalls/ipc.c    | 1 +
 syscalls/msgrcv.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/syscalls/ipc.c b/syscalls/ipc.c
index d11d48d..ff161be 100644
--- a/syscalls/ipc.c
+++ b/syscalls/ipc.c
@@ -24,4 +24,5 @@ struct syscallentry syscall_ipc = {
 	.arg5name = "ptr",
 	.arg5type = ARG_ADDRESS,
 	.arg6name = "fifth",
+	.flags = IGNORE_ENOSYS,
 };
diff --git a/syscalls/msgrcv.c b/syscalls/msgrcv.c
index 44f11d5..2bfca90 100644
--- a/syscalls/msgrcv.c
+++ b/syscalls/msgrcv.c
@@ -21,4 +21,5 @@ struct syscallentry syscall_msgrcv = {
 		.num = 4,
 		.values = { MSG_NOERROR, MSG_EXCEPT, MSG_COPY, IPC_NOWAIT },
 	},
+	.flags = IGNORE_ENOSYS,
 };
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux