mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
socket: Add time64 alias for sendmsg
Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@@ -170,8 +170,20 @@ extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
|
|||||||
|
|
||||||
This function is a cancellation point and therefore not marked with
|
This function is a cancellation point and therefore not marked with
|
||||||
__THROW. */
|
__THROW. */
|
||||||
|
#ifndef __USE_TIME_BITS64
|
||||||
extern ssize_t sendmsg (int __fd, const struct msghdr *__message,
|
extern ssize_t sendmsg (int __fd, const struct msghdr *__message,
|
||||||
int __flags);
|
int __flags);
|
||||||
|
#else
|
||||||
|
# ifdef __REDIRECT
|
||||||
|
extern ssize_t __REDIRECT (sendmsg, (int __fd, const struct msghdr *__message,
|
||||||
|
int __flags),
|
||||||
|
__sendmsg64);
|
||||||
|
# else
|
||||||
|
extern ssize_t __sendmsg64 (int __fd, const struct msghdr *__message,
|
||||||
|
int __flags);
|
||||||
|
# defien sendmsg __sendmsg64
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
/* Send a VLEN messages as described by VMESSAGES to socket FD.
|
/* Send a VLEN messages as described by VMESSAGES to socket FD.
|
||||||
|
@@ -267,6 +267,7 @@ libc {
|
|||||||
__semtimedop64;
|
__semtimedop64;
|
||||||
__sem_timedwait64;
|
__sem_timedwait64;
|
||||||
__sendmmsg64;
|
__sendmmsg64;
|
||||||
|
__sendmsg64;
|
||||||
__setitimer64;
|
__setitimer64;
|
||||||
__settimeofday64;
|
__settimeofday64;
|
||||||
__shmctl64;
|
__shmctl64;
|
||||||
|
@@ -268,6 +268,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -265,6 +265,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2424,6 +2424,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2375,6 +2375,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2559,6 +2559,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -269,6 +269,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2502,6 +2502,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2475,6 +2475,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2472,6 +2472,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2467,6 +2467,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2465,6 +2465,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2473,6 +2473,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2514,6 +2514,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2529,6 +2529,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2562,6 +2562,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2527,6 +2527,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -32,3 +32,6 @@ __libc_sendmsg (int fd, const struct msghdr *msg, int flags)
|
|||||||
}
|
}
|
||||||
weak_alias (__libc_sendmsg, sendmsg)
|
weak_alias (__libc_sendmsg, sendmsg)
|
||||||
weak_alias (__libc_sendmsg, __sendmsg)
|
weak_alias (__libc_sendmsg, __sendmsg)
|
||||||
|
#if __TIMESIZE != 64
|
||||||
|
weak_alias (__sendmsg, __sendmsg64)
|
||||||
|
#endif
|
||||||
|
@@ -2382,6 +2382,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2379,6 +2379,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
@@ -2522,6 +2522,7 @@ GLIBC_2.34 __sem_timedwait64 F
|
|||||||
GLIBC_2.34 __semctl64 F
|
GLIBC_2.34 __semctl64 F
|
||||||
GLIBC_2.34 __semtimedop64 F
|
GLIBC_2.34 __semtimedop64 F
|
||||||
GLIBC_2.34 __sendmmsg64 F
|
GLIBC_2.34 __sendmmsg64 F
|
||||||
|
GLIBC_2.34 __sendmsg64 F
|
||||||
GLIBC_2.34 __setitimer64 F
|
GLIBC_2.34 __setitimer64 F
|
||||||
GLIBC_2.34 __settimeofday64 F
|
GLIBC_2.34 __settimeofday64 F
|
||||||
GLIBC_2.34 __shmctl64 F
|
GLIBC_2.34 __shmctl64 F
|
||||||
|
Reference in New Issue
Block a user