Skip to content

bug(tail): /dev/mem skips the other arguments #13137

Description

@HackingRepo

Hi, uutils mainteners

we confirmed that the -f /dev/mem skips all other files, and exits

relunsec@relunsec:~/software/coreutils/target/debug$ sudo ./tail -f /dev/mem a
==> /dev/mem <==
tail: Permission denied
relunsec@relunsec:~/software/coreutils/target/debug$ sudo gnutail -f /dev/mem a
==> /dev/mem <==
gnutail: error reading '/dev/mem': Operation not permitted

==> a <==
^C

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions