]> git.baikalelectronics.ru Git - kernel.git/commit
drm: set permissions on edid file to 0444
authorKeith Packard <keithp@keithp.com>
Sun, 31 May 2009 03:42:26 +0000 (20:42 -0700)
committerDave Airlie <airlied@redhat.com>
Wed, 3 Jun 2009 23:32:12 +0000 (09:32 +1000)
commit2479ba35a53af08d9f7070d76e38e44e662971fe
treeb6e74f25a31af5f15037422eae75a503a31fc95b
parent143276bada9e76448b884618b5fe9c5544ddb484
drm: set permissions on edid file to 0444

Without initializing the sysfs attributes for the edid file,
it was created with mode 0, making it difficult for applications to use.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_sysfs.c