Trans cloexec
Opening this again. @metux You said we could to this in another place, can you explain more?
what is the specific use case ? where exactly could fd's be leaked ?
ping @stefan11111
@metux @b-aaz @cepelinas9000 @X11Libre/dev Thoughts on this? Do you think this is useful/makes sense?
I'd rather prefer adding an _XSERVTransCloseExec() function instead. Note that in the longer run, I'd like to get rid of xtrans entirely.
Note that in the longer run, I'd like to get rid of xtrans entirely.
What will it be replaced by? pure bsd sockets?
Note that in the longer run, I'd like to get rid of xtrans entirely.
What will it be replaced by? pure bsd sockets?
yes, possibly with some little wrappers for win32 like we already have (ossock.c, etc)