glibc/sysdeps/unix
Adhemerval Zanella 21e0f45c7d linux: Fix ancillary 64-bit time timestamp conversion (BZ #28349, BZ #28350)
The __convert_scm_timestamps() only updates the control message last
pointer for SOL_SOCKET type, so if the message control buffer contains
multiple ancillary message types the converted timestamp one might
overwrite a valid message.

The test check if the extra ancillary space is correctly handled
by recvmsg/recvmmsg, where if there is no extra space for the 64-bit
time_t converted message the control buffer should be marked with
MSG_TRUNC.  It also check if recvmsg/recvmmsg handle correctly multiple
ancillary data.

Checked on x86_64-linux and on i686-linux-gnu on both 5.11 and
4.15 kernel.

Co-authored-by: Fabian Vogt <fvogt@suse.de>
2022-01-12 10:30:10 -03:00
..
alpha Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
arm Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
bsd Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
i386 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
inet
mips Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
powerpc Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sh Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sysv/linux linux: Fix ancillary 64-bit time timestamp conversion (BZ #28349, BZ #28350) 2022-01-12 10:30:10 -03:00
x86_64 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
confstr.h
get_child_max.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getlogin.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getlogin_r.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
getpagesize.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
grantpt.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
ifreq.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Implies
make-syscalls.sh Add SYSCALL_ULONG_ARG_[12] to pass long to syscall [BZ #25810] 2020-04-29 05:35:34 -07:00
Makefile Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
setxid.h
sockatmark.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
syscall-template.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
syscall.S Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
syscalls.list misc: Add time64 alias for ioctl 2021-07-21 11:58:09 +02:00
sysdep.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00