From 66076a24705b79e9f422254cb7b20278a97e57c4 Mon Sep 17 00:00:00 2001 From: ken lierman Date: Fri, 20 Jan 2012 12:20:06 -0800 Subject: [PATCH] Make psb driver interface files not world writable Androids CTS test doesn't allow there to be world writable /sys files. Signed-off-by: ken lierman Signed-off-by: Kwanhong Lee Acked-by: Jani Nikula Signed-off-by: Kirill A. Shutemov --- drivers/staging/mrst/drv/psb_umevents.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/mrst/drv/psb_umevents.c b/drivers/staging/mrst/drv/psb_umevents.c index c53699f..1ec7dcf 100644 --- a/drivers/staging/mrst/drv/psb_umevents.c +++ b/drivers/staging/mrst/drv/psb_umevents.c @@ -32,28 +32,28 @@ static struct sysfs_ops umevent_obj_sysfs_ops = { * */ static struct umevent_attribute data_0 = - __ATTR(data_0_val, 0666, psb_umevent_attr_show_imp, + __ATTR(data_0_val, 0664, psb_umevent_attr_show_imp, psb_umevent_attr_store_imp); static struct umevent_attribute data_1 = - __ATTR(data_1_val, 0666, psb_umevent_attr_show_imp, + __ATTR(data_1_val, 0664, psb_umevent_attr_show_imp, psb_umevent_attr_store_imp); static struct umevent_attribute data_2 = - __ATTR(data_2_val, 0666, psb_umevent_attr_show_imp, + __ATTR(data_2_val, 0664, psb_umevent_attr_show_imp, psb_umevent_attr_store_imp); static struct umevent_attribute data_3 = - __ATTR(data_3_val, 0666, psb_umevent_attr_show_imp, + __ATTR(data_3_val, 0664, psb_umevent_attr_show_imp, psb_umevent_attr_store_imp); static struct umevent_attribute data_4 = - __ATTR(data_4_val, 0666, psb_umevent_attr_show_imp, + __ATTR(data_4_val, 0664, psb_umevent_attr_show_imp, psb_umevent_attr_store_imp); static struct umevent_attribute data_5 = - __ATTR(data_5_val, 0666, psb_umevent_attr_show_imp, + __ATTR(data_5_val, 0664, psb_umevent_attr_show_imp, psb_umevent_attr_store_imp); static struct umevent_attribute data_6 = - __ATTR(data_6_val, 0666, psb_umevent_attr_show_imp, + __ATTR(data_6_val, 0664, psb_umevent_attr_show_imp, psb_umevent_attr_store_imp); static struct umevent_attribute data_7 = - __ATTR(data_7_val, 0666, psb_umevent_attr_show_imp, + __ATTR(data_7_val, 0664, psb_umevent_attr_show_imp, psb_umevent_attr_store_imp); /** * define the structure used to seed our ktype. -- 2.7.4