[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9d9a3af40f8a0da293e52610524674c8.squirrel@mungewell.org>
Date: Tue, 22 Apr 2014 12:30:19 -0400
From: simon@...gewell.org
To: "Rusty Russell" <rusty@...tcorp.com.au>
Cc: linux-kernel@...r.kernel.org,
"Rusty Russell" <rusty@...tcorp.com.au>,
"Simon Wood" <simon@...gewell.org>
Subject: Re: [PATCH 3/9] drivers/hid/hid-lg4ff.c: avoid world-writable sysfs
files.
> In line with practice for module parameters, we're adding a build-time
> check that sysfs files aren't world-writable.
So this is the equivalent of 'chmod 774 ...' rather than 'chmod 777...'?
Yep I'm OK with that, however what it the recommended way to make sure
that the end user is able to send changes to this /sys portal? I asked the
same question before regarding the led class /sys interface, but never got
any suggestions.
Signed-off-by: Simon Wood <simon@...gewell.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists