diff options
author | Sachin Nikam <snikam@nvidia.com> | 2011-07-18 14:30:34 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:47:45 -0800 |
commit | b47df5599df74ca44ba0ebf2d7befc068fcf06fb (patch) | |
tree | 3c4c2058b6a204041259f94cfc8b86c53870eb1b /arch/arm/mach-tegra/tegra3_dvfs.c | |
parent | 0248be4b9f0161ed86475a7fc4620adf959a40a1 (diff) |
ARM: tegra: Remove write permission for sysfs attr
CTS File permission test expects there shoudn't be any writable
permission for Group and Others for any file in kernel.
Bug 840409
Original-Change-Id: I277e1e8d22f19899935336f2322f8bd4b46a9f85
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/41522
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
Rebase-Id: R22e200ca6f17c9058a5739de28a9e47ca0391b40
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_dvfs.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra3_dvfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/tegra3_dvfs.c b/arch/arm/mach-tegra/tegra3_dvfs.c index 22947e243bbd..158b434a77b1 100644 --- a/arch/arm/mach-tegra/tegra3_dvfs.c +++ b/arch/arm/mach-tegra/tegra3_dvfs.c @@ -581,9 +581,9 @@ core_cap_level_store(struct kobject *kobj, struct kobj_attribute *attr, } static struct kobj_attribute cap_state_attribute = - __ATTR(core_cap_state, 0666, core_cap_state_show, core_cap_state_store); + __ATTR(core_cap_state, 0644, core_cap_state_show, core_cap_state_store); static struct kobj_attribute cap_level_attribute = - __ATTR(core_cap_level, 0666, core_cap_level_show, core_cap_level_store); + __ATTR(core_cap_level, 0644, core_cap_level_show, core_cap_level_store); const struct attribute *cap_attributes[] = { &cap_state_attribute.attr, |