[PATCH] pci: add O_CLOEXEC when open uio device

2023-05-24 Thread Weifeng Su
ng on release), this close operation causes the PCI bus master bit to be cleared, rendering the device unusable and leading to unexpected behavior. This modification was made to prevent the UIO device's FD from being inherited by the child process. Cc: sta...@dpdk.org Signed-off-by: Weifeng Su --

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

2023-06-28 Thread Weifeng Su
ng on release), this close operation causes the PCI bus master bit to be cleared, rendering the device unusable and leading to unexpected behavior. This modification was made to prevent the UIO device's FD from being inherited by the child process. Signed-off-by: Weifeng Su --- drivers/bus