Re: [PATCH v2] pci: add O_CLOEXEC when open uio device

2023-07-06 Thread Stephen Hemminger
On Thu, 29 Jun 2023 10:53:39 +0800 Weifeng Su wrote: > In this scenario, the DPDK process invokes a script which > inherits an open file descriptor (FD) for a UIO device. > After the script execution is complete, the UIO device's > close operation is called. However, in a new kernel version > (86

[PATCH v2] pci: add O_CLOEXEC when open uio device

2023-06-28 Thread Weifeng Su
In this scenario, the DPDK process invokes a script which inherits an open file descriptor (FD) for a UIO device. After the script execution is complete, the UIO device's close operation is called. However, in a new kernel version (865a11f987ab5f03:uio/uio_pci_generic: Disable bus-mastering on rele