summaryrefslogtreecommitdiff
path: root/include/linux/msg.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2003-05-09 00:23:40 -0700
committerLinus Torvalds <torvalds@penguin.transmeta.com>2003-05-09 00:23:40 -0700
commitc3a4b4b3584f7e3220f5c7b2ca8c7c81a5f75c8e (patch)
treed5ca3ca251374f946c13b71b1514f393c2317785 /include/linux/msg.h
parent9f8e838958a8a2668a85ceff2738cd35009acb27 (diff)
Annotate IPC system calls with user pointer annotations
Diffstat (limited to 'include/linux/msg.h')
-rw-r--r--include/linux/msg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/msg.h b/include/linux/msg.h
index 0aa923294f06..7fb3d5c17b6f 100644
--- a/include/linux/msg.h
+++ b/include/linux/msg.h
@@ -94,9 +94,9 @@ struct msg_queue {
};
asmlinkage long sys_msgget (key_t key, int msgflg);
-asmlinkage long sys_msgsnd (int msqid, struct msgbuf *msgp, size_t msgsz, int msgflg);
-asmlinkage long sys_msgrcv (int msqid, struct msgbuf *msgp, size_t msgsz, long msgtyp, int msgflg);
-asmlinkage long sys_msgctl (int msqid, int cmd, struct msqid_ds *buf);
+asmlinkage long sys_msgsnd (int msqid, struct msgbuf __user *msgp, size_t msgsz, int msgflg);
+asmlinkage long sys_msgrcv (int msqid, struct msgbuf __user *msgp, size_t msgsz, long msgtyp, int msgflg);
+asmlinkage long sys_msgctl (int msqid, int cmd, struct msqid_ds __user *buf);
#endif /* __KERNEL__ */