Browse Source

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.)
master
Szabolcs Nagy 9 years ago
committed by Rich Felker
parent
commit
cc08669380
  1. 1
      arch/generic/bits/ioctl.h
  2. 1
      arch/mips/bits/ioctl.h
  3. 1
      arch/mips64/bits/ioctl.h
  4. 1
      arch/mipsn32/bits/ioctl.h
  5. 1
      arch/powerpc/bits/ioctl.h
  6. 1
      arch/powerpc64/bits/ioctl.h
  7. 1
      arch/s390x/bits/ioctl.h
  8. 1
      arch/sh/bits/ioctl.h

1
arch/generic/bits/ioctl.h

@ -137,6 +137,7 @@ struct winsize {
#define SIOCGPGRP 0x8904 #define SIOCGPGRP 0x8904
#define SIOCATMARK 0x8905 #define SIOCATMARK 0x8905
#define SIOCGSTAMP 0x8906 #define SIOCGSTAMP 0x8906
#define SIOCGSTAMPNS 0x8907
#define SIOCADDRT 0x890B #define SIOCADDRT 0x890B
#define SIOCDELRT 0x890C #define SIOCDELRT 0x890C

1
arch/mips/bits/ioctl.h

@ -145,6 +145,7 @@ struct winsize {
#define SIOCSPGRP _IOW('s', 8, pid_t) #define SIOCSPGRP _IOW('s', 8, pid_t)
#define SIOCGPGRP _IOR('s', 9, pid_t) #define SIOCGPGRP _IOR('s', 9, pid_t)
#define SIOCGSTAMP 0x8906 #define SIOCGSTAMP 0x8906
#define SIOCGSTAMPNS 0x8907
#define SIOCADDRT 0x890B #define SIOCADDRT 0x890B
#define SIOCDELRT 0x890C #define SIOCDELRT 0x890C

1
arch/mips64/bits/ioctl.h

@ -145,6 +145,7 @@ struct winsize {
#define SIOCSPGRP _IOW('s', 8, pid_t) #define SIOCSPGRP _IOW('s', 8, pid_t)
#define SIOCGPGRP _IOR('s', 9, pid_t) #define SIOCGPGRP _IOR('s', 9, pid_t)
#define SIOCGSTAMP 0x8906 #define SIOCGSTAMP 0x8906
#define SIOCGSTAMPNS 0x8907
#define SIOCADDRT 0x890B #define SIOCADDRT 0x890B
#define SIOCDELRT 0x890C #define SIOCDELRT 0x890C

1
arch/mipsn32/bits/ioctl.h

@ -145,6 +145,7 @@ struct winsize {
#define SIOCSPGRP _IOW('s', 8, pid_t) #define SIOCSPGRP _IOW('s', 8, pid_t)
#define SIOCGPGRP _IOR('s', 9, pid_t) #define SIOCGPGRP _IOR('s', 9, pid_t)
#define SIOCGSTAMP 0x8906 #define SIOCGSTAMP 0x8906
#define SIOCGSTAMPNS 0x8907
#define SIOCADDRT 0x890B #define SIOCADDRT 0x890B
#define SIOCDELRT 0x890C #define SIOCDELRT 0x890C

1
arch/powerpc/bits/ioctl.h

@ -150,6 +150,7 @@ struct winsize {
#define SIOCGPGRP 0x8904 #define SIOCGPGRP 0x8904
#define SIOCATMARK 0x8905 #define SIOCATMARK 0x8905
#define SIOCGSTAMP 0x8906 #define SIOCGSTAMP 0x8906
#define SIOCGSTAMPNS 0x8907
#define SIOCADDRT 0x890B #define SIOCADDRT 0x890B
#define SIOCDELRT 0x890C #define SIOCDELRT 0x890C

1
arch/powerpc64/bits/ioctl.h

@ -150,6 +150,7 @@ struct winsize {
#define SIOCGPGRP 0x8904 #define SIOCGPGRP 0x8904
#define SIOCATMARK 0x8905 #define SIOCATMARK 0x8905
#define SIOCGSTAMP 0x8906 #define SIOCGSTAMP 0x8906
#define SIOCGSTAMPNS 0x8907
#define SIOCADDRT 0x890B #define SIOCADDRT 0x890B
#define SIOCDELRT 0x890C #define SIOCDELRT 0x890C

1
arch/s390x/bits/ioctl.h

@ -131,6 +131,7 @@ struct winsize {
#define SIOCGPGRP 0x8904 #define SIOCGPGRP 0x8904
#define SIOCATMARK 0x8905 #define SIOCATMARK 0x8905
#define SIOCGSTAMP 0x8906 #define SIOCGSTAMP 0x8906
#define SIOCGSTAMPNS 0x8907
#define SIOCADDRT 0x890B #define SIOCADDRT 0x890B
#define SIOCDELRT 0x890C #define SIOCDELRT 0x890C

1
arch/sh/bits/ioctl.h

@ -141,6 +141,7 @@ struct winsize {
#define SIOCSPGRP _IOW('s', 8, int) #define SIOCSPGRP _IOW('s', 8, int)
#define SIOCGPGRP _IOW('s', 9, int) #define SIOCGPGRP _IOW('s', 9, int)
#define SIOCGSTAMP _IOR('s', 100, char[8]) #define SIOCGSTAMP _IOR('s', 100, char[8])
#define SIOCGSTAMPNS _IOR('s', 101, char[8])
#define SIOCADDRT 0x890B #define SIOCADDRT 0x890B
#define SIOCDELRT 0x890C #define SIOCDELRT 0x890C

Loading…
Cancel
Save