glibc/sysdeps/unix/sysv/linux
Roland McGrath 3efdabe762 * libio/ftello.c (ftello): Use _IO_off64_t for type of POS.
Check for the result overflowing off_t and fail with EOVERFLOW.
	* libio/ioftell.c (_IO_ftell): Likewise.
	* libio/iofgetpos.c (_IO_new_fgetpos): Likewise.

	* login/logwtmp.c (logwtmp): If sizeof ut_tv != sizeof struct timeval,
	use a temporary timeval on the stack for gettimeofday and copy it.
	* login/logout.c (logout): Likewise.
	Reported by Steven Munroe <sjmunroe@us.ibm.com>.

	* sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
	Use __SWORD_TYPE instead of int for member types.
	(struct statfs64): Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
	* sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
	* sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
	* sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
	* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.

	* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
	* sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
	(ST_NODIRATIME): Restore fixed value of 2048.
	* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
	* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.

	Rearranged <bits/types.h> definitions to reduce duplication.
	* sysdeps/generic/bits/types.h: Rewritten, using macros from
	<bits/wordsize.h> and new header <bits/typesizes.h>.
	* posix/Makefile (headers): Add bits/typesizes.h here.
	* sysdeps/generic/bits/typesizes.h: New file.
	* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
	* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
	* sysdeps/mach/hurd/bits/typesizes.h: New file.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
	* posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
	<bits/pthreadtypes.h> here, not in <bits/types.h>.
	* signal/signal.h: Likewise.

	* streams/stropts.h: Include <bits/xtitypes.h>.
	* streams/Makefile (headers): Add bits/xtitypes.h here.
	* sysdeps/generic/bits/xtitypes.h: New file.
	* sysdeps/s390/bits/xtitypes.h: New file.
	* sysdeps/ia64/bits/xtitypes.h: New file.
	* sysdeps/x86_64/bits/xtitypes.h: New file.

	* sysvipc/Makefile (headers): Add bits/ipctypes.h here.
	* sysdeps/generic/bits/ipctypes.h: New file.
	* sysdeps/mips/bits/ipctypes.h: New file.
	* sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
	* sysdeps/gnu/bits/msq.h: Likewise.
	* sysvipc/sys/ipc.h: Likewise.

2002-10-22  Roland McGrath  <roland@redhat.com>

	* sysdeps/generic/libc-tls.c (_dl_tls_static_used): New variable.
	* sysdeps/generic/ldsodefs.h (struct rtld_global): New member
	`_dl_tls_static_used'.
	(TLS_STATIC_MIN): New macro.
	* elf/dl-reloc.c [USE_TLS] (allocate_static_tls): New function.
	(CHECK_STATIC_TLS): Use it.
2002-10-23 23:50:19 +00:00
..
alpha * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
arm 2002-10-15 Roland McGrath <roland@redhat.com> 2002-10-16 01:02:25 +00:00
bits * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
cris 2002-10-15 Roland McGrath <roland@redhat.com> 2002-10-16 01:02:25 +00:00
hppa 2002-10-15 Roland McGrath <roland@redhat.com> 2002-10-16 01:02:25 +00:00
i386 * sysdeps/generic/bits/time.h: Replaced with contents of the 2002-10-18 20:36:01 +00:00
ia64 * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
m68k 2002-10-15 Roland McGrath <roland@redhat.com> 2002-10-16 01:02:25 +00:00
mips * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
net Update. 2002-10-03 08:58:56 +00:00
netash Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netatalk Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netax25 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
neteconet Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netinet 2002-02-06 Roland McGrath <roland@frob.com> 2002-02-07 03:49:18 +00:00
netipx Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netpacket Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netrom Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netrose Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nfs
powerpc Jakub Jelinek <jakub@redhat.com> 2002-10-16 03:03:00 +00:00
s390 * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
scsi Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sh 2002-10-15 Roland McGrath <roland@redhat.com> 2002-10-16 01:02:25 +00:00
sparc * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
sys Update. 2002-08-28 09:34:59 +00:00
x86_64 * libio/ftello.c (ftello): Use _IO_off64_t for type of POS. 2002-10-23 23:50:19 +00:00
_exit.c Update. 2002-10-03 16:37:04 +00:00
a.out.h
accept.S
adjtime.c Update. 2002-07-25 08:19:59 +00:00
aio_sigqueue.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bind.S Update. 2002-05-15 00:22:23 +00:00
clock.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
cmsg_nxthdr.c Update. 2001-07-31 20:32:01 +00:00
configure * configure: Regenerated (using Autoconf 2.54). 2002-10-19 20:07:18 +00:00
configure.in 2002-10-18 Jeff Bailey <jbailey@gnu.org> 2002-10-18 19:38:06 +00:00
connect.S Update. 2002-04-09 20:36:24 +00:00
device-nrs.h * sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type 2001-07-21 05:13:40 +00:00
Dist Update. 2002-09-19 06:36:54 +00:00
dl-brk.c Update. 2002-06-09 20:15:14 +00:00
dl-librecon.h Update. 2002-01-31 03:41:25 +00:00
dl-origin.c Update. 2002-03-01 09:44:29 +00:00
dl-osinfo.h Update. 2002-01-31 03:41:25 +00:00
dl-sbrk.c Update. 2002-06-09 20:15:14 +00:00
dl-sysdep.c Update. 2001-07-12 06:32:02 +00:00
errqueue.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
execve.c Don't try calling __pthread_kill_other_threads_np. 2002-10-11 07:59:08 +00:00
exit-thread.S Update. 2002-09-15 02:37:32 +00:00
fd_to_filename.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fpathconf.c * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. 2002-10-18 19:03:55 +00:00
fstatfs64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fstatvfs64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fstatvfs.c Update. 2002-09-21 05:54:00 +00:00
ftime.c Update. 1999-05-11 13:00:20 +00:00
ftruncate64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fxstat64.c * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
fxstat.c 2002-10-02 Roland McGrath <roland@redhat.com> 2002-10-02 08:33:46 +00:00
gai_sigqueue.c Update. 2001-08-17 07:51:36 +00:00
getclktck.c Update. 2002-01-31 03:41:25 +00:00
getcwd.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
getdents64.c Update. 2000-08-17 19:36:13 +00:00
getdents.c Update. 2002-06-22 05:58:14 +00:00
getdirentries64.c Update. 2000-08-12 05:14:52 +00:00
getdirentries.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getdtsz.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethostid.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
getloadavg.c Update. 2001-12-31 17:46:59 +00:00
getpagesize.c Update. 2002-08-03 07:02:10 +00:00
getpeername.S
getpriority.c * include/sys/resource.h: Use libc_hidden_proto for getpriority, 2002-08-04 03:50:21 +00:00
getpt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsockname.S Update. 2002-05-15 00:22:23 +00:00
getsockopt.S
getsysstats.c Update. 2002-09-21 05:30:10 +00:00
grantpt.c Update. 2002-07-20 01:14:41 +00:00
if_index.c * include/sys/wait.h (__waitpid): Add libc_hidden_proto. 2002-08-13 01:08:15 +00:00
ifreq.h * sysdeps/generic/ifreq.h (__if_nextreq): New function. 2002-09-20 20:34:06 +00:00
Implies
init-first.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
internal_statvfs.c Update. 2002-09-21 05:54:00 +00:00
ipc_priv.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
kernel_sigaction.h Update. 1999-10-19 03:14:36 +00:00
kernel_stat.h Update. 2000-08-12 05:14:52 +00:00
kernel_termios.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
kernel-features.h Update. 2002-10-16 04:42:33 +00:00
ldd-rewrite.sed
lddlibc4.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ldsodefs.h Update. 2002-07-20 17:31:30 +00:00
linux_fsinfo.h * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. 2002-10-18 19:03:55 +00:00
listen.S Update. 2002-05-15 00:22:23 +00:00
llseek.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lseek64.c
lxstat64.c * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
lxstat.c 2002-10-02 Roland McGrath <roland@redhat.com> 2002-10-02 08:33:46 +00:00
Makefile Jakub Jelinek <jakub@redhat.com> 2002-10-16 03:03:00 +00:00
mmap64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
msgctl.c Update. 2002-07-20 01:14:41 +00:00
msgget.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
msgrcv.c Update. 2002-10-09 09:42:48 +00:00
msgsnd.c Update. 2002-10-09 09:42:48 +00:00
nice.c Update. 2002-03-02 00:48:30 +00:00
ntp_gettime.c Update. 2002-07-25 08:19:59 +00:00
opendir.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
opensock.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
pathconf.c * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. 2002-10-18 19:03:55 +00:00
pathconf.h * sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline. 2002-10-18 19:03:55 +00:00
paths.h Update. 2000-11-15 23:56:34 +00:00
poll.c Update. 2002-08-03 07:02:10 +00:00
pread64.c * sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined 2002-09-14 08:32:37 +00:00
pread.c * sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined 2002-09-14 08:32:37 +00:00
profil.c
ptrace.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ptsname.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
pwrite64.c * sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined 2002-09-14 08:32:37 +00:00
pwrite.c * sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined 2002-09-14 08:32:37 +00:00
readahead.c Update. 2002-05-30 23:35:59 +00:00
readdir64_r.c Update. 2000-08-19 16:58:09 +00:00
readdir64.c Update. 2000-08-19 16:58:09 +00:00
readv.c Update. 2002-10-09 09:42:48 +00:00
reboot.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
recv.S
recvfrom.S Update. 2002-05-15 00:22:23 +00:00
recvmsg.S Update. 2002-05-15 00:22:23 +00:00
rt_sigaction.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigpending.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigprocmask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigqueueinfo.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigreturn.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigsuspend.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rt_sigtimedwait.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s_pread64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s_pwrite64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sa_len.c Update. 2002-04-14 20:15:40 +00:00
semctl.c Update. 2002-05-15 06:02:35 +00:00
semget.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
semop.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
send.S Update. 2002-08-03 07:02:10 +00:00
sendmsg.S Update. 2002-05-15 00:22:23 +00:00
sendto.S Update. 2002-05-15 00:22:23 +00:00
setegid.c 2002-08-13 Jakub Jelinek <jakub@redhat.com> 2002-08-13 00:22:49 +00:00
seteuid.c 2002-08-13 Jakub Jelinek <jakub@redhat.com> 2002-08-13 00:22:49 +00:00
sethostid.c
setsockopt.S Update. 2002-05-15 00:22:23 +00:00
shm_open.c (where_is_shmfs): Correct test for filesystem type name of mount points. 2002-09-06 18:39:30 +00:00
shm_unlink.c Update. 2000-04-12 04:59:33 +00:00
shmat.c * sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call 2002-09-03 02:45:12 +00:00
shmctl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shmdt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shmget.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
shutdown.S
sigaction.c 2002-09-18 Roland McGrath <roland@redhat.com> 2002-09-18 17:45:54 +00:00
siglist.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
signal.c
sigpending.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigprocmask.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigqueue.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigreturn.c
sigset-cvt-mask.h 2002-09-04 Bruno Haible <bruno@clisp.org> 2002-09-05 18:52:18 +00:00
sigstack.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sigsuspend.c Update. 2002-08-03 07:02:10 +00:00
sigtimedwait.c Update. 2002-10-09 09:42:48 +00:00
sigwait.c Update. 2002-10-12 00:49:44 +00:00
sigwaitinfo.c Update. 2002-10-09 09:42:48 +00:00
sizes.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sleep.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
socketcall.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
socketpair.S
speed.c * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00
statfs64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
statvfs64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
statvfs.c Update. 2002-09-21 05:54:00 +00:00
syscalls.list * elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command. 2002-10-14 01:03:16 +00:00
sysctl.c * sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des. 2002-09-17 10:58:17 +00:00
system.c
tcdrain.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tcflow.c
tcflush.c
tcgetattr.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tcgetpgrp.c
tcsetattr.c * include/unistd.h (seteuid, setegid): Add libc_hidden_proto. 2002-08-13 00:24:58 +00:00
tcsetpgrp.c
termio.h
testrtsig.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
truncate64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ttyname_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ttyname.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
ualarm.c
ulimit.c Update. 2001-09-25 03:04:41 +00:00
umount2.S
umount.S
unlockpt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
updwtmp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
usleep.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ustat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
utmp_file.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Versions * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def. 2002-08-30 01:31:18 +00:00
vfork.c
wait3.c
wait.c
waitpid.c * include/sys/wait.h (__waitpid): Add libc_hidden_proto. 2002-08-13 01:08:15 +00:00
writev.c Update. 2002-10-09 09:42:48 +00:00
xmknod.c Update. 2002-08-04 09:27:27 +00:00
xstat64.c * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
xstat.c 2002-10-02 Roland McGrath <roland@redhat.com> 2002-10-02 08:33:46 +00:00
xstatconv.c 2002-10-02 Roland McGrath <roland@redhat.com> 2002-10-02 08:33:46 +00:00