Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 3 Jul 2016 17:01:24 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: [PATCH 00/16] sys/ioctl.h and termios.h cleanups

the contents of sys/ioctl.h is linux specific and not defined by any
standard, the defacto standard is whatever glibc sys/ioctl.h does.

termios.h is defined by posix, but there are various extensions.
glibc does not include linux uapi headers, but contains a copy of
most asm/termbits.h definitions etc.

this is v2 of the patchset, changes:
- add powerpc64 and mipsn32 changes
- add *speed members to mips termios struct

Szabolcs Nagy (16):
  use the generic ioctl.h for x86_64, x32 and aarch64
  remove linux asm/sockios.h macros from ioctl.h
  remove ioctl macros that were removed from linux uapi
  add missing SIOCSIFNAME from linux/sockios.h to ioctl.h
  add missing TIOC* macros to ioctl.h
  remove mips and powerpc ioctls that are missing from linux uapi
  fix mips, mips64, mipsn32 TIOCM_* macros in ioctl.h
  fix TIOCMSET in mips ioctl.h
  remove termios2 related ioctls from sh ioctl.h
  fix FIOQSIZE in arm ioctl.h
  fix generic termios.h to be more consistent with glibc
  fix powerpc termios.h to be more consistent with glibc
  fix mips termios.h to be more consistent with glibc
  fix TCS* definitions in mips termios.h
  fix CBAUDEX in powerpc termios.h
  fix struct termios in mips64 and mipsn32 termios.h

 arch/aarch64/bits/ioctl.h     | 213 ------------------------------------------
 arch/arm/bits/ioctl_fix.h     |   2 +
 arch/generic/bits/ioctl.h     |  22 ++---
 arch/generic/bits/ioctl_fix.h |   0
 arch/generic/bits/termios.h   |  23 +++--
 arch/mips/bits/ioctl.h        |  55 +++++------
 arch/mips/bits/termios.h      |  38 ++++----
 arch/mips64/bits/ioctl.h      |  55 +++++------
 arch/mips64/bits/termios.h    |  37 ++++----
 arch/mipsn32/bits/ioctl.h     |  55 +++++------
 arch/mipsn32/bits/termios.h   |  37 ++++----
 arch/powerpc/bits/ioctl.h     |  26 +-----
 arch/powerpc/bits/termios.h   |  26 +++---
 arch/powerpc64/bits/ioctl.h   |  29 +-----
 arch/powerpc64/bits/termios.h |  26 +++---
 arch/sh/bits/ioctl.h          |  17 +---
 arch/x32/bits/ioctl.h         | 197 --------------------------------------
 arch/x86_64/bits/ioctl.h      | 197 --------------------------------------
 18 files changed, 192 insertions(+), 863 deletions(-)
 delete mode 100644 arch/aarch64/bits/ioctl.h
 create mode 100644 arch/arm/bits/ioctl_fix.h
 create mode 100644 arch/generic/bits/ioctl_fix.h
 delete mode 100644 arch/x32/bits/ioctl.h
 delete mode 100644 arch/x86_64/bits/ioctl.h

-- 
2.8.1

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.