mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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:
parent
74f6fbf6a2
commit
8fdf190aee
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue