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

Commit a3d68cd5 authored by Ravi Gummadidala's avatar Ravi Gummadidala
Browse files

msm: ipa: remove world writable permissions on debugfs files



This is a security best practice.

Change-Id: I1990ee7b3e8b9d359fe32ef6d9f60d609700dcc1
Signed-off-by: default avatarRavi Gummadidala <rgummadi@codeaurora.org>
parent 5856d862
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1544,8 +1544,8 @@ void ipa_debugfs_init(void)
{
	const mode_t read_only_mode = S_IRUSR | S_IRGRP | S_IROTH;
	const mode_t read_write_mode = S_IRUSR | S_IRGRP | S_IROTH |
			S_IWUSR | S_IWGRP | S_IWOTH;
	const mode_t write_only_mode = S_IWUSR | S_IWGRP | S_IWOTH;
			S_IWUSR | S_IWGRP;
	const mode_t write_only_mode = S_IWUSR | S_IWGRP;
	struct dentry *file;

	dent = debugfs_create_dir("ipa", 0);