Re: OT: why no file copy() libc/syscall ??

From: Florian Weimer
Date: Tue Nov 11 2003 - 03:59:02 EST


Andreas Dilger wrote:

> > This is fast turning into a creeping horror of aggregation. I defy anybody
> > to create an API to cover all the options mentioned so far and *not* have it
> > look like the process_clone horror we so roundly derided a few weeks ago.
>
> int sys_copy(int fd_src, int fd_dst)

Doesn't work. You have to set the security attributes while you open
fd_dst.
-
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/