DLKM: Improve ili9881h touch driver

- Change the permission of nodes which under /proc/ilitek
from 0666 to 0444 for security.

Change-Id: I9eb0155a418b2ca23503c4aea81c589b2fba4bf5
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1228834
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
wengjun1 2018-08-17 11:18:46 +08:00 • committed by Jun Weng
commit 8fdf190aee

View file

@ -1705,7 +1705,7 @@ int ilitek_proc_init(void)
for (; i < ARRAY_SIZE(proc_table); i++) {
proc_table[i].node =
proc_create(proc_table[i].name, 0666, proc_dir_ilitek,
proc_create(proc_table[i].name, 0444, proc_dir_ilitek,
proc_table[i].fops);
if (proc_table[i].node == NULL) {