mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacmn: Restrict debugfs file mode
Disable write permission to qdf mem debugfs entries. Change-Id: I428f2018018cf8edacdbbb9011ed55a8894511d4 CRs-Fixed: 2047311
This commit is contained in:
parent
e4f8f0e015
commit
5b321ba16e
1 changed files with 3 additions and 3 deletions
|
|
@ -435,7 +435,7 @@ static QDF_STATUS qdf_mem_debug_debugfs_init(void)
|
|||
return QDF_STATUS_E_FAILURE;
|
||||
|
||||
debugfs_create_file("list",
|
||||
S_IRUSR | S_IWUSR,
|
||||
S_IRUSR,
|
||||
qdf_mem_debugfs_root,
|
||||
NULL,
|
||||
&fops_qdf_mem_debugfs);
|
||||
|
|
@ -483,12 +483,12 @@ static QDF_STATUS qdf_mem_debugfs_init(void)
|
|||
|
||||
|
||||
debugfs_create_atomic_t("kmalloc",
|
||||
S_IRUSR | S_IWUSR,
|
||||
S_IRUSR,
|
||||
qdf_mem_debugfs_root,
|
||||
&qdf_mem_stat.kmalloc);
|
||||
|
||||
debugfs_create_atomic_t("dma",
|
||||
S_IRUSR | S_IWUSR,
|
||||
S_IRUSR,
|
||||
qdf_mem_debugfs_root,
|
||||
&qdf_mem_stat.dma);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue