From: Dmitry Torokhov <dtor_core@ameritech.net>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>
Subject: [PATCH] i8k: fix 'power_status' sysfs permissions
Date: Thu, 25 Nov 2004 01:31:28 -0500 [thread overview]
Message-ID: <200411250131.31624.dtor_core@ameritech.net> (raw)
Well, that was a stupid mistake on my part.
--
Dmitry
===================================================================
ChangeSet@1.1967, 2004-11-25 00:30:50-05:00, dtor_core@ameritech.net
I8K: Fix power_status parameter sysfs permissions.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
i8k.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
===================================================================
diff -Nru a/drivers/char/i8k.c b/drivers/char/i8k.c
--- a/drivers/char/i8k.c 2004-11-25 01:26:46 -05:00
+++ b/drivers/char/i8k.c 2004-11-25 01:26:46 -05:00
@@ -78,7 +78,7 @@
MODULE_PARM_DESC(restricted, "Allow fan control if SYS_ADMIN capability set");
static int power_status;
-module_param(power_status, bool, 600);
+module_param(power_status, bool, 0600);
MODULE_PARM_DESC(power_status, "Report power status in /proc/i8k");
static ssize_t i8k_read(struct file *, char __user *, size_t, loff_t *);
reply other threads:[~2004-11-25 6:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200411250131.31624.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.