Re:How to change symlinks atomically (2005)
by JoshTriplett on Sunday August 21, 2016 @01:57AM
(#12329620)
What don't you like about the design of memfd_create?
[ Parent
| on HN ]
Re:How to change symlinks atomically (2005)
by cyphar on Sunday August 21, 2016 @06:53AM
(#12330369)
The fact that the first argument (the "name") is only used as a debugging interface so that the /proc/self/fd/... "symlinks" have the name you set. I don't agree that this is useful for any real debugging, and constructing your syscalls so that they "make debugging easier" is not something that I really understand the motivations behind -- your ABI should be consistent and logical, not based on what you think a good debugging interface should be.
Re:How to change symlinks atomically (2005)
by JoshTriplett on Sunday August 21, 2016 @07:01AM
(#12330392)
Ah, fair enough; I agree completely. It should only have taken a flags argument.