mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
chcpumf must be executed as root. A non-root user sees this error message: [tester@t35lp46 ~]$ chcpumf -m 1000 Error: /sys/module/kernel/parameters/cpum_sfb_size: Permission denied [tester@t35lp46 ~]$ Enhance the error message and be clear about the root cause: [tester@t35lp46 ~]$ chcpumf-new -m 1000 Error: Must run as root [tester@t35lp46 ~]$ Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>