Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 13 Sep 2015 23:06:40 +0200
From: Felix Janda <felix.janda@...teo.de>
To: musl@...ts.openwall.com
Subject: [PATCH 0/2] bits/termios.h deduplication

The below patches make it easier to see which parts of bits/termios.h
can be deduplicated.

Except for mips and powerpc the headers are identical.

Unfortunately, the header for powerpc is very different from the rest.
The main things which are identical among all headers are B0 up to
B38400 and the 10 constants starting with TCOOFF.

Only mips and powerpc define EXTA, EXTB and BOTHER. Since these
constants are also defined in <asm-generic/termbits.h> it is not clear
to me why. POSIX reserves EXTA and EXTB but not BOTHER, which therefore
violates the namespace.

Felix Janda (2):
  fix namespace violations in aarch64/bits/termios.h
  reindent powerpc's bits/termios.h to be consistent with other archs

 arch/aarch64/bits/termios.h |  14 +--
 arch/powerpc/bits/termios.h | 278 ++++++++++++++++++++++----------------------
 2 files changed, 145 insertions(+), 147 deletions(-)

-- 
2.4.6

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ