[lkml]   [2003]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] new syscall: flink
On Mon, Apr 07, 2003 at 04:35:56AM -0400, Jakub Jelinek wrote:
> There is at most one path associated with an opened file - d_path on
> file->f_dentry. If a fd has no path, don't permit flink().
> Alternatively, flink() could have 3 arguments, 2 like link and an opened
> fd, which would atomically do if fd describes the same object as buf,
> link buf to newname.

That breaks one of the main uses, creating with open a temporary file
in /tmp, unlinking it, then later hooking it up somewhere else in the


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

 \ /
  Last update: 2005-03-22 13:34    [W:0.052 / U:4.680 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site