add SIOCGSTAMPNS socket ioctl macro to ioctl.h
authorSzabolcs Nagy <nsz@port70.net>
Sun, 13 Aug 2017 20:47:42 +0000 (22:47 +0200)
committerRich Felker <dalias@aerifal.cx>
Tue, 29 Aug 2017 23:48:37 +0000 (19:48 -0400)
commitcc086693808c007679f02d5e0ee592446bf1b386
tree9465081b51725ed0e63352f24da4f9ec40d1f765
parent02b50c9d0a749f3e89e352a5760cc55a11977761
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.)
arch/generic/bits/ioctl.h
arch/mips/bits/ioctl.h
arch/mips64/bits/ioctl.h
arch/mipsn32/bits/ioctl.h
arch/powerpc/bits/ioctl.h
arch/powerpc64/bits/ioctl.h
arch/s390x/bits/ioctl.h
arch/sh/bits/ioctl.h