Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9e20f6d authored by Sudhakar Manapati's avatar Sudhakar Manapati
Browse files

input: synaptics_dsx: change permission for sysfs secure_touch_enable



Sysfs secure_touch_enable has permission 666. Remove write access
for "others" to avoid security concerns.

This patch is propagated from msm-3.10 kernel
(commit: 313901e04c32b552deb4914311844ac6cda08238
input: synaptics_dsx: change permission for sysfs secure_touch_enable)

CRs-fixed: 763326
Change-Id: Ifcc34d418fb14af21440d2dd7200d125b02f85dd
Signed-off-by: default avatarMao Li <maol@codeaurora.org>
Signed-off-by: default avatarSudhakar Manapati <smanap@codeaurora.org>
parent 91735ceb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -454,7 +454,7 @@ static struct device_attribute attrs[] = {
			synaptics_rmi4_flipy_show,
			synaptics_rmi4_flipy_store),
#if defined(CONFIG_SECURE_TOUCH)
	__ATTR(secure_touch_enable, (S_IRUGO | S_IWUGO),
	__ATTR(secure_touch_enable, (S_IRUGO | S_IWUSR | S_IWGRP),
			synaptics_secure_touch_enable_show,
			synaptics_secure_touch_enable_store),
	__ATTR(secure_touch, S_IRUGO ,