commit | e7c39670197fbf293d013134fe3ce65eaa7d0caa | [log] [tgz] |
---|---|---|
author | Roland McGrath <roland@redhat.com> | Thu Aug 02 01:32:17 2007 +0000 |
committer | Roland McGrath <roland@redhat.com> | Thu Aug 02 01:32:17 2007 +0000 |
tree | 3a768d4372c7f3711fee0e7cfa93b7ca84d030e7 | |
parent | 5d4657908586eae8d5074971018b80f3120b9611 [diff] [blame] |
2007-07-23 Ulrich Drepper <drepper@redhat.com> * desc.c (sys_eventfd): New function. * linux/syscall.h: Declare sys_eventfd. * linux/syscallent.h: Add entry for eventfd. * linux/x86_64/syscallent.h: Likewise.
diff --git a/desc.c b/desc.c index 9c26b63..4d82fa8 100644 --- a/desc.c +++ b/desc.c
@@ -916,4 +916,13 @@ } return rc; } + +int +sys_eventfd(tcp) +struct tcb *tcp; +{ + if (entering(tcp)) + tprintf("%lu", tcp->u_arg[0]); + return 0; +} #endif