fchroot(2) and others.
Eivind Eklund
eivind at FreeBSD.org
Mon Mar 29 05:36:38 PST 2004
On Sat, Mar 27, 2004 at 09:36:20PM +0100, Pawel Jakub Dawidek wrote:
> int flink(int fd, const char *link);
I'll just note that I have regularly really missed this. It would let
me do atomic operations, only providing a file when it is complete,
keeping the file system clean until then.
I think we should check for the present process being the owner of the
inode before allowing the flink().
Ideally, for my purposes, I'd also have an mktmpfd(), which would work
like mkstemp but never create the actual file link. The only reason
I've not implemented these calls already is that I assumed there was
some security reason they were not there, but I can't really see any.
Eivind.
More information about the freebsd-arch
mailing list