lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 15 Jul 2014 19:24:14 +0600
From:	Mohammad Merajul Islam Molla <meraj.enigma@...il.com>
To:	"Rafael J. Wysocki" <rjw@...ysocki.net>
Cc:	Daniel Lezcano <daniel.lezcano@...aro.org>,
	linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH] cpuidle: fix permission for driver name sysfs node

Thanks. Its not actually :).

On Tue, Jul 15, 2014 at 6:28 PM, Rafael J. Wysocki <rjw@...ysocki.net> wrote:
> On Tuesday, July 15, 2014 11:16:40 AM Mohammad Merajul Islam Molla wrote:
>> Hi Rafael/Daniel,
>>
>> Did you get a chance to review the patch?
>
> We will review it.  Why is this urgent?
>
> Rafael
>
>
>> On Sat, Jul 12, 2014 at 7:29 PM, Mohammad Merajul Islam Molla
>> <meraj.enigma@...il.com> wrote:
>> > cpuidle driver name sysfs node is read-only. So permission should be 0444.
>> >
>> > Signed-off-by: Mohammad Merajul Islam Molla <meraj.enigma@...il.com>
>> > ---
>> >  drivers/cpuidle/sysfs.c | 2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/drivers/cpuidle/sysfs.c b/drivers/cpuidle/sysfs.c
>> > index efe2f17..97c5903 100644
>> > --- a/drivers/cpuidle/sysfs.c
>> > +++ b/drivers/cpuidle/sysfs.c
>> > @@ -445,7 +445,7 @@ static void cpuidle_remove_state_sysfs(struct cpuidle_device *device)
>> >
>> >  #define define_one_driver_ro(_name, show)                       \
>> >         static struct cpuidle_driver_attr attr_driver_##_name = \
>> > -               __ATTR(_name, 0644, show, NULL)
>> > +               __ATTR(_name, 0444, show, NULL)
>> >
>> >  struct cpuidle_driver_kobj {
>> >         struct cpuidle_driver *drv;
>> > --
>> > 1.9.1
>> >
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-pm" in
>> the body of a message to majordomo@...r.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> --
> I speak only for myself.
> Rafael J. Wysocki, Intel Open Source Technology Center.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ