Subject: Re: bin/23472
To: Elad Efrat <elad@NetBSD.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 07/13/2005 00:08:12
On Jul 13,  6:49am, elad@NetBSD.org (Elad Efrat) wrote:
-- Subject: Re: bin/23472

| Christos Zoulas wrote:
| 
| > Not so fast... Does/can systrace change the arguments passed to the syscall?
| > If it does/can, then we need to propagate the changes back. This is an easy
| > change to make, but nevertheless we need to make that change.
| 
| If I had a sparc64 box I'd test it. :) Since systrace doesn't seem to
| use any MD code I didn't think there would be problems - of course
| if you know it doesn't work then we need to reopen it.

The issue here is that the sparc64 syscall does not use the arguments
passed to trace_enter like the others do. So it those arguments are
modified by trace_enter, they will not affect the following syscall.
This needs to be investigated, so I would not close the PR until we
make sure we are doing the right thing.

christos