Re: fchroot(2) and others.
From: Eivind Eklund (eivind_at_FreeBSD.org)
Date: 03/29/04
- Previous message: Jan Grant: "Re: CFD: XMLification of NOTES"
- In reply to: Pawel Jakub Dawidek: "fchroot(2) and others."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 13:34:45 +0000 To: Pawel Jakub Dawidek <pjd@FreeBSD.org>
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.
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Jan Grant: "Re: CFD: XMLification of NOTES"
- In reply to: Pawel Jakub Dawidek: "fchroot(2) and others."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]