lkml.org 
[lkml]   [2006]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC/PATCH] revoke/frevoke system calls V2
On 7/27/06, Pekka J Enberg <penberg@cs.helsinki.fi> wrote:
> +asmlinkage int sys_revoke(const char __user *filename)

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.
-
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/

\
 
 \ /
  Last update: 2006-07-27 18:45    [W:0.319 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site