bug(find): when -files0-from is /dev/vhost-net or /dev/vhost-vsock it silences errors
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Reproduce the commands using /dev/vhost-net and /dev/vhost-vsock, then compare their output and exit status with GNU find. Trace handling of the -files0-from input and read errors; done means these inputs report the read error and return the expected nonzero status.
Written by the indexing model from the issue text.
Description
Hi, findutils mainteners
we confirmed the find utility, silences errors, while the gnu correctly output them
relunsec@relunsec:~/software/findutils/target/debug$ sudo /bin/find -files0-from /dev/vhost-vsock
/bin/find: ‘/dev/vhost-vsock’: read error: File descriptor in bad state
relunsec@relunsec:~/software/findutils/target/debug$ sudo /bin/find -files0-from /dev/vhost-net
/bin/find: ‘/dev/vhost-net’: read error: File descriptor in bad state
relunsec@relunsec:~/software/findutils/target/debug$ sudo ./find -files0-from /dev/vhost-net
relunsec@relunsec:~/software/findutils/target/debug$ sudo ./find -files0-from /dev/vhost-vsock
relunsec@relunsec:~/software/findutils/target/debug$ sudo ./find -files0-from /dev/vhost-vsock
relunsec@relunsec:~/software/findutils/target/debug$ echo $?
0
relunsec@relunsec:~/software/findutils/target/debug$
- Dominant language
- Rust
- Stars
- 649
- Forks
- 101
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from uutils/findutils
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
good first issue
Difficulty 3/5 1-2 days Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
good first issue
Difficulty 3/5 1-2 days Newbie friendliness 52/100
All issues in uutils/findutils
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100