summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuper Liu <supercjliu@google.com>2022-12-26 02:16:03 +0000
committerSuper Liu <supercjliu@google.com>2022-12-29 00:37:14 +0000
commit6bce6e5b7e73bb232e993faacbea9651813622d6 (patch)
tree6f56dfe2b89035728e54d16a98591125f62ab651
parentbc05908f6a4e4c4044b1766a74b9681edc66c70f (diff)
downloadcommon-6bce6e5b7e73bb232e993faacbea9651813622d6.tar.gz
gti: change the default mode for dumpstate logs.
Bug: 262796907 Change-Id: I23470887a3f06df17f496ef8c68c3571a158f1ec Signed-off-by: Super Liu <supercjliu@google.com>
-rw-r--r--goog_touch_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/goog_touch_interface.c b/goog_touch_interface.c
index aba238a..4e71d24 100644
--- a/goog_touch_interface.c
+++ b/goog_touch_interface.c
@@ -301,7 +301,7 @@ static void goog_init_proc(struct goog_touch_interface *gti)
}
}
- gti->proc_dir = proc_mkdir_data(dev_name(gti->dev), 0444, gti_proc_dir_root, gti);
+ gti->proc_dir = proc_mkdir_data(dev_name(gti->dev), 0555, gti_proc_dir_root, gti);
if (!gti->proc_dir) {
GOOG_ERR(gti, "proc_mkdir_data failed!\n");
return;
@@ -312,7 +312,7 @@ static void goog_init_proc(struct goog_touch_interface *gti)
if (gti_proc_show[type])
gti->proc_heatmap[type] = proc_create_single_data(
- name, 0444, gti->proc_dir, gti_proc_show[type], gti);
+ name, 0555, gti->proc_dir, gti_proc_show[type], gti);
if (!gti->proc_heatmap[type])
GOOG_ERR(gti, "proc_create_single_data failed for %s!\n", name);
}