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

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

Merge "kernel: Restrict permissions of /proc/iomem."

parents 6c7fdc72 e758417e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ static const struct file_operations proc_iomem_operations = {
static int __init ioresources_init(void)
{
	proc_create("ioports", 0, NULL, &proc_ioports_operations);
	proc_create("iomem", 0, NULL, &proc_iomem_operations);
	proc_create("iomem", S_IRUSR, NULL, &proc_iomem_operations);
	return 0;
}
__initcall(ioresources_init);