2003-07-08 Roland McGrath <roland@redhat.com>

* signal.c (sys_tgkill): New function.
	* linux/syscall.h: Declare it.
	* linux/syscallent.h: Add tgkill.
This commit is contained in:
Roland McGrath 2003-07-09 09:47:49 +00:00
parent a9a86199ff
commit 8ffc352a35
3 changed files with 17 additions and 3 deletions

View File

@ -93,6 +93,7 @@ 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();
int sys_tgkill();
/* sys_socketcall subcalls */

View File

@ -314,9 +314,9 @@
{ 2, 0, sys_clock_gettime, "clock_gettime" }, /* 265 */
{ 2, 0, sys_clock_getres, "clock_getres" }, /* 266 */
{ 4, 0, sys_clock_nanosleep, "clock_nanosleep"}, /* 267 */
{ 5, 0, printargs, "SYS_268" }, /* 268 */
{ 5, 0, printargs, "SYS_269" }, /* 269 */
{ 5, 0, printargs, "SYS_270" }, /* 270 */
{ 5, 0, printargs, "statfs64" }, /* 268 */
{ 5, 0, printargs, "fstatfs64" }, /* 269 */
{ 3, TS, sys_tgkill, "tgkill" }, /* 270 */
{ 5, 0, printargs, "SYS_271" }, /* 271 */
{ 5, 0, printargs, "SYS_272" }, /* 272 */
{ 5, 0, printargs, "SYS_273" }, /* 273 */

View File

@ -1679,6 +1679,19 @@ struct tcb *tcp;
return sys_kill(tcp);
}
#ifdef LINUX
int
sys_tgkill(tcp)
struct tcb *tcp;
{
if (entering(tcp)) {
tprintf("%ld, %ld, %s",
tcp->u_arg[0], tcp->u_arg[1], signame(tcp->u_arg[2]));
}
return 0;
}
#endif
int
sys_sigpending(tcp)
struct tcb *tcp;