pread - privileges or special access permissions?
Hello
Is it necessary for a C program to be owned/executed by root to be able to use the pread function? I've tried looking it up in manpages and elsewhere online but can't seem to find information about it. Thank you. |
it was not mentioned, therefore it is not required (at least I think)
|
I did a test application and found that it would not run unless I used root privileges.
There was nothing there but a single read of a MSR register using the pread function, so I'm convinced that it requires root privileges :) |
so it was required because of MSR register, not because of pread.
|
All times are GMT -5. The time now is 12:06 AM. |