Skip to content

lscpumf fails early when run as non-root #97

@sharkcz

Description

@sharkcz

When lscpumf is run as non-root it prints an error message, not even accepting --help or --version options.

[sharkcz@rock-kvmlp-fedora ~]$ lscpumf -h
Error: /sys/module/kernel/parameters/cpum_sfb_size: Permission denied

I think it's because it tries to initialize itself before processing any command line options.

Metadata

Metadata

Assignees

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