From 649e2dac12b916b21d52cde3ef0643edc47aff83 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 25 Sep 2004 20:15:44 +0000 Subject: [PATCH] Remove bogus call to update_child() and some cosmetic fixes --- mon_systrace.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mon_systrace.c b/mon_systrace.c index 523774be6..cd23f35f6 100644 --- a/mon_systrace.c +++ b/mon_systrace.c @@ -59,8 +59,7 @@ struct childinfo { }; struct syscallhandler { int num; - void (*handler) - __P((int, struct str_msg_ask *, struct systrace_answer *)); + void (*handler) __P((int, struct str_msg_ask *, struct systrace_answer *)); struct syscallhandler *next; }; @@ -253,8 +252,7 @@ systrace_attach(pid) memset(&ans, 0, sizeof(ans)); ans.stra_pid = msg.msg_pid; ans.stra_seqnr = msg.msg_seqnr; - check_syscall(fd, &msg.msg_data.msg_ask, - &ans, &handlers); + check_syscall(fd, &msg.msg_data.msg_ask, &ans, &handlers); if ((ioctl(fd, STRIOCANSWER, &ans)) == -1) goto fail; break; @@ -266,7 +264,6 @@ systrace_attach(pid) * the various emulations are. */ warnx("change in emul"); - update_child(&children, msg.msg_pid, msg.msg_data.msg_ugid.uid); memset(&ans, 0, sizeof(ans)); ans.stra_pid = msg.msg_pid; ans.stra_seqnr = msg.msg_seqnr; -- 2.40.0