Re: [PATCH] Add FUTEX_CMP_REQUEUE futex op

From: Andrew Morton
Date: Thu May 20 2004 - 17:51:51 EST


Jakub Jelinek <jakub@xxxxxxxxxx> wrote:
>
> asmlinkage long sys_futex(u32 __user *uaddr, int op, int val,
> - struct timespec __user *utime, u32 __user *uaddr2)
> + struct timespec __user *utime, u32 __user *uaddr2,
> + int val3)

Is it safe to go adding a new argument to an existing syscall in this manner?

It'll work OK on x86 because of the stack layout but is the same true of
all other supported architectures?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/