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: <20181004222953.2229-1-hpa@zytor.com>
Date:   Thu,  4 Oct 2018 15:29:48 -0700
From:   "H. Peter Anvin (Intel)" <hpa@...or.com>
To:     linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
        linux-serial@...r.kernel.org
Cc:     "H. Peter Anvin (Intel)" <hpa@...or.com>,
        "James E.J. Bottomley" <jejb@...isc-linux.org>,
        Arnd Bergmann <arnd@...db.de>, Chris Zankel <chris@...kel.net>,
        Fenghua Yu <fenghua.yu@...el.com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Helge Deller <deller@....de>, James Hogan <jhogan@...nel.org>,
        Jiri Slaby <jslaby@...e.com>,
        Kate Stewart <kstewart@...uxfoundation.org>,
        Max Filippov <jcmvbkbc@...il.com>,
        Paul Burton <paul.burton@...s.com>,
        Philippe Ombredanne <pombredanne@...b.com>,
        Ralf Baechle <ralf@...ux-mips.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Tony Luck <tony.luck@...el.com>, linux-ia64@...r.kernel.org,
        linux-mips@...ux-mips.org, linux-parisc@...r.kernel.org,
        linux-xtensa@...ux-xtensa.org
Subject: [PATCH 0/5] termios: remove arch redundancy in <asm/termbits.h>

<asm/termbits.h> is one of those files which define an ABI. Some were
made different due to the desire to be compatible with legacy
architectures, others were mostly direct copies of the i386
definitions, which are now in asm-generic.

This folds the IA64, MIPS, PA-RISC, and Xtensa implementations into
the generic one.  IA64 and Xtensa are identical, MIPS and PA-RISC are
trivially different and just need a handful of constants redefined.

<asm-generic/termbits.h> has a few very minor adjustments to allow this.

 arch/ia64/include/uapi/asm/termbits.h   | 210 +-----------------------------
 arch/mips/include/uapi/asm/ioctls.h     |   2 +
 arch/mips/include/uapi/asm/termbits.h   | 213 ++----------------------------
 arch/parisc/include/uapi/asm/termbits.h | 197 +---------------------------
 arch/xtensa/include/uapi/asm/termbits.h | 222 +-------------------------------
 include/uapi/asm-generic/termbits.h     |   7 +-
 6 files changed, 27 insertions(+), 824 deletions(-)

Signed-off-by: H. Peter Anvin (Intel) <hpa@...or.com>
Cc: "James E.J. Bottomley" <jejb@...isc-linux.org>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: Chris Zankel <chris@...kel.net>
Cc: Fenghua Yu <fenghua.yu@...el.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Helge Deller <deller@....de>
Cc: James Hogan <jhogan@...nel.org>
Cc: Jiri Slaby <jslaby@...e.com>
Cc: Kate Stewart <kstewart@...uxfoundation.org>
Cc: Max Filippov <jcmvbkbc@...il.com>
Cc: Paul Burton <paul.burton@...s.com>
Cc: Philippe Ombredanne <pombredanne@...b.com>
Cc: Ralf Baechle <ralf@...ux-mips.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Tony Luck <tony.luck@...el.com>
Cc: <linux-ia64@...r.kernel.org>
Cc: <linux-mips@...ux-mips.org>
Cc: <linux-parisc@...r.kernel.org>
Cc: <linux-xtensa@...ux-xtensa.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ