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:	Sat, 29 Jul 2006 09:59:35 +0200 (MEST)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	Dmitry Torokhov <dtor@...ightbb.com>
cc:	Josef Sipek <jsipek@....cs.sunysb.edu>,
	Handle X <xhandle@...il.com>,
	Björn Steinbrink <B.Steinbrink@....de>,
	Alexey Dobriyan <adobriyan@...il.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [RFC] #define rwxr_xr_x 0755

>> > >>       0644 vs S_IRUGO|S_IWUSR vs rw_r__r__
>> > >>
>> > >> I'd say #2 really sucks.
>> > >
>> > >IMHO #3 sucks more, it's not as easy to spot when glossing over the
>> > >code, the underscores make it quite ugly (think _r________) and it's
>> 
>> Even better!
>
>So now tell me how is S_I0644 better than 0644? S_IRUGO et al at least hide
>implementation details.

+1. 


Jan Engelhardt
-- 
-
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