diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index 9a31d1845e70f4491cd9a056315d9ef6bb52de2d..39a854ec93cac5016088f3e6905ff2580136b633 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -853,7 +853,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 1788ea4e9206dd17a91238871d0cd390b0369865..2b3719da025b577957e20f1e38870e29a1cc9616 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -3616,7 +3616,7 @@ static const struct pid_entry tgid_base_stuff[] = { REG("smart_grid_level", 0644, proc_pid_sg_level_operations), #endif #ifdef CONFIG_FAST_SYSCALL - REG("xcall", 0644, proc_pid_xcall_operations), + REG("xcall", 0640, proc_pid_xcall_operations), #endif #ifdef CONFIG_XCALL_PREFETCH REG("prefetch", 0644, proc_pid_xcall_prefetch_operations),