Messages in this thread | | | Date | Thu, 20 May 2004 23:06:22 -0700 | From | Ulrich Drepper <> | Subject | Re: [PATCH] Add FUTEX_CMP_REQUEUE futex op |
| |
Andrew Morton wrote:
> Is it safe to go adding a new argument to an existing syscall in this manner?
Yes. This is a multiplexed syscall and the opcode decides which syscall parameter is used.
> It'll work OK on x86 because of the stack layout but is the same true of > all other supported architectures?
We add parameters at the end. This does not influence how previous values are passed. And especially for syscalls it makes no difference.
-- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |