Bobby Bingham
3517d74a5e
move arch-invariant definitions out of bits/ioctl.h
2019-02-07 12:43:19 -05:00
Szabolcs Nagy
754f66afb7
ioctl TIOCGPTPEER from linux v4.13
...
added for safe opening of peer end of pty in a mount namespace.
new in linux commit c6325179238f1d4683edbec53d8322575d76d7e2
2017-11-05 18:41:22 -05:00
Szabolcs Nagy
cc08669380
add SIOCGSTAMPNS socket ioctl macro to ioctl.h
...
it is defined in linux asm/sockios.h since commit
ae40eb1ef30ab4120bd3c8b7e3da99ee53d27a23 (linux v2.6.22)
but was missing from musl by accident.
in musl the sockios macros are exposed in sys/ioctl.h together
with other ioctl requests instead of in sys/socket.h because of
namespace rules. (glibc has them in sys/socket.h under _GNU_SOURCE.)
2017-08-29 19:48:37 -04:00
Szabolcs Nagy
02b50c9d0a
fix mips ioctl macros to match linux asm/sockios.h
2017-08-29 19:48:35 -04:00
Szabolcs Nagy
809495f7b7
fix TIOCMSET in mips ioctl.h
...
it seems it was a typo.
2016-07-03 14:54:35 -04:00
Szabolcs Nagy
b76d4e06f1
fix mips, mips64, mipsn32 TIOCM_* macros in ioctl.h
...
TIOCM_ macros were wrongly using the asm-generic/termios.h definitions
instead of the mips specific ones from asm/termios.h
2016-07-03 14:54:34 -04:00
Szabolcs Nagy
058c0b2d70
remove mips and powerpc ioctls that are missing from linux uapi
...
mips and powerpc use their own asm/ioctls.h, not the asm-generic/ioctls.h
and they lack termiox macros that are available on other targets.
see kernel commit 1d65b4a088de407e99714fdc27862449db04fb5c
2016-07-03 14:54:34 -04:00
Szabolcs Nagy
5ce901279e
add missing TIOC* macros to ioctl.h
...
these are defined in linux asm/ioctls.h.
(powerpc64 and powerpc bits/ioctl.h are now identical)
2016-07-03 14:54:34 -04:00
Szabolcs Nagy
8735a921d0
add missing SIOCSIFNAME from linux/sockios.h to ioctl.h
...
glibc ioctl.h has it too.
2016-07-03 14:54:33 -04:00
Szabolcs Nagy
2df9ae9161
remove ioctl macros that were removed from linux uapi
...
TIOCTTYGSTRUCT, TIOCGHAYESESP, TIOCSHAYESESP and TIOCM_MODEM_BITS
were removed from the linux uapi and not present in glibc ioctl.h
2016-07-03 14:54:33 -04:00
Rich Felker
83933573af
add mips64 port
...
patch by Mahesh Bodapati and Jaydeep Patil of Imagination
Technologies.
2016-03-06 17:41:56 +00:00