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
| ||
|
Message-ID: <YCeHqqQIBrdJd/2C@localhost.localdomain> Date: Sat, 13 Feb 2021 11:02:50 +0300 From: Alexey Dobriyan <adobriyan@...il.com> To: "Eric W. Biederman" <ebiederm@...ssion.com> Cc: Joe Perches <joe@...ches.com>, Andrew Morton <akpm@...ux-foundation.org>, linux-fsdevel <linux-fsdevel@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org> Subject: Re: [PATCH] proc: Convert S_<FOO> permission uses to octal On Fri, Feb 12, 2021 at 04:01:48PM -0600, Eric W. Biederman wrote: > Joe Perches <joe@...ches.com> writes: > > > Convert S_<FOO> permissions to the more readable octal. > Something like that should be able to address the readability while > still using symbolic constants. Macros are easy. I've sent a patch long time ago which does essentially #define rwxrwxrwx 0777 ... But then kernel will start using something nobode else does. This whole issue is like sizeof(*ptr) vs sizeof(sizeof(struct S)). No preferred way overall with ever vigilant checkpatch.pl guarding kernel 24/7. :-)
Powered by blists - more mailing lists