sm8150-common: rootdir: Change permissions for /dev/diag.

* Logs spam with error '-13' which basically translates to access denied/invalid permission.

* Fix this by giving system read and write access.

Before in log:
  Diag_Lib:  Diag_LSM_Init: Failed to open handle to diag driver, error = 13

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
This commit is contained in:
Vishal Cj 2021-04-04 19:02:35 +05:30 committed by Omkar Chandorkar
parent deae5e88b6
commit fad43a2dc5
No known key found for this signature in database
GPG Key ID: 95A33FD984777F70
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ on early-init
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules msm_11ad_proxy
on init
# Change permissions for diag lib.
chmod 0666 /dev/diag
# Support legacy paths
symlink /sdcard /mnt/sdcard