glibc/sysdeps/unix/sysv/linux
Adhemerval Zanella cc6ff883a6 sysvipc: Fix tst-sysvshm-linux on x32
The Linux shminfo fields are '__syscall_ulong_t' (which is 64-bit
for x32).  This patch fixes the test to compare againt the correct
type and to only clamp the value if '__syscall_ulong_t' is the same
size of 'unsigned long int'.

Checked on x86_64-linux-gnu-x32.

(cherry picked from commit 602da9de69)
2021-08-22 15:58:11 +02:00
..
aarch64 AArch64: Use __memcpy_simd on Neoverse N2/V1 2020-10-14 14:29:07 +01:00
alpha Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
arc Regenerate configure scripts. 2020-08-04 21:36:19 -04:00
arm Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
bits Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
csky Regenerate configure scripts. 2020-08-04 21:36:19 -04:00
generic generic/typesizes.h: Add support for 32-bit arches with 64-bit types 2020-04-29 08:30:03 -07:00
hppa Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
i386 Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
ia64 Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
include sysv: linux: Add 64-bit time_t variant for shmctl 2020-07-09 12:05:47 -03:00
m68k Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
microblaze Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
mips Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
net
netash
netatalk
netax25
neteconet
netinet
netipx
netiucv
netpacket
netrom
netrose
nfs
nios2 Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
powerpc Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
riscv Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
s390 Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
scsi
sh sh: Add sh4 fpu Implies folder 2020-11-27 09:50:13 -03:00
sparc Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
sys Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
wordsize-64
x86 Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
x86_64 Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
Implies
Makefile sysvipc: Fix IPC_INFO and SHM_INFO handling [BZ #26636] 2020-10-15 10:13:37 -03:00
Versions Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
_G_config.h
_exit.c
a.out.h
accept.c
accept4.c
access.c
adjtime.c y2038: linux: Provide __adjtime64 implementation 2020-05-20 01:03:26 +02:00
adjtimex.c y2038: linux: Provide ___adjtimex64 implementation 2020-05-20 01:03:26 +02:00
aio_misc.h linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
aio_sigqueue.c
alphasort64.c
arch-fd_to_filename.h
arch-fork.h
bind.c
check_native.c
check_pf.c
clock.c y2038: Replace __clock_gettime with __clock_gettime64 2020-05-20 16:45:16 +02:00
clock_adjtime.c y2038: linux: Provide __clock_adjtime64 implementation 2020-05-20 01:03:26 +02:00
clock_getcpuclockid.c
clock_getres.c y2038: fix: Add missing libc_hidden_def attribute for some syscall wrappers 2020-03-23 21:21:28 +01:00
clock_gettime.c y2038: fix: Add missing libc_hidden_def attribute for some syscall wrappers 2020-03-23 21:21:28 +01:00
clock_nanosleep.c y2038: fix: Add missing libc_hidden_def attribute for some syscall wrappers 2020-03-23 21:21:28 +01:00
clock_settime.c y2038: fix: Add missing libc_hidden_def attribute for some syscall wrappers 2020-03-23 21:21:28 +01:00
close.c
close_nocancel.c
cmsg_nxthdr.c
configure
configure.ac
connect.c
copy_file_range.c
creat.c
creat64.c
createthread.c nptl: Make pthread_attr_t dynamically extensible 2020-06-02 11:54:58 +02:00
default-sched.h
device-nrs.h
dl-brk.c
dl-execstack.c
dl-fxstatat64.c
dl-getcwd.c
dl-librecon.h
dl-openat64.c
dl-opendir.c
dl-origin.c
dl-osinfo.h
dl-sbrk.c
dl-sysdep.c
dl-sysdep.h
dl-vdso-setup.c
dl-vdso-setup.h
dl-vdso.h
dl-writev.h
epoll_pwait.c linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
epoll_wait.c
errlist-compat.c signal: Move sys_errlist to a compat symbol 2020-07-07 14:10:58 -03:00
errlist-compat.h signal: Move sys_errlist to a compat symbol 2020-07-07 14:10:58 -03:00
errqueue.h
eventfd_read.c
eventfd_write.c
exit-thread.h
faccessat.c
fallocate.c
fallocate64.c
fatal-prepare.h
fchmodat.c
fcntl.c
fcntl64.c
fcntl_nocancel.c
fdatasync.c
fexecve.c
filter-nr-syscalls.awk
fips-private.h
fixup-asm-unistd.h
fpathconf.c
fstatfs64.c
fstatvfs.c
fstatvfs64.c
fsync.c
ftruncate.c
ftruncate64.c
futimens.c
futimes.c
futimesat.c y2038: linux: Provide __futimesat64 implementation 2020-03-09 10:26:46 +01:00
fxstat.c
fxstat64.c
fxstatat.c
fxstatat64.c
gai_sigqueue.c
gen-syscall-h.awk
gentempfd.c
getclktck.c
getcpu.c
getcwd.c
getdents.c
getdents64.c
getdirentries.c
getdirentries64.c
getdtsz.c
getentropy.c
gethostid.c
getipv4sourcefilter.c
getitimer.c linux: Use long time_t __getitimer/__setitimer 2020-04-02 09:21:06 -07:00
getloadavg.c
getlogin.c
getlogin_r.c
getpagesize.c
getpeername.c
getpriority.c
getpt.c
getrandom.c
getrlimit.c
getrlimit64.c
getrusage.c linux: Use long time_t for wait4/getrusage 2020-04-02 09:21:06 -07:00
getsockname.c
getsockopt.c
getsourcefilter.c
getsourcefilter.h
getsysstats.c
gettimeofday.c
glibcsyscalls.py Linux: Enhance glibcsyscalls.py to support listing system calls 2020-05-11 22:23:34 +02:00
glob-lstat-compat.c
glob.c
glob64-lstat-compat.c
glob64.c
globfree.c
globfree64.c
grantpt.c
if_index.c
ifaddrs.c
ifreq.c
internal-signals.h linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
internal_statvfs.c
internal_statvfs.h
internal_statvfs64.c
ipc_ops.h
ipc_priv.h sysv: linux: Add 64-bit time_t variant for semctl 2020-07-09 12:05:35 -03:00
kernel-features.h
kernel-posix-cpu-timers.h
kernel-posix-timers.h
kernel_sigaction.h
kernel_stat.h
kernel_termios.h
ldd-rewrite.sed
lddlibc4.c
ldsodefs.h
libc-vdso.h
libc_fatal.c
linux_fsinfo.h
listen.c
local-setxid.h
lseek.c
lseek64.c
lutimes.c y2038: linux: Provide __lutimes64 implementation 2020-03-09 10:26:46 +01:00
lxstat.c
lxstat64.c
malloc-sysdep.h
mlock2.c
mmap.c
mmap64.c
mmap_internal.h
mq_close.c
mq_getattr.c
mq_notify.c librt: fix NULL pointer dereference (bug 28213) 2021-08-17 19:02:38 +05:30
mq_open.c
mq_receive.c
mq_send.c
mq_timedreceive.c y2038: linux: Provide __mq_timedreceive_time64 implementation 2020-04-06 23:05:11 +02:00
mq_timedsend.c y2038: linux: Provide __mq_timedsend_time64 implementation 2020-04-06 23:05:11 +02:00
mq_unlink.c
msgctl.c sysvipc: Fix IPC_INFO and MSG_INFO handling [BZ #26639] 2020-10-15 10:11:40 -03:00
msgget.c
msgrcv.c
msgsnd.c
msync.c
netlink_assert_response.c
netlinkaccess.h
nice.c
not-cancel.h
not-errno.h
nscd_setup_thread.c
ntp_gettime.c Linux: Add missing handling of tai field to __ntp_gettime64 2020-05-20 17:58:56 +02:00
ntp_gettimex.c y2038: linux: Provide __ntp_gettimex64 implementation 2020-05-20 01:09:16 +02:00
olddirent.h
oldglob.c
open.c
open64.c
open64_nocancel.c
open_by_handle_at.c
open_nocancel.c
openat.c
openat64.c
openat64_nocancel.c
openat_nocancel.c
opensock.c
pathconf.c
pathconf.h
paths.h
pause.c
personality.c
pkey_get.c
pkey_mprotect.c
pkey_set.c
poll.c
posix_fadvise.c
posix_fadvise64.c
posix_fallocate.c
posix_fallocate64.c
posix_madvise.c
ppoll.c linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
prctl.c Add a C wrapper for prctl [BZ #25896] 2020-04-30 10:42:43 -07:00
pread.c
pread64.c
pread64_nocancel.c
preadv.c
preadv2.c
preadv64.c
preadv64v2.c
prlimit.c
process_vm_readv.c Add C wrappers for process_vm_readv/process_vm_writev [BZ #25810] 2020-04-29 13:20:27 -07:00
process_vm_writev.c Add C wrappers for process_vm_readv/process_vm_writev [BZ #25810] 2020-04-29 13:20:27 -07:00
prof-freq.c
profil-counter.h
profil.c
pselect.c linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
pt-raise.c
pthread-pids.h
pthread_getcpuclockid.c
pthread_kill.c
pthread_sigqueue.c
ptrace.c
ptsname.c
pwrite.c
pwrite64.c
pwritev.c
pwritev2.c
pwritev64.c
pwritev64v2.c
raise.c
read.c
read_nocancel.c
readahead.c
readdir.c
readdir64.c
readdir64_r.c
readdir_r.c
readonly-area.c
readv.c
reboot.c
recv.c
recvfrom.c
recvmmsg.c
recvmsg.c
remove.c
rename.c
renameat.c
renameat2.c
sa_len.c
safe-fatal.h
scandir64.c
sched_getaffinity.c
sched_getcpu.c Linux: Remove rseq support 2020-07-16 17:55:35 +02:00
sched_rr_gi.c
sched_setaffinity.c Linux: Remove remnants of the getcpu cache 2020-05-16 15:47:51 +02:00
segfault.c
select.c
semctl.c sysvipc: Fix SEM_STAT_ANY kernel argument pass [BZ #26637] 2020-10-15 10:11:01 -03:00
semget.c
semop.c
semtimedop.c
send.c
sendmmsg.c
sendmsg.c
sendto.c
setegid.c
seteuid.c
setgid.c
setgroups.c
sethostid.c
setipv4sourcefilter.c
setitimer.c linux: Use long time_t __getitimer/__setitimer 2020-04-02 09:21:06 -07:00
setregid.c
setresgid.c
setresuid.c
setreuid.c
setrlimit.c
setrlimit64.c
setsockopt.c
setsourcefilter.c
settimeofday.c Linux: Fix UTC offset setting in settimeofday for __TIMESIZE != 64 2020-06-30 21:20:20 +02:00
settimezone.c
setuid.c
shlib-versions
shm-directory.c
shmat.c
shmctl.c sysvipc: Fix IPC_INFO and SHM_INFO handling [BZ #26636] 2020-10-15 10:13:37 -03:00
shmdt.c
shmget.c
shutdown.c
sigaction.c linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
siglist-compat.c signal: Move sys_siglist to a compat symbol 2020-07-07 14:10:58 -03:00
signal.c
signalfd.c linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
sigpending.c linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
sigprocmask.c linux: Use pthread_sigmask on sigprocmask 2020-04-21 15:10:07 -03:00
sigqueue.c
sigreturn.c
sigset-cvt-mask.h
sigsetops.h linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
sigstack.c
sigsuspend.c linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
sigtimedwait.c linux: Fix __NSIG_WORDS and add __NSIG_BYTES 2020-07-07 14:10:58 -03:00
sigwait.c
sigwaitinfo.c
single-thread.h
sizes.h
socket.c
socketcall.h
socketpair.c
spawni.c
speed.c
splice.c
statfs64.c
statvfs.c
statvfs64.c
statx.c
statx_cp.c
statx_cp.h
struct_kernel_msqid64_ds.h sysv: linux: Add 64-bit time_t variant for msgctl 2020-07-09 12:05:40 -03:00
struct_kernel_semid64_ds.h sysv: linux: Add 64-bit time_t variant for semctl 2020-07-09 12:05:35 -03:00
struct_kernel_shmid64_ds.h sysv: linux: Add 64-bit time_t variant for shmctl 2020-07-09 12:05:47 -03:00
sync_file_range.c
syscall-names.list Update syscall-names.list for Linux 5.7. 2020-06-15 22:58:22 +00:00
syscalls.list y2038: linux: Provide __clock_adjtime64 implementation 2020-05-20 01:03:26 +02:00
sysconf.c
sysctl.c Linux: Remove <sys/sysctl.h> and the sysctl function 2020-04-15 17:17:32 +02:00
sysdep-cancel.h
sysdep-vdso.h
sysdep.h
syslog.c
tcdrain.c
tcflow.c
tcflush.c
tcgetattr.c
tcgetpgrp.c
tcsendbrk.c
tcsetattr.c
tcsetpgrp.c
tee.c
termio.h
test-errno-linux.c linux: Use pthread_sigmask on sigprocmask 2020-04-21 15:10:07 -03:00
time-clockid.h
time.c
timer_create.c
timer_delete.c
timer_getoverr.c
timer_gettime.c
timer_routines.c Linux: Use __pthread_attr_setsigmask_internal for timer helper thread 2020-06-02 11:59:26 +02:00
timer_settime.c
timerfd_gettime.c
timerfd_settime.c
times.c
timespec_get.c
tls-internal.c string: Remove old TLS usage on strsignal 2020-07-07 14:10:58 -03:00
tls-internal.h string: Use tls-internal on strerror_l 2020-07-07 14:10:58 -03:00
truncate.c
truncate64.c
tst-affinity-pid.c
tst-affinity-static.c
tst-affinity.c
tst-align-clone.c
tst-clone.c
tst-clone2.c
tst-clone3.c
tst-fallocate-common.c
tst-fallocate.c
tst-fallocate64.c
tst-fanotify.c
tst-getdents64.c
tst-getpid1.c
tst-gettid-kill.c
tst-gettid.c
tst-glibcsyscalls.py
tst-memfd_create.c
tst-mlock2.c
tst-mman-consts.py Update kernel version to 5.7 in tst-mman-consts.py. 2020-06-29 14:06:32 +00:00
tst-o_path-locks.c
tst-ofdlocks-compat.c
tst-ofdlocks.c
tst-personality.c
tst-pkey.c
tst-quota.c
tst-readdir64-compat.c
tst-rlimit-infinity.c
tst-sigcontext-get_pc.c
tst-signal-numbers.py
tst-skeleton-affinity.c
tst-skeleton-thread-affinity.c
tst-socket-consts.py
tst-sync_file_range.c
tst-syscall-list.sh
tst-sysconf-iov_max-uapi.c
tst-sysconf-iov_max.c
tst-sysvmsg-linux.c sysvipc: Fix IPC_INFO and MSG_INFO handling [BZ #26639] 2020-10-15 10:11:40 -03:00
tst-sysvsem-linux.c sysvipc: Fix SEM_STAT_ANY kernel argument pass [BZ #26637] 2020-10-15 10:11:01 -03:00
tst-sysvshm-linux.c sysvipc: Fix tst-sysvshm-linux on x32 2021-08-22 15:58:11 +02:00
tst-tgkill.c
tst-ttyname.c
ttyname.c
ttyname.h
ttyname_r.c
tv32-compat.h sysv/alpha: Use generic __timeval32 and helpers 2020-04-02 09:21:06 -07:00
ualarm.c
umount.c linux: Remove assembly umount2 implementation 2020-05-08 17:19:13 -03:00
umount2.c linux: Remove assembly umount2 implementation 2020-05-08 17:19:13 -03:00
unlockpt.c
update-syscall-lists.py
updwtmp.c
ustat.c
utime.c
utimensat.c
utimes.c
utmp_file.c
versionsort64.c
vfork.c
vmsplice.c
wait4.c linux: wait4: Fix incorrect return value comparison 2020-04-14 09:16:54 -07:00
waitid.c
write.c
write_nocancel.c
writev.c
xmknod.c
xmknodat.c
xstat.c
xstat64.c
xstatconv.c
xstatconv.h