diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index b91ff6a8b8e92ab62f6a9e73957a7ae1f2baabb4..4be2dd801cda8b90c59d9fe8648d1c92c64a58d9 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -1116,7 +1116,7 @@ void register_irqchip_proc(struct irq_desc *desc, void *irqp) return; /* create /proc/irq//xint */ - proc_create_data("xint", 0644, desc->dir, &xint_proc_ops, irqp); + proc_create_data("xint", 0640, desc->dir, &xint_proc_ops, irqp); } void unregister_irqchip_proc(struct irq_desc *desc) diff --git a/fs/proc/base.c b/fs/proc/base.c index ad2d00bf87d8d6776c46fc5d2ef8af0326caf0a6..e62bb31bcbb1486645c80ea43b11e0d0872c5b3b 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -3587,7 +3587,7 @@ static const struct pid_entry tgid_base_stuff[] = { REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations), #endif #ifdef CONFIG_QOS_SCHED_SMART_GRID - REG("smart_grid_level", 0644, proc_pid_sg_level_operations), + REG("smart_grid_level", 0640, proc_pid_sg_level_operations), #endif #ifdef CONFIG_FAST_SYSCALL REG("xcall", 0644, proc_pid_xcall_operations),