Re: [RFC/PATCH] revoke/frevoke system calls V2

From: Pekka J Enberg
Date: Thu Jul 27 2006 - 13:03:56 EST

On 7/27/06, Pekka J Enberg <penberg@xxxxxxxxxxxxxx> wrote:
> > +asmlinkage int sys_revoke(const char __user *filename)

On Thu, 27 Jul 2006, Ulrich Drepper wrote:
> Could we just plainly avoid adding any new syscalls which take a
> filename without extending the interface like the *at functions?
> I.e., add a file descriptor parameter, handle AT_FDCWD, etc. The
> additional effort is really minimal. Even if, as in this case, the
> function is propably not used in situations where the filename use is
> racy there are still those people to consider who want to implement a
> virtual per-thread current working directory.

Sure. Though I wonder if sys_frevoke is enough for us and we can drop
sys_revoke completely.

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