about summary refs log tree commit diff
path: root/hurd
Commit message (Collapse)AuthorAgeFilesLines
* 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-181-1/+86
| | | | | | * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED and other errors that indicate a pseudo-receive happened, grok through the message buffer for port rights that need references fixed up.
* * mach/devstream.c (devstream_write, devstream_read): New functions.Roland McGrath2000-03-101-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (input, output): Functions removed. (mach_open_devstream): Use devstream_{read,write} as cookie functions, using only the vanilla fopencookie interface. * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define as macro for __io_functions. (funcsio): Use cookie_io_functions_t type name. (fopenport): Renamed from __fopenport. Rewrite to call fopencookie. * libio/iofopncook.c (_IO_cookie_init): New function, broken out of fopencookie. (fopencookie): Use it. * libio/libio.h: Declare _IO_cookie_init. * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using _IO_cookie_init. * libio/libio.h (__io_seek_fn): Fix second argument type to be a pointer, in line with the manual and the old stdio. * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller. * sysdeps/generic/bits/stdio-lock.h: New file. This is a stub with #error, but that's better than no file at all. * sysdeps/unix/sysv/linux/alpha/syscall.S: * manual/message.texi (Using gettextized software): * manual/filesys.texi (File Size): * manual/charset.texi (glibc iconv Implementation): * locale/programs/ld-collate.c (collate_output): * manual/stdio.texi (Output Conversion Syntax):
* 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-101-27/+32
| | | | | | | * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define as macro for __io_functions. (funcsio): Use cookie_io_functions_t type name. (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
* 1999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-12-037-90/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hurd/hurdsig.c (_hurdsig_init): If __hurd_threadvar_stack_mask is nonzero, use cthread_fork to create the signal thread. * hurd/msgportdemux.c (_hurd_msgport_receive): Initialize _hurd_msgport_thread here (to self). * sysdeps/mach/hurd/fork.c (__fork): When __hurd_sigthread_stack_end is zero, instead compute child signal thread's starting SP from parent signal thread's current SP and the threadvar_stack variables. * hurd/Versions (GLIBC_2.1.3): Add cthread_fork, cthread_detach. These are now referenced weakly by _hurdsig_init. * hurd/report-wait.c (_S_msg_report_wait): Fix typo: &_hurd_itimer_thread not &_hurd_msgport_thread. 1999-10-01 Roland McGrath <roland@baalperazim.frob.com> * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Rewrite without HURD_DPORT_USE to clean up warnings. * hurd/dtable.c (get_dtable_port): Likewise. * hurd/hurdioctl.c (rectty_dtable): Renamed to install_ctty. (install_ctty): Do the changing of the cttyid port cell here, inside the critical section while we holding the dtable lock. (_hurd_setcttyid, tiocsctty, tiocnotty): Use that instead of changing the port cell and calling rectty_dtable. (_hurd_locked_install_cttyid): New function, split out of install_ctty. (install_ctty): Use it inside a critical section, with the lock held. * sysdeps/mach/hurd/setsid.c (__setsid): Use _hurd_locked_install_cttyid to effect the cttyid and dtable changes after proc_setsid, having held the dtable lock throughout. * hurd/dtable.c (ctty_new_pgrp): With the dtable lock held, check the cttyid port for null and bail out early if so. The dtable lock serializes us after any cttyid change and its associated dtable update.
* * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 toRoland McGrath1999-11-134-33/+190
| | | | | | GLIBC_2.1.3. 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
* 1999-09-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-09-191-32/+20
| | | | | | | | | | | | | | * sysdeps/mach/hurd/wait4.c (__wait4): When proc_wait returns EAGAIN, return zero to indicate no children died yet (assuming WNOHANG). * sysdeps/mach/hurd/setsid.c: #include <hurd/fd.h>. 1999-09-17 Roland McGrath <roland@baalperazim.frob.com> * hurd/port2fd.c (_hurd_port2fd): Never change CTTYID port. * sysdeps/mach/hurd/setsid.c (__setsid): Fix return type -> pid_t. Return _hurd_pgrp instead of 0.
* 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-09-191-36/+27
| | | | | * hurd/hurdprio.c (_hurd_priority_which_map): Rearrange the code a bit. Use __munmap instead of __vm_deallocate.
* add missing #include <unistd.h>Roland McGrath1999-09-051-0/+1
|
* 1999-09-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-09-051-1/+3
| | | | | * hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
* 1999-08-23 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-08-231-1/+1
| | | | * hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
* 1999-08-22 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-08-222-2/+6
| | | | | | | | | | | | | | | | | | * hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags. * hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when installing PORT in the descriptor cell. 1999-08-19 Roland McGrath <roland@baalperazim.frob.com> * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and TIMEOUT as outputs of the asm to indicate that the signal thread might mutate them. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain mach_msg if only sending or only receiving (i.e., not an RPC). When making an RPC that might get interrupted, save OPTION and the portion of the message buffer that gets clobbered by an EINTR reply message, and properly restore them before attempting to retry the request message send.
* 1999-08-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-08-221-56/+132
| | | | | | | | | | | | * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and TIMEOUT as outputs of the asm to indicate that the signal thread might mutate them. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain mach_msg if only sending or only receiving (i.e., not an RPC). When making an RPC that might get interrupted, save OPTION and the portion of the message buffer that gets clobbered by an EINTR reply message, and properly restore them before attempting to retry the request message send.
* 1999-07-31 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-08-011-3/+3
| | | | | * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Fix msgt_size member initializer in CHECK: a bit size, not the type code repeated!
* 1999-07-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-261-2/+2
| | | | | * hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS. Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
* 1999-07-20 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-07-211-14/+31
| | | | | | | | | | | * sysdeps/mach/_strerror.c: Include <libintl.h>. 1999-07-19 Roland McGrath <roland@baalperazim.frob.com> * hurd/hurdsig.c (_hurd_internal_post_signal): If a hurd_signal_preemptor matches but its `preemptor' field is null, use its `handler' field directly. This is to comply with behavior documented in <hurd/sigpreempt.h>.
* 1999-07-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-201-0/+4
| | | | | * hurd/hurdexec.c (_hurd_exec): Prune trailing null ports from the descriptor table sent in the RPC.
* * hurd.h, hurd/hurd/fd.h, hurd/hurd/port.h, hurd/hurd/signal.h,Roland McGrath1999-06-257-45/+49
| | | | | | | | | | | | hurd/hurd/threadvar.h, hurd/hurd/userlink.h: Instead of _EXTERN_INLINE, use a macro specific to each file, _HURD_FD_H_EXTERN_INLINE and the like. * hurd/Makefile (inline-headers): New variable. (routines): Remove hurdinline. Add $(inlines). (inlines): New variable. ($(inlines:%=$(objpfx)%.c)): New static pattern rule to generate them. (generated): Append those here. * hurd/hurdinline.c: File removed.
* 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-223-10/+13
| | | | | | | | | | | | | | | * sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with OFFSET argument of (off_t) -1. * sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with OFFSET argument of (off_t) -1. * sysdeps/mach/hurd/pwrite.c: New file. * sysdeps/mach/hurd/pread.c: New file. * hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and pass it in the RPC instead of always -1. * hurd/fd-write.c (_hurd_fd_write): Likewise. * hurd/hurd/fd.h: Update decls.
* 1999-06-13 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-06-131-1/+2
| | | | | * hurd/hurdsock.c (_hurd_socket_server): Fix fencepost error in last change.
* 1999-06-11 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-06-111-3/+3
| | | | | * hurd/hurdsock.c (max_domain): Initialize to `-1'. (_hurd_socket_server): Fix off-by-one error in setting `max_domain'.
* 1999-05-23 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-05-231-5/+6
| | | | | * hurd/set-host.c (_hurd_set_host_config): Use mode 0644, not 0600. Do proper error return.
* 1999-05-09 Mark Kettenis <kettenis@gnu.org> Roland McGrath1999-05-091-0/+8
| | | | | * hurd/get-host.c (_hurd_get_host_config): Return an empty value if the file is empty.
* 1999-04-30 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-04-301-2/+11
| | | | | | | * hurd/hurdinit.c (_hurd_new_proc_init): Don't do initial SIGTRAP if EXEC_SIGTRAP was set in the incoming exec flags--that indicates the exec server simulated a SIGTRAP before we even started up, so gdb is already happy.
* 1999-04-27 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-04-281-0/+1
| | | | * hurd/get-host.c: Include <hurd/lookup.h>.
* 1999-04-27 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-04-271-1/+11
| | | | | * hurd/hurdexec.c (_hurd_exec): If SIGKILL present in _hurdsig_traced set, pass EXEC_SIGTRAP flag in exec RPC.
* 1999-04-26 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-04-261-4/+21
| | | | | * hurd/get-host.c (_hurd_get_host_config): If ENOENT opening file, return success with empty value.
* 1999-04-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-04-051-64/+0
| | | | | | | | | | | | | | | | * hurd/STATUS: File removed. Moved items that are still relevant into TODO list in hurd source. 1999-03-26 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/bits/time.h: New file. * sysdeps/mach/hurd/getrusage.c: New file. * sysdeps/mach/hurd/clk_tck.c: New file. * sysdeps/mach/hurd/Versions (libc) [GLIBC_2.1.1]: Add __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir) = posix] (sysdep_routines): Add clk_tck. * sysdeps/mach/hurd/times.c: Removed, since getrusage is now implemented.
* 1999-03-14 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-141-2/+18
| | | | | * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Under O_NOFOLLOW, check for root-owned symlinks and reject them too.
* 1999-03-09 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-091-1/+1
| | | | * hurd/hurdexec.c (_hurd_exec): Add missing `else' in last change.
* 1999-03-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-082-63/+69
| | | | | | | | | | | | * sysdeps/mach/hurd/ioctl.c (__ioctl): Move the marshalling of the arguments into the request message buffer inside `send_rpc' subfunction. We must repeat the marshalling when retrying the RPC after a SIGTTOU delivery. * hurd/ctty-input.c (_hurd_ctty_input): Use early short-circuit code path when there is no ctty port. * hurd/ctty-output.c (_hurd_ctty_output): Likewise. Move sigstate check inside loop so we recheck after handling a signal.
* 1999-03-08 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-081-2/+6
| | | | | * hurd/hurdexec.c (_hurd_exec): Handle ARGV or ENVP parameters being null, in which case send an empty string.
* 1999-03-04 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-041-4/+0
| | | | * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
* 1999-03-03 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-03-031-12/+67
| | | | | | | | | | | | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_NOFOLLOW, O_DIRECTORY): New macros. * hurd/hurdlookup.c (__hurd_file_name_lookup): If O_NOFOLLOW is set, set O_NOTRANS as well. (__hurd_file_name_lookup_retry): At successful end of lookup, if O_NOFOLLOW set, io_stat the resultant port and fail with ENOENT if it is a translated node not owned by root. (__hurd_file_name_lookup): If O_DIRECTORY is set, put a trailing slash on the file name passed to LOOKUP.
* 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-281-4/+8
| | | | | | * hurd/hurd-raise.c (_hurd_raise_signal): Send "poll request" msg_sig_post RPC (with SIGNO=0), rather than generating signal (again) with the RPC.
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-275-22/+116
| | | | | | | | | | | | | | | | * sysdeps/mach/getsysstats.c (__get_nprocs_conf, __get_nprocs, __get_phys_pages): Cast &HBI to silence warning. * hurd/Makefile (routines): Add hurdchdir and hurdfchdir. * hurd/hurdchdir.c: New file. * hurd/hurdfchdir.c: New file. * sysdeps/mach/hurd/chroot.c: Call _hurd_change_directory_port_from_name to do the work. * sysdeps/mach/hurd/chdir.c: Likewise. * sysdeps/mach/hurd/fchdir.c: Call _hurd_change_directory_port_from_fd to do the work. * hurd/fchroot.c: Likewise. * hurd/hurd.h: Declare them.
* 1999-02-27 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1999-02-271-3/+4
| | | | | | * hurd/hurdselect.c (_hurd_select): When bailing for bogus fd, don't try to _hurd_port_free a lower-numbered descriptor that was not in any fd_set.
* 1998-12-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-063-2/+460
| | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/pselect.c: New file. * sysdeps/mach/hurd/poll.c: New file. * hurd/Makefile (routines): Add hurdselect. * hurd/hurdselect.c: New file. (_hurd_select): New function, guts taken from ... * sysdeps/mach/hurd/select.c (__select): ... here. Now work by just calling _hurd_select. * hurd/hurd/fd.h: Declare _hurd_select. 1998-12-05 Roland McGrath <roland@baalperazim.frob.com> * time/strptime.c: Fix unterminated comment in last change. * argp/argp.h: Add __restrict.
* 1998-12-04 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-12-045-3/+69
| | | | | | | | | | | | | | | | Provide backwards binary compatibility for the Hurd. * hurd/geteuids.c [PIC && DO_VERSIONING]: Make __getuids a weak alias for geteuids. * hurd/Versions [GLIBC_2.0]: Add __getuids, __hurd_file_name_lookup and _hurd_umask. [GLIBC_2.1]: Add _hurd_proc_init. * hurd/Makefile [versioning] (routines): Add compat-20. (shared-only-routines): Likewise. * hurd/hurdinit.c (_hurd_new_proc_init): Renamed from _hurd_proc_init. Use it as the default _hurd_proc_init version for GLIBC_2.1. * hurd/compat-20.c: New file. * mach/Versions [GLIBC_2.0]: Add __vm_allocate.
* 1998-12-03 Mark Kettenis <kettenis@phys.uva.nl> Roland McGrath1998-12-031-3/+9
| | | | | | * hurd/Versions [GLIBC_2.1]: Add _hurd_proc_init. * hurd/Versions: Move geteuids and seteuids from GLIBC_2.0 to GLIBC_2.1.
* 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-11-301-41/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | * mach/Versions [libc, GLIBC_2.0]: Add __spin_lock, __spin_lock_init, __mutex_lock, __mutex_trylock, __mutex_unlock. Remove get_priviliged_ports. Moved to hurd/Versions. * hurd/Versions [libc, GLIBC_2.0]: Add _end. This makes the Hurd brk implementation see the end of the data segment of the program instead of the shared library. Add __hurd_errno_location. This inline function is used in user programs. Add _hurd_critical_section_lock, _hurd_critical_section_unlock, _hurd_fd_get, _hurd_port_free, _hurd_port_get, _hurd_port_locked_get. These inline functions are used by macros used in mail.local in the Hurd distribution. Add get_privileged_ports. Moved here from mach/Versions. Remove __hurd_file_name_lookup, __hurd_file_name_lookup_retry, __hurd_file_name_split, __hurd_file_name_path_lookup. These are not used outside libc. 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl> * hurd/hurdstartup.c: Really include set-hooks.h with <> instead of "".
* 1998-11-30 Mark Kettenis <kettenis@phys.uva.nl> Roland McGrath1998-11-301-1/+1
| | | | | * hurd/hurdstartup.c: Really include set-hooks.h with <> instead of "".
* 1998-09-12 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-11-291-2/+1
| | | | | | * hurd/hurdstartup.c: Do not include hurdmalloc.h; _hurd_startup does not use any of malloc/realloc/free anymore. Include set-hooks.h with <> instead of "".
* 1998-11-28 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1998-11-295-8/+11
| | | | | | | | | | | | * hurd/setuids.c: Renamed to ... * hurd/seteuids.c: this. (setuids): Renamed to seteuids. * hurd/getuids.c: Renamed to ... * hurd/geteuids.c: this. (__getuids): Renamed to geteuids, no aliases. * hurd/hurd.h (geteuids, seteuids): Declare them. * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids. * hurd/Makefile (routines): Updated.
* * hurd/hurdsig.c (_hurdsig_init): Add assertion that no pending,Roland McGrath1998-11-111-0/+6
| | | | unblocked signals are set in the startup masks.
* 1998-11-11 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1998-11-114-17/+36
| | | | | | | | | * hurd/hurdsig.c (_hurdsig_init): Take new args, INTARRAY and INTARRAYSIZE. Initialize main thread's sigstate from INIT_SIG* ints. * hurd/hurd/signal.h: Update _hurdsig_init decl. * hurd/hurdinit.c (_hurd_proc_init): Take new args, INTARRAY and INTARRAYSIZE, pass them down to _hurdsig_init. * hurd/hurd.h: Update _hurd_proc_init decl.
* 1998-10-26 Roland McGrath <roland@baalperazim.frob.com> Roland McGrath1998-10-261-0/+3
| | | | | * hurd/Versions: Add _hurd_dtable, _hurd_dtablesize, _hurd_dtable_lock, _hurd_intern_fd.
* 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-241-275/+37
| | | | | | | | | | | * sysdeps/mach/hurd/dl-sysdep.c (__getcwd): New weak function. * mach/Versions, hurd/Versions: Add numerous symbols. Remove libmachuser and libhurduser sections, punt versioning for those libraries for now. * misc/Versions: Add reboot here; it exists on all platforms. * sysdeps/unix/sysv/linux/Versions: Remove reboot here.
* 1998-10-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-192-2/+5
| | | | | | | | | * hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add _HURD_THREADVAR_DL_ERROR. * hurd/Makefile (user-interfaces): Add login, password. * sysdeps/mach/hurd/Makefile (+cflags): Append -Wno-parentheses.
* 1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-10-181-3/+15
| | | | | | | | | | [submitted 1998-08-06] * mach/Machrules: Create target directory and force re-evaluation of Makefile to prevent `make' from optimizing away most of the implicit rules and `vpath' directives. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread is null, short-circuit to __mach_msg.
* Update.Ulrich Drepper1998-08-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-07-31 17:59 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/bits/byteswap.h: Fix problems with side effects. * manual/filesys.texi: Document truncate and ftruncate. Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>. * shadow/putspent.c: Lock stream while generating the output. * sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again. (__msgwrite): Rewrite accordingly. * sunrpc/svc_unix.c: Likewise. * sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S. * sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket] (sysdep_routines): Remove __sendmsg and __recvmsg. * sysdeps/unix/sysv/linux/__recvmsg.S: Removed. * sysdeps/unix/sysv/linux/__sendmsg.S: Removed. * sysdeps/unix/sysv/linux/recvmsg.c: Removed. * sysdeps/unix/sysv/linux/sendmsg.c: Removed. * sysdeps/unix/sysv/linux/recvmsg.S: New file. * sysdeps/unix/sysv/linux/sendmsg.S: New file. * sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and struct ucred. Remove struct cmsgcred. Patches by Thorsten Kukuk. 1998-08-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> * inet/rcmd.c (__ivaliduser): Allow '#' as comment character. 1998-08-08 14:42 Ulrich Drepper <drepper@cygnus.com> * argp/argp-help.c: Prepare to be used outside glibc without gcc by adding usual alloca cruft. Reported by Eleftherios Gkioulekas <lf@amath.washington.edu>. 1998-04-05 Jim Meyering <meyering@ascend.com> * lib/regex.c (WIDE_CHAR_SUPPORT): Define. This now depends on HAVE_BTOWC so systems that lack btowc (like solaris-2.5.1) don't lose. 1998-08-07 Mark Kettenis <kettenis@phys.uva.nl> * sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE. * sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK, MINSIGSTKZ and SIGSTKSZ. Definitions match BSD. * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK instead of SA_ONSTACK. * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from sigaltstack, and created a weak alias. Use SS_DISABLE and SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK. * sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead of SA_ONSTACK. Call __sigaltstack instead of sigaltstack. * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK instead of SA_ONSTACK. * sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise. * sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise. * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use SS_DISABLE instead of SA_DISABLE. Use SS_ONSTACK instead of SA_ONSTACK where appropriate. * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler): Likewise. * sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler): Likewise. * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler): Likewise. * manual/signal.texi (Signal Stack): Talk about SS_DISABLE and SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of the `ss_flags' member of `struct sigaltstack'. 1998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile. (shared-only-routines): Likewise. * libio/oldtmpfile.c: New file * stdio-common/tmpfile.c: Use __fdopen and __close. [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen. Put tmpfile on symbol version GLIBC_2.1. * stdio-common/tmpfile64.c: Use __fdopen and __close. [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen. * stdio-common/Version [GLIBC_2.1]: Add tmpfile. * stdio-common/tempnam.c: Use __strdup instead of strdup. * sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak alias. * sysdeps/generic/fdopen.c: Likewise. * sysdeps/mach/hurd/fdopen.c: Likewise. * stdio/stdio.h: Declare __fdopen. * sunrpc/openchild.c: Use __fdopen instead of fdopen. [USE_IN_LIBIO]: Map __fdopen to _IO_fdopen. * sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking __stub_open64, it is never defined. 1998-08-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * libio/iofopen64.c: Fix typo. Avoid unnessary casts. * libio/iopopen.c: Unlink file before freeing it if command creation failed. Avoid unnessary casts. * libio/iofdopen.c: Avoid unnecessary cast. * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to _IO_funlockfile. * pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise. 1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread, __grpalloc, __grpscan and the corresponding pwd functions, they were removed long ago. 1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * math/libm-test.c (csqrt_test): Adjust epsilons. (casinh_test): Likewise. 1998-08-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * posix/globtest.sh: Fix typo. Remove second test output file. 1998-08-07 Cristian Gafton <gafton@redhat.com> * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file. * shadow/putspent.c (putspent): Likewise. * grp/putgrent.c: New file. * grp/Makefile (routines): Add putgrent. * grp/Versions [GLIBC_2.1]: Add putgrent. * grp/grp.h: Add putgrent prototype. 1998-08-04 19:33 Ulrich Drepper <drepper@cygnus.com> * elf/elf.h: More ELF definitions.