aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2009-12-03 02:44:45 -0500
committerLen Brown <len.brown@intel.com>2009-12-09 15:54:29 -0500
commit6dff29b63a5bf2eaf3313cb8a84f0b7520c43401 (patch)
treef731af48a00c3dec92675924a916dd7b1b3e0868 /net/unix/sysctl_net_unix.c
parent22763c5cf3690a681551162c15d34d935308c8d7 (diff)
eeepc-laptop: disp attribute should be write-only
Currently, reading from the disp attribute fails with "No such device", which is misleading. According to CMSG table on acpi4asus project site, no models have a getter method corresponding to SDSP. Change the file permission to disallow reads. If some joker changes the permission to permit reads, then return -EIO to be consistent with sysfs' behaviour when no show() method is provided. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions