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

Commit 8ac6a6b6 authored by Yuanyuan Liu's avatar Yuanyuan Liu
Browse files

icnss: Change debugfs permission



Change debugfs permission to allow root only access to those files.

CRs-Fixed: 2051867
Change-Id: I4bef907f8cbe39169b38e4f19072a0628e199691
Signed-off-by: default avatarYuanyuan Liu <yuanliu@codeaurora.org>
parent 3d82d664
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4019,14 +4019,14 @@ static int icnss_debugfs_create(struct icnss_priv *priv)

	priv->root_dentry = root_dentry;

	debugfs_create_file("fw_debug", 0644, root_dentry, priv,
	debugfs_create_file("fw_debug", 0600, root_dentry, priv,
			    &icnss_fw_debug_fops);

	debugfs_create_file("stats", 0644, root_dentry, priv,
	debugfs_create_file("stats", 0600, root_dentry, priv,
			    &icnss_stats_fops);
	debugfs_create_file("reg_read", 0600, root_dentry, priv,
			    &icnss_regread_fops);
	debugfs_create_file("reg_write", 0644, root_dentry, priv,
	debugfs_create_file("reg_write", 0600, root_dentry, priv,
			    &icnss_regwrite_fops);

out: