2004-04-16 Roland McGrath <roland@redhat.com>

* linux/syscall.h: Support new mq_* syscalls on Linux.
	* linux/syscallent.h: Likewise.
	* linux/dummy.h: Likewise.
	* ipc.c: Likewise.
	* time.c (printsigevent): Handle SIGEV_THREAD.
	From Ulrich Drepper <drepper@redhat.com>.
	Fixes RH#120701.
This commit is contained in:
Roland McGrath 2004-04-16 21:48:44 +00:00
parent 8d1bf3c198
commit d4c85ebbc6
4 changed files with 12 additions and 6 deletions

View File

@ -64,6 +64,7 @@
#define sys_mlock sys_munmap
#define sys_munlock sys_munmap
#define sys_clock_getres sys_clock_gettime
#define sys_mq_unlink sys_unlink
/* printargs does the right thing */
#define sys_setup printargs

View File

@ -94,6 +94,8 @@ int sys_timer_create(), sys_timer_delete(), sys_timer_getoverrun();
int sys_timer_gettime(), sys_timer_settime(), sys_clock_settime();
int sys_clock_gettime(), sys_clock_getres(), sys_clock_nanosleep();
int sys_semtimedop(), sys_statfs64(), sys_fstatfs64(), sys_tgkill();
int sys_mq_open(), sys_mq_timedsend(), sys_mq_timedreceive();
int sys_mq_notify(), sys_mq_getsetattr();
/* sys_socketcall subcalls */

View File

@ -323,12 +323,12 @@
{ 5, 0, printargs, "SYS_274" }, /* 274 */
{ 5, 0, printargs, "SYS_275" }, /* 275 */
{ 5, 0, printargs, "SYS_276" }, /* 276 */
{ 5, 0, printargs, "SYS_277" }, /* 277 */
{ 5, 0, printargs, "SYS_278" }, /* 278 */
{ 5, 0, printargs, "SYS_279" }, /* 279 */
{ 5, 0, printargs, "SYS_280" }, /* 280 */
{ 5, 0, printargs, "SYS_281" }, /* 281 */
{ 5, 0, printargs, "SYS_282" }, /* 282 */
{ 4, 0, sys_mq_open, "mq_open" }, /* 277 */
{ 1, 0, sys_mq_unlink, "mq_unlink" }, /* 278 */
{ 5, 0, sys_mq_timedsend, "mq_timedsend" }, /* 279 */
{ 5, 0, sys_mq_timedreceive, "mq_timedreceive" }, /* 280 */
{ 2, 0, sys_mq_notify, "mq_notify" }, /* 281 */
{ 3, 0, sys_mq_getsetattr, "mq_getsetattr" }, /* 282 */
{ 5, 0, printargs, "SYS_283" }, /* 283 */
{ 5, 0, printargs, "SYS_284" }, /* 284 */
{ 5, 0, printargs, "SYS_285" }, /* 285 */

3
time.c
View File

@ -438,6 +438,9 @@ long arg;
present in the userlevel definition of the
struct. */
tprintf("{%d}", sev._sigev_un._pad[0]);
else if (sev.sigev_notify == SIGEV_THREAD)
tprintf("{%p, %p}", sev.sigev_notify_function,
sev.sigev_notify_attributes);
else
tprintf("{...}");
tprintf("}");