glibc/sysdeps/unix/sysv/linux
Ulrich Drepper fd26970f33 update from main archive 970120
Tue Jan 21 04:05:20 1997  Ulrich Drepper  <drepper@cygnus.com>

	* version.h (VERSION): Bump to 1.101.

	Implement -d and -r option to `ldd' to check relocations.
	* elf/dl-error.c: Add another method to intercept errors.
	(_dl_receive_error): New function.  Install user defined handler.
	(receiver): New variable.  Contains pointer to user provided handler.
	(_dl_signal_error): If user provided handler is installed call this.
	* elf/dl-load.c (_dl_map_object): When shared object is not found in
	trace mode initialize a few more fields so that lookup can actually
	happen but always fails.
	* elf/ldd.sh.in: Rewrite argument handling.  Recognize new arguments
	to trigger reloation test.  Return with appropriate error code if
	a file wasn't found.  Print warning if object is not executable.
	* elf/ldd.bash.in: Likewise.
	* elf/link.h (receiver_fct): New type.  Used in _dl_receive_error.
	(_dl_sysdep_error): New prototype.
	(_dl_receive_error): New prototype.
	(_dl_signal_error): Remove  __attribute__ ((__noreturn__)).
	* elf/rtld.c (dl_main): Rewrite argument handling.  More than
	one argument allowed.  Recognize --data-relocs and --function-relocs
	arguments.
	Don't determine `lazy' mode from LD_BIND_NOW environment variable
	when in trace mode.
	If in trace mode and either --data-relocs or --function-relocs is
	given perform relocation.  Report errors using print_unresolved
	function.
	(print_unresolved): New function.  Print information about missing
	symbol on stderr.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_error): New function.
	Like _dl_sysdep_message but print to stderr.
	* sysdeps/mach/hurd/dl-sysdep.c: Likewise.

	* sysdeps/generic/sockaddrcom.h: Add definition of sa_family_t.
	Reported by Andreas Schwab.
	(__SOCKADDR_COMMON): Use sa_family_t for family member.
	* sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.

	Linux/Sparc support by Miguel de Icaza.
	* sysdeps/sparc/fpu_control.h: New file.
	* sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: New file.
	* sysdeps/unix/sysv/linux/sparc/brk.c: New file.
	* sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
	* sysdeps/unix/sysv/linux/sparc/sigaction.c: New file.
	* sysdeps/unix/sysv/linux/sparc/socket.S: New file.
	* sysdeps/unix/sysv/linux/sparc/syscall.S: New file.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h: New file.
	* sysdeps/unix/sysv/linux/sparc/Dist: New file.
	* sysdeps/unix/sysv/linux/sparc/Makefile: New file.

	* sysdeps/unix/sysv/linux/net/if_arp.h: Don't use kernel header.
	Provide own definition based on 4.4BSD and Linux.
	* sysdeps/unix/sysv/linux/net/ppp_defs.h: Define __u32 before
	including <linux/ppp_defs.h>.
	* sysdeps/unix/sysv/linux/sys/msq_buf.h (struct msqid_ds): Don't
	use __pid_t since the kernel might have a different size.
	* sysdeps/unix/sysv/linux/sys/shm_buf.h (struct shmid_ds): Likewise.
	Reported by Andreas Schwab.

	* time/asctime.c: Update copyright.
	* time/dysize.c: Likewise.
	* time/gmtime.c: Likewise.
	* time/timegm.c: Likewise.
	* time/offtime.c: Likewise.  De-ANSI-declfy.

	* time/tzset.c (__tzset_internal): When TZ envvar does not name a
	DST timezone don't default to offset -1.

	* sysdeps/unix/sysv/linux/net/route.h: Don't use kernel header.
	Reported by a sun <asun@zoology.washington.edu>.

	* resolv/Makefile: Correct spelling: subdirs-dirs -> subdir-dirs.

	* sysdeps/stub/sysv_signal.c: New file.  Stub implementation.

	* Makefile (distribute): Add mcheck.h.

	* nis/Makefile (distribute): Add nss-nis.h.

	* libio/Makefile (routines): Change vdprintf to iovdprintf to prevent
	dist problem.

	* nss/Makefile (distribute): Add digits_dots.c.

	* sysdeps/unix/sysv/linux/Dist: Add kernel_sigaction.h.
	* sysdeps/unix/sysv/linux/alpha/Dist: Add sys/procfs.h.
	* sysdeps/unix/sysv/linux/sparc/Dist: Add clone.S.
	* new-malloc/Makefile (distribute): Add mcheck-init.c and mcheck.h.

Mon Jan 20 17:54:28 1997  Sven Verdoolaege  <skimo@breughel.ufsia.ac.be>

	* manual/filesys.texi: Fix little problem (reentrant->readdir).

Fri Jan 17 19:07:07 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* configure.in [$elf=yes]: Check for support of .previous and
	.popsection in the assembler.
	* config.h.in: Add HAVE_ASM_PREVIOUS_DIRECTIVE and
	HAVE_ASM_POPSECTION_DIRECTIVE.
	* libc-symbols.h (__make_section_unallocated) [HAVE_ELF]: Define
	appropriate if either .previous or .popsection is supported.
	(libc_warning) [HAVE_ELF]: Use it here.

Sat Jan 18 22:15:26 1997  Richard Henderson  <rth@tamu.edu>

	* Makeconfig (CFLAGS-.so): Add -fno-common to prevent odd sorts of
	errors that can occur when linking libc.so.

Mon Jan 20 05:20:49 1997  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-load.c (open_path): When running setuid don't try
	a directory if it is not given with the full name.

	* elf/Makefile (before-compile): New variable.  Mention trusted-dirs.h.
	(trusted-dirs.h): Construct file from $(default-rpath) and
	$(user-defined-trusted-dirs) variables.
	* elf/dl-load.c (_dl_map_object): Pass additional argument to open_path
	which is NULL except for the LD_LIBRARY_PATH pass in which case it
	is a pointer to the list of directories from the trusted-dirs.h
	file.
	(open_path): Accept additional argument with list of trusted dirs.
	When running setuid and a list of trusted dirs is given only use
	those which are mentioned in the list.

	* elf/rtld.c (dl_main): Don't reject whole LD_LIBRARY_PATH when
	running setuid.  Instead accept entries which do not contain a '/'.

	* Makeconfig: Correct comment about +(default_cflags).

Mon Jan 20 05:11:14 1997  Hrvoje Niksic  <hniksic@srce.hr>

	* time/strptime.c (recursive): Use && not || to test for valid
	argument.

Mon Jan 20 05:06:50 1997  Ulrich Drepper  <drepper@cygnus.com>

	* elf/ldd.sh.in: Exit with value 1 if an error occured.
	* elf/ldd.bash.in: Likewise.

	* elf/rtld.c (dl_main): Do not always ignore LD_PRELOAD when the
	binary runs setuid.  It is save to use those entries which do not
	contain a '/'.  This is compatible with Solaris-2.
1997-01-21 06:10:42 +00:00
..
alpha update from main archive 970120 1997-01-21 06:10:42 +00:00
gnu update from main archive 960105 1997-01-06 22:07:28 +00:00
i386 update from main arhive 970119 1997-01-20 02:49:49 +00:00
m68k update from main arhive 970119 1997-01-20 02:49:49 +00:00
net update from main archive 970120 1997-01-21 06:10:42 +00:00
netinet update from main archive 960105 1997-01-06 22:07:28 +00:00
nfs Sat Oct 14 02:52:36 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> 1995-10-16 01:37:51 +00:00
sparc update from main archive 970120 1997-01-21 06:10:42 +00:00
sys update from main archive 970120 1997-01-21 06:10:42 +00:00
Dist update from main archive 970120 1997-01-21 06:10:42 +00:00
Implies Wed May 22 01:48:54 1996 Ulrich Drepper <drepper@cygnus.com> 1996-05-22 02:11:55 +00:00
Makefile update from main archive 960105 1997-01-06 22:07:28 +00:00
a.out.h update from main archive 961203 1996-12-04 01:41:39 +00:00
accept.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
adjtime.c update from main archive 1996-09-27 03:45:24 +00:00
bind.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
clock.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
configure Update from main archive 961219 1996-12-20 01:39:50 +00:00
configure.in Update from main archive 961219 1996-12-20 01:39:50 +00:00
connect.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
direntry.h update from main archive 960105 1997-01-06 22:07:28 +00:00
dl-sysdep.c * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB. 1995-12-03 10:00:22 +00:00
errnos.h update from main archive 961119 1996-11-20 03:45:51 +00:00
fcntlbits.h update from main archive 960107 1997-01-07 23:29:44 +00:00
ftime.c Update to 960810. 1996-08-11 01:08:23 +00:00
getdents.c update from main archive 960105 1997-01-06 22:07:28 +00:00
gethostid.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
gethostname.c update from main archive 1996-09-27 03:45:24 +00:00
getpeername.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
getpriority.c update from 961105, second try 1996-11-07 01:35:04 +00:00
getsockname.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
getsockopt.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
getsysstats.c update from main archive 961119 1996-11-20 03:45:51 +00:00
init-first.c update from main archive 961127 1996-11-28 04:16:09 +00:00
init-first.h update from main archive 960910 1996-09-11 01:52:48 +00:00
ioctl-types.h update from main archive 960105 1997-01-06 22:07:28 +00:00
ioctls.h update from main archive 961220 1996-12-21 04:13:58 +00:00
iovec.h Mon Mar 25 03:35:16 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-25 17:48:26 +00:00
kernel_sigaction.h update from main archive 970118 1997-01-19 04:54:28 +00:00
kernel_termios.h update from main archive 960105 1997-01-06 22:07:28 +00:00
listen.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
llseek.c update from main archive 961127 1996-11-28 04:16:09 +00:00
local_lim.h update from main archive 961114 1996-11-15 04:08:00 +00:00
madvise.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
msgctl.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
msgget.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
msgrcv.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
msgsnd.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
paths.h update from main archive 961214 1996-12-15 02:15:29 +00:00
poll.c Thu Oct 26 23:11:11 1995 Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de> 1995-10-30 16:40:52 +00:00
posix_opt.h update from 961105, second try 1996-11-07 01:35:04 +00:00
profil.c Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-13 17:30:42 +00:00
ptrace.c update from main archive 1996-09-27 03:45:24 +00:00
reboot.c update from main archive 961016 1996-10-17 01:51:38 +00:00
recv.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
recvfrom.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
recvmsg.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
resourcebits.h update from main archive 961114 1996-11-15 04:08:00 +00:00
schedbits.h update from main arhive 970119 1997-01-20 02:49:49 +00:00
semctl.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
semget.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
semop.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
send.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
sendmsg.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
sendto.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
setegid.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
seteuid.c Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-01-21 10:01:05 +00:00
sethostid.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
setsockopt.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
shmat.c Sun Jan 21 00:55:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1996-01-21 10:01:05 +00:00
shmctl.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
shmdt.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
shmget.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
shutdown.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
sigaction.c update from main archive 970118 1997-01-19 04:54:28 +00:00
sigaction.h Update from main archive 961219 1996-12-20 01:39:50 +00:00
sigcontext.h update from main archive 961220 1996-12-21 04:13:58 +00:00
siglist.c update from main archive 961020 1996-10-21 01:26:31 +00:00
siglist.h update from main archive 960105 1997-01-06 22:07:28 +00:00
signal.c update from main archive 961229 1996-12-30 01:47:46 +00:00
signum.h Update from main archive 961219 1996-12-20 01:39:50 +00:00
sigset.h update from main arhive 970119 1997-01-20 02:49:49 +00:00
sigsuspend.c update from main archive 960105 1997-01-06 22:07:28 +00:00
sleep.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
socketbits.h update from main archive 960105 1997-01-06 22:07:28 +00:00
socketpair.S Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
speed.c update from main archvie 961013 1996-10-13 21:35:39 +00:00
statbuf.h update from main archive 961114 1996-11-15 04:08:00 +00:00
statfsbuf.h update from main archive 960105 1997-01-06 22:07:28 +00:00
syscalls.list update from main archive 970118 1997-01-19 04:54:28 +00:00
sysctl.c Wed May 1 09:10:04 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-01 13:55:18 +00:00
system.c Use POSIX version of version.c. 1996-09-12 18:29:32 +00:00
tcdrain.c update from main archive 1996-09-27 03:45:24 +00:00
tcflow.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
tcflush.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
tcgetattr.c update from main archive 960105 1997-01-06 22:07:28 +00:00
tcgetpgrp.c Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-18 18:32:47 +00:00
tcsetattr.c update from main arhive 970119 1997-01-20 02:49:49 +00:00
tcsetpgrp.c Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu> 1996-03-18 18:32:47 +00:00
termbits.h update from main archive 960105 1997-01-06 22:07:28 +00:00
termio.h * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers): 1996-05-27 20:16:19 +00:00
timebits.h update from main archive 961220 1996-12-21 04:13:58 +00:00
ualarm.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
ulimit.c update from main archive 1996-09-27 03:45:24 +00:00
usleep.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
ustat.c update from main archive 960107 1997-01-07 23:29:44 +00:00
ustatbits.h update from main archive 960105 1997-01-06 22:07:28 +00:00
utsnamelen.h update from main archive 961220 1996-12-21 04:13:58 +00:00
vfork.c Document new files for Linux i386/ELF port. 1995-09-08 17:02:25 +00:00
wait.c Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1996-03-21 00:37:31 +00:00
wait3.c Mon Mar 18 22:54:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1996-03-21 00:37:31 +00:00
waitflags.h update from main archive 961114 1996-11-15 04:08:00 +00:00
waitpid.c update from main archive 1996-09-27 03:45:24 +00:00
xmknod.c update from main archive 960105 1997-01-06 22:07:28 +00:00