Searched hist:e4792aa3 (Results 1 – 1 of 1) sorted by relevance
| /linux-6.15/fs/debugfs/ |
| H A D | file.c | e4792aa3 Tue Jun 02 07:00:47 GMT 2009 Robin Getz <[email protected]> debugfs: use specified mode to possibly mark files read/write only
In many SoC implementations there are hardware registers can be read or write only. This extends the debugfs to enforce the file permissions for these types of registers by providing a set of fops which are read or write only. This assumes that the kernel developer knows more about the hardware than the user (even root users) -- which is normally true.
Signed-off-by: Robin Getz <[email protected]> Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Bryan Wu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
|