Re: [PATCH 2/2] vhost: validate fds attached to messages

2022-05-05 Thread Maxime Coquelin
On 4/25/22 14:54, David Marchand wrote: Some message handlers do not expect any file descriptor attached as ancillary data. Provide a common way to enforce this by adding a accepts_fd boolean in the message handler structure. When a message handler sets accepts_fd to true, it is responsible fo

Re: [PATCH 2/2] vhost: validate fds attached to messages

2022-05-05 Thread Maxime Coquelin
On 4/25/22 14:54, David Marchand wrote: Some message handlers do not expect any file descriptor attached as ancillary data. Provide a common way to enforce this by adding a accepts_fd boolean in the message handler structure. When a message handler sets accepts_fd to true, it is responsible fo