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-next>] [day] [month] [year] [list]
Message-ID: <20200509064031.181091-1-wangkefeng.wang@huawei.com>
Date:   Sat, 9 May 2020 14:40:28 +0800
From:   Kefeng Wang <wangkefeng.wang@...wei.com>
To:     Greg KH <gregkh@...uxfoundation.org>,
        <linux-kernel@...r.kernel.org>
CC:     Ingo Molnar <mingo@...nel.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Kefeng Wang <wangkefeng.wang@...wei.com>
Subject: [PATCH 0/3] seq_file: Introduce DEFINE_SEQ_ATTRIBUTE() helper macro

As discussion in https://lore.kernel.org/lkml/20191129222310.GA3712618@kroah.com/,
we could introduce a new helper macro to reduce losts of boilerplate
code, vmstat and kprobes is the example which covert to use it, if
this is accepted, I will send out more clean ups.

Kefeng Wang (3):
  seq_file: Introduce DEFINE_SEQ_ATTRIBUTE() helper macro
  mm: vmstat: Convert to use DEFINE_SEQ_ATTRIBUTE macro
  kernel: kprobes: Convert to use DEFINE_SEQ_ATTRIBUTE macro

 include/linux/seq_file.h | 19 +++++++++++++++++++
 kernel/kprobes.c         | 33 ++++++---------------------------
 mm/vmstat.c              | 32 ++++++--------------------------
 3 files changed, 31 insertions(+), 53 deletions(-)

-- 
2.26.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ