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, 20 Dec 2011 16:34:24 +0400
From:	Vitaly Kuznetsov <vitty@...linux.ru>
To:	<ebiederm@...ssion.com>
Cc:	Greg Kroah-Hartman <gregkh@...e.de>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sysfs: change permissions for /sys from 0755 to 0555

On Sun, 18 Dec 2011 18:32:18 -0800, ebiederm@...ssion.com wrote:
> Vitaly Kuznetsov <vitty@...linux.ru> writes:
>
>> There is a misleading difference between /proc and /sys permissions, 
>> /proc is
>> 0555 and /sys is 0755. But
>> as it is impossible to create or unlink something in /sys it would 
>> be nice to
>> have same permissions.
>
> Where does this difference matter?  This doesn't look like something
> that could matter in practice.  If this does matter in practice this
> change deserves a comment and a fuller explanation.

This matters only for programs which 'read' permissions instead of 
'testing' them, but it's a challenge to imagine such program.

>
> The change itself seems reasonable and probably worth making as 
> general
> cleanup.
>

Let's consider it cleanup-only. The main idea is: /proc and /sys 
permissions must be the same as they are really the same.
--
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