Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37735110
en ru br
ALT Linux repos
S:6.5.5-alt1

Group :: System/Kernel and hardware
RPM: kernel-image-un-def

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: proc-iterrupts.patch
Download


 fs/proc/interrupts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/proc/interrupts.c b/fs/proc/interrupts.c
index cb0edc7cbf09..0deb8bbd71f2 100644
--- a/fs/proc/interrupts.c
+++ b/fs/proc/interrupts.c
@@ -36,7 +36,7 @@ static const struct seq_operations int_seq_ops = {
 
 static int __init proc_interrupts_init(void)
 {
-	proc_create_seq("interrupts", 0, NULL, &int_seq_ops);
+	proc_create_seq("interrupts", S_IRUSR, NULL, &int_seq_ops);
 	return 0;
 }
 fs_initcall(proc_interrupts_init);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin