Index: sys/amd64/linux/syscalls.master =================================================================== --- sys/amd64/linux/syscalls.master +++ sys/amd64/linux/syscalls.master @@ -1340,22 +1340,48 @@ int linux_get_mempolicy(void); } 240 AUE_NULL STD { - int linux_mq_open(void); + int linux_mq_open( + const char *name, + l_int oflag, + l_mode_t mode, + struct mq_attr *attr + ); } 241 AUE_NULL STD { - int linux_mq_unlink(void); + int linux_mq_unlink( + const char *name + ); } 242 AUE_NULL STD { - int linux_mq_timedsend(void); + int linux_mq_timedsend( + l_mqd_t mqd, + const char *msg_ptr, + l_size_t msg_len, + unsigned l_int msg_prio, + const struct l_timespec *abs_timeout + ); } 243 AUE_NULL STD { - int linux_mq_timedreceive(void); + int linux_mq_timedreceive( + l_mqd_t mqd, + char *msg_ptr, + l_size_t msg_len, + unsigned l_int *msg_prio, + const struct l_timespec *abs_timeout + ); } 244 AUE_NULL STD { - int linux_mq_notify(void); + int linux_mq_notify( + l_mqd_t mqd, + const struct l_timespec *abs_timeout + ); } 245 AUE_NULL STD { - int linux_mq_getsetattr(void); + int linux_mq_getsetattr( + l_mqd_t mqd, + const struct mq_attr *attr, + struct mq_attr *oattr + ); } 246 AUE_NULL STD { int linux_kexec_load(void); Index: sys/amd64/linux32/syscalls.master =================================================================== --- sys/amd64/linux32/syscalls.master +++ sys/amd64/linux32/syscalls.master @@ -1454,22 +1454,48 @@ } ; Linux 2.6.6: 277 AUE_NULL STD { - int linux_mq_open(void); + int linux_mq_open( + const char *name, + l_int oflag, + l_mode_t mode, + struct mq_attr *attr + ); } 278 AUE_NULL STD { - int linux_mq_unlink(void); + int linux_mq_unlink( + const char *name + ); } 279 AUE_NULL STD { - int linux_mq_timedsend(void); + int linux_mq_timedsend( + l_mqd_t mqd, + const char *msg_ptr, + l_size_t msg_len, + unsigned l_int msg_prio, + const struct l_timespec *abs_timeout + ); } 280 AUE_NULL STD { - int linux_mq_timedreceive(void); + int linux_mq_timedreceive( + l_mqd_t mqd, + char *msg_ptr, + l_size_t msg_len, + unsigned l_int *msg_prio, + const struct l_timespec *abs_timeout + ); } 281 AUE_NULL STD { - int linux_mq_notify(void); + int linux_mq_notify( + l_mqd_t mqd, + const struct l_timespec *abs_timeout + ); } 282 AUE_NULL STD { - int linux_mq_getsetattr(void); + int linux_mq_getsetattr( + l_mqd_t mqd, + const struct mq_attr *attr, + struct mq_attr *oattr + ); } 283 AUE_NULL STD { int linux_kexec_load(void); Index: sys/i386/linux/syscalls.master =================================================================== --- sys/i386/linux/syscalls.master +++ sys/i386/linux/syscalls.master @@ -1478,8 +1478,8 @@ 277 AUE_NULL STD { int linux_mq_open( const char *name, - int oflag, - mode_t mode, + l_int oflag, + l_mode_t mode, struct mq_attr *attr ); } @@ -1492,8 +1492,8 @@ int linux_mq_timedsend( l_mqd_t mqd, const char *msg_ptr, - size_t msg_len, - unsigned int msg_prio, + l_size_t msg_len, + unsigned l_int msg_prio, const struct l_timespec *abs_timeout ); } @@ -1501,8 +1501,8 @@ int linux_mq_timedreceive( l_mqd_t mqd, char *msg_ptr, - size_t msg_len, - unsigned int msg_prio, + l_size_t msg_len, + unsigned l_int *msg_prio, const struct l_timespec *abs_timeout ); }