aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRobin Getz <[email protected]>2009-06-02 03:00:47 -0400
committerGreg Kroah-Hartman <[email protected]>2009-06-15 21:30:28 -0700
commite4792aa30f9d33584d7192685ed149cc5fee737f (patch)
tree45fa5363a7e7fd21fc0e28100b9d6ef807dd8598 /net/unix/af_unix.c
parent156f5a7801195fa2ce44aeeb62d6cf8468f3332a (diff)
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]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions