pipe07: close /proc/self/fd after counting fds
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v11 patch 2 repliesSuperseded
Changes in v2 from the cover letter
Split patch into bugfix and refactor
Fix bug in refactor that caused exp_num_pipes to not round down to nearest even integer
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | pipe07: close /proc/self/fd after counting fdstestcases/ | +2 | 0 replies | |
| 2/2 | pipe07: refactor exp_num_pipestestcases/ | +3 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [LTP] [PATCH v2 0/2] pipe07: close /proc/self/fd after counting fds
Leaving the directory fd open will count against the max number of fds opened, so the final expected count will be off when (max_fds - record_open_fds()) is even.
v1->v2:
Split patch into bugfix and refactor
Fix bug in refactor that caused exp_num_pipes to not round down to nearest even integer
Edward Liaw (2):
pipe07: close /proc/self/fd after counting fds
pipe07: refactor exp_num_pipes
testcases/kernel/syscalls/pipe/pipe07.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
--
2.42.0.582.g8ccd20d70d-goog
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp