Re: [PATCH 1/4] hurd: Don't pass fd flags in CMSG_DATA

2023-04-20 Thread Samuel Thibault
Sergey Bugaev, le ven. 21 avril 2023 00:47:43 +0300, a ecrit: > You could think of it that way: the > infrastructure for passing an integer value along with the port is > still there, but currently no valid flags for it are defined, and so 0 > is always used. We could spell it as > > fds[i] = desc

Re: [PATCH 1/4] hurd: Don't pass fd flags in CMSG_DATA

2023-04-20 Thread Sergey Bugaev
On Fri, Apr 21, 2023 at 12:14 AM Samuel Thibault wrote: > Sergey Bugaev, le lun. 17 avril 2023 16:38:59 +0300, a ecrit: > > The only valid flag defined here is FD_CLOEXEC. It is of no concern to > > the receiving process whether or not the sender process wants to close > > its copy of sent file de

Re: [PATCH 1/4] hurd: Don't pass fd flags in CMSG_DATA

2023-04-20 Thread Samuel Thibault
Sergey Bugaev, le lun. 17 avril 2023 16:38:59 +0300, a ecrit: > The only valid flag defined here is FD_CLOEXEC. It is of no concern to > the receiving process whether or not the sender process wants to close > its copy of sent file descriptor upon exec, Ok, but couldn't there be some flags that we