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

Commit fc53d6de authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "uio: msm_sharedmem: Restrict debugfs write to root."

parents 4abc051e 02d55287
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -333,13 +333,13 @@ static void debugfs_init(void)
		return;
	}

	f_ent = debugfs_create_file("rfsa", 0222, dir_ent, NULL, &rfsa_fops);
	f_ent = debugfs_create_file("rfsa", 0200, dir_ent, NULL, &rfsa_fops);
	if (IS_ERR(f_ent)) {
		pr_err("Failed to create debug_fs rfsa file");
		return;
	}

	f_ent = debugfs_create_file("rmts", 0222, dir_ent, NULL, &rmts_fops);
	f_ent = debugfs_create_file("rmts", 0200, dir_ent, NULL, &rmts_fops);
	if (IS_ERR(f_ent)) {
		pr_err("Failed to create debug_fs rmts file");
		return;