Skip to content

bug(find): when -files0-from is /dev/vhost-net or /dev/vhost-vsock it silences errors #780

Description

@HackingRepo

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$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions