Re: Syscall changes registers beyond %eax, on linux-i386

From: Richard Henderson (
Date: Thu Sep 19 2002 - 13:30:48 EST

On Thu, Sep 19, 2002 at 02:04:43PM -0400, Brian Gerst wrote:
> Now that I've thought about it more, I think the best solution is to go
> through all the syscalls (a big job, I know), and declare the parameters
> as const, so that gcc knows it can't modify them, and will throw a
> warning if we try.

The parameter area belongs to the callee, and it may *always* be modified.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:27 EST