Re: [PATCH] test coverage for dup_fd() failure handling in unshare_fd()

2024-08-21 Thread Shuah Khan
On 8/21/24 22:39, Al Viro wrote: At some point there'd been a dumb braino during the dup_fd() calling conventions change; caught by smatch and immediately fixed. The trouble is, there had been no test coverage for the dup_fd() failure handling - neither in kselftests nor in LTP. Fortunat

[PATCH] test coverage for dup_fd() failure handling in unshare_fd()

2024-08-21 Thread Al Viro
At some point there'd been a dumb braino during the dup_fd() calling conventions change; caught by smatch and immediately fixed. The trouble is, there had been no test coverage for the dup_fd() failure handling - neither in kselftests nor in LTP. Fortunately, it can be triggered on stock k