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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201022122858.GT3576660@ZenIV.linux.org.uk>
Date:   Thu, 22 Oct 2020 13:28:58 +0100
From:   Al Viro <viro@...iv.linux.org.uk>
To:     Luo Jiaxing <luojiaxing@...wei.com>
Cc:     akpm@...ux-foundation.org, andriy.shevchenko@...ux.intel.com,
        linux-kernel@...r.kernel.org, martin.petersen@...cle.com,
        john.garry@...wei.com, himanshu.madhani@...ium.com,
        felipe.balbi@...ux.intel.com, gregkh@...uxfoundation.org,
        uma.shankar@...el.com, anshuman.gupta@...el.com,
        animesh.manna@...el.com, linux-usb@...r.kernel.org,
        linux-scsi@...r.kernel.org, linuxarm@...wei.com
Subject: Re: [PATCH v1 0/5] Introduce a new helper marco
 DEFINE_STORE_ATTRIBUTE at seq_file.c

On Thu, Oct 22, 2020 at 04:39:52PM +0800, Luo Jiaxing wrote:
> We already own DEFINE_SHOW_ATTRIBUTE() helper macro for defining attribute
> for read-only file, but we found many of drivers also want a helper marco for
> read-write file too.

DEFINE_SHOW_ATTRIBUTE is a bloody bad idea; let's not replicate the garbage
any further.  If you want templates - C++ is over that way...

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ