I followed this tutorial guide on "How to Create Linux Proc Files in C Program using LKM".
I've successfully made my module and loaded it in. Now I want to echo to my proc file to make sure the method gets called that's supposed to be called.
I have tried:
$ echo "hello" > /proc/procEntry123 # But it says permission is denied!
$ sudo echo "hello" > /proc/procEntry123 # Same error message.
How can I elevate privileges to echo to this file? I am the sole user and admin on this system.