about summary refs log tree commit diff
path: root/hurd
Commit message (Collapse)AuthorAgeFilesLines
* 2002-06-13 Roland McGrath <roland@frob.com>Roland McGrath2002-06-132-8/+9
| | | | | | | | | | * hurd/hurdstartup.h (_hurd_startup): int -> intptr_t in MAIN arg type. * hurd/hurdstartup.c (_hurd_startup): Likewise. Use intptr_t instead of int for argc in stack layout. * sysdeps/mach/hurd/alpha/init-first.c (init): Fix argument type. (_dl_init_first): Likewise. (_hurd_stack_setup): Likewise. (init1): Add a cast.
* * sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of theRoland McGrath2002-06-115-27/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file on [!RTLD_STAT64]. * sysdeps/mach/hurd/fxstat64.c: Likewise. * sysdeps/mach/hurd/tmpfile.c (tmpfile64): Define as alias of tmpfile. (__fdopen): Use INTUSE. * sysdeps/mach/hurd/tmpfile64.c: New file, empty placeholder. * stdio-common/tmpfile64.c: File removed. * sysdeps/generic/tmpfile64.c: New file. * sysdeps/generic/tmpfile.c (GEN_THIS): New macro, define to __GT_FILE if not already defined. (tmpfile): Use it in place of __GT_FILE. * include/unistd.h: Declare __chown_internal. * sysdeps/mach/hurd/sendfile64.c (sendfile64): Do real work here. * sysdeps/mach/hurd/sendfile.c (sendfile): Call that. 2002-06-09 Roland McGrath <roland@frob.com> Update to new Hurd RPC interfaces supporting 64-bit file sizes. * sysdeps/mach/hurd/configure.in: Check for <hurd/version.h> with value of HURD_INTERFACE_VERSION >= 20020609. * sysdeps/mach/hurd/configure: Regenerated. * shlib-versions (.*-.*-gnu-gnu.*): Set libhurduser=0.3. * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Rewritten to convert a struct stat64 into a struct stat and return 0 or -1 with errno set to EOVERFLOW. * sysdeps/mach/hurd/statfsconv.c (statfs64_conv): Likewise for struct statfs64 to struct statfs. * sysdeps/mach/hurd/xstat.c (__xstat): Use converter and call ... * sysdeps/mach/hurd/xstat64.c (__xstat64): ... this, real work here. * sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise. * sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise. * sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise. * sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise. * sysdeps/mach/hurd/statfs.c (__statfs): Likewise. * sysdeps/mach/hurd/statfs64.c (__statfs64): Likewise. * sysdeps/mach/hurd/fstatfs.c (__fstatfs): Likewise. * sysdeps/mach/hurd/fstatfs64.c (__fstatfs64): Likewise. * sysdeps/mach/hurd/pwrite64.c (__libc_pwrite64): Do real work here. * sysdeps/mach/hurd/pwrite.c (__libc_pwrite): Call that. * sysdeps/mach/hurd/pread64.c (__libc_pread64): Do real work here. * sysdeps/mach/hurd/pread.c (__libc_pread): Call that. * sysdeps/mach/hurd/lseek64.c (__libc_lseek64): Do real work here. * sysdeps/mach/hurd/lseek.c (__libc_lseek): Call that. * sysdeps/mach/hurd/readdir64.c (__readdir64): Do real work here. * sysdeps/mach/hurd/readdir.c (__readdir): Call that. * sysdeps/mach/hurd/readdir64_r.c (__readdir64_r): Do real work here. * sysdeps/mach/hurd/readdir_r.c (__readdir64_r): Call that. * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use struct stat64 for io_stat argument. * sysdeps/mach/hurd/readlink.c (__readlink): Likewise. * hurd/fopenport.c (seekio): Remove EOVERFLOW check, pass POS directly to io_seek. * hurd/fd-read.c (_hurd_fd_read): Use loff_t for OFFSET argument. * hurd/fd-write.c (_hurd_fd_write): Likewise. * hurd/hurd/fd.h: Update decls. * sysdeps/mach/hurd/getcwd.c (_hurd_canonicalize_directory_name_internal): Use ino64_t and struct dirent64. * sysdeps/mach/hurd/dl-sysdep.c (open_file): Use struct stat64. (__xstat): Renamed to __xstat64, use struct stat64 for argument. (__fxstat): Renamed to __fxstat64, use struct stat64 for argument. (__lseek): Renamed to __libc_lseek64, use off64_t for argument. 2002-06-08 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/dirstream.h (struct __dirstream): Use size_t instead of unsigned long int for __allocation and __size members. 2002-05-19 Ulrich Drepper <drepper@redhat.com>
* 2002-05-15 Roland McGrath <roland@frob.com>Roland McGrath2002-05-161-2/+2
| | | | * hurd/report-wait.c (_S_msg_report_wait): Use mach_msg_id_t for arg.
* * iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning.Roland McGrath2002-05-141-1/+3
| | | | * hurd/hurdinit.c (_hurd_init): Use internal name _hurd_new_proc_init.
* 2002-05-13 Marcus Brinkmann <marcus@gnu.org>Roland McGrath2002-05-131-1/+1
| | | | | | | | | | * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Allocate three, not two, more than LEN when appending '/.'. * sysdeps/mach/hurd/chroot.c (chroot): Likewise. Don't check if NAME ends with '/.' if it is shorter than 2 chars. * mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated files #include <sysdep.h> instead of <mach/machine/syscall_sw.h>.
* 2002-05-12 Roland McGrath <roland@frob.com>Roland McGrath2002-05-131-39/+190
| | | | | * hurd/hurdexec.c (_hurd_exec): Reauthenticate ports/dtable used in file_exec to effect svuid=euid, svgid=egid if that is not a no-op.
* 2002-05-08 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-2/+5
| | | | | * hurd/hurdfchdir.c (_hurd_change_directory_port_from_fd): Use O_NOTRANS flag in "." lookup.
* 2002-04-23 Roland McGrath <roland@frob.com>Roland McGrath2002-04-231-2/+2
| | | | | | | | * sysdeps/mach/hurd/send.c: int -> size_t for WROTE. * sysdeps/mach/hurd/sendto.c: Likewise. * hurd/hurdioctl.c (siocgifconf): int -> size_t for DATA_LEN. * sysdeps/mach/hurd/wait4.c (__wait4): natural_t -> int for SIGCODE. * sysdeps/mach/hurd/getpriority.c: unsigned int -> size_t for PISIZE.
* 2002-04-06 Roland McGrath <roland@frob.com>Roland McGrath2002-04-082-2/+4
| | | | | * hurd/catch-exc.c: Use integer_t instead of int. * hurd/hurdfault.c: Likewise.
* * hurd/hurdselect.c (_hurd_select): FixRoland McGrath2002-04-021-11/+20
| | | | | | | | | | | | | | | | | | | | | | | MACH_MSG_TYPE_INTEGER_T -> integer_t in sizeof. Use a union rather than casts to compare mach_msg_type_t as int. 2002-03-25 Roland McGrath <roland@frob.com> * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't check off the end of NAME when it's shorter than 2 chars. Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>. 2002-03-17 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/i386/sys/io.h: New file. * sysdeps/mach/hurd/i386/ioperm.c: New file. * sysdeps/mach/hurd/i386/Dist: Add them. * sysdeps/mach/hurd/i386/Versions (libc: GLIBC_2.2.6): New set, add ioperm. * sysdeps/mach/configure.in: New check to set HAVE_I386_IO_PERM_MODIFY. (mach_interface_list): Check for mach_i386.defs. * config.h.in (HAVE_I386_IO_PERM_MODIFY): #undef it. * sysdeps/mach/configure: Regenerated.
* 2002-03-25 Roland McGrath <roland@frob.com>Roland McGrath2002-04-021-2/+2
| | | | | | * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't check off the end of NAME when it's shorter than 2 chars. Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.
* 2002-03-11 Roland McGrath <roland@frob.com>Roland McGrath2002-03-111-0/+2
| | | | * hurd/hurd/threadvar.h: Include <features.h> for __THROW macro.
* 2002-03-11 Roland McGrath <roland@frob.com>Roland McGrath2002-03-113-0/+33
| | | | | | | | | | * Versions.def (libc): Add GLIBC_2.2.6. * hurd/Versions (libc: GLIBC_2.2.6): Add __errno_location. * sysdeps/mach/hurd/errnos.awk: In generated macro, use __errno_location instead of __hurd_errno_location, and don't inline it. * sysdeps/mach/hurd/bits/errno.h: Regenerated. * hurd/errno.c: New file. * hurd/Makefile (routines): Add errno.
* * hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link.Roland McGrath2002-03-091-1/+1
| | | | | | | | | | Reported by Jon Arney <jarney1@cox.net>. 2002-02-23 Roland McGrath <roland@frob.com> * hurd/hurd/threadvar.h (__hurd_threadvar_location): Add __THROW to declaration. (__hurd_errno_location): Function removed.
* 2002-02-23 Roland McGrath <roland@frob.com>Roland McGrath2002-03-091-11/+2
| | | | | | * hurd/hurd/threadvar.h (__hurd_threadvar_location): Add __THROW to declaration. (__hurd_errno_location): Function removed.
* * sysdeps/mach/configure.in: Check for <mach/machine/ndr_def.h>Roland McGrath2002-02-184-5/+88
| | | | | | | | | | | | | | | | | | | | | | | | | or <machine/ndr_def.h> and add -DNDR_DEF_HEADER=... to DEFINES. * sysdeps/mach/configure: Regenerated. * mach/mach_init.c [NDR_DEF_HEADER]: #include it. * hurd/hurdfault.c (_hurdsig_fault_init): Add a cast. * hurd/hurd/signal.h: Include <setjmp.h> for `jmp_buf' decl. * mach/msgserver.c (__mach_msg_server_timeout) [! MACH_RCV_LARGE]: Double MAX_SIZE and don't retry on MACH_RCV_TOO_LARGE. * sysdeps/mach/hurd/times.c [NO_CREATION_TIME] (startup_time): New static variable. [NO_CREATION_TIME] (times_init): New static function in __libc_subinit. (__times) [NO_CREATION_TIME]: Use startup_time in lieu of task creation_time from task_basic_info. (__times): Use __gettimeofday instead of __host_get_time. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg) [! MACH_MSG_TYPE_BIT]: Use untyped Mach IPC message format. * hurd/catch-exc.c: Include <assert.h>, missing from last change.
* * hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state,Roland McGrath2002-02-181-1/+6
| | | | | | | | | | | | | | | | | | | | | | | _S_catch_exception_raise_state_identity, _hurdsig_fault_catch_exception_raise_state, _hurdsig_fault_catch_exception_raise_state_identity. * mach/shortcut.awk: Don't apply the /^}$/ rule when $proto == "". * sysdeps/mach/getsysstats.c (__get_avphys_pages) [HOST_VM_INFO]: Use __host_info with HOST_VM_INFO flavor instead of __vm_statistics. * sysdeps/mach/hurd/getpriority.c [TASK_SCHED_TIMESHARE_INFO]: Find `base_priority' in PIP->timeshare_base_info instead of PIP->taskinfo. * sysdeps/mach/hurd/dl-sysdep.c [FMH]: Define for i386 only. (fmh, unfmh): Define these functions only #if FMH. Otherwise define them as no-op macros. [FMH] (ELF_MACHINE_USER_ADDRESS_MASK): Redefine it to zero. (__mmap): Uncomment uses of ELF_MACHINE_USER_ADDRESS_MASK. * sysdeps/powerpc/dl-machine.h (ELF_MACHINE_USER_ADDRESS_MASK): New macro.
* * hurd/hurdselect.c (_hurd_select) [MACH_MSG_TRAILER_MINIMUM_SIZE]:Roland McGrath2002-02-173-23/+158
| | | | | | | | | | | | | | | | | | | | | | | | Use untyped Mach IPC message format. * sysdeps/mach/hurd/ioctl.c (__ioctl) [! MACH_MSG_TYPE_BIT]: Handle Handle untyped Mach IPC message formats. * hurd/catch-exc.c (_S_catch_exception_raise) [EXC_MASK_ALL]: Expect different argument conventions when this is defined. [EXC_MASK_ALL] (_S_catch_exception_raise_state): New stub function. [EXC_MASK_ALL] (_S_catch_exception_raise_state_identity): Likewise. * hurd/hurdfault.c: Likewise for _hurdsig_fault_catch_exception_*. [NDR_CHAR_ASCII] (mig_reply_header_t): #define as mig_reply_error_t for OSF Mach variant. (faulted): Use mig_reply_error_t for REPLY. (_hurdsig_fault_init) [EXC_MASK_ALL]: Use EXCEPTION_STATE_IDENTITY in __thread_set_exception_ports call. (_hurdsig_fault_init) [MACH_PORT_RECEIVE_STATUS]: Use __mach_port_set_attributes in place of __mach_port_set_qlimit. * sysdeps/mach/powerpc/sysdep.h (_MACH_MACHINE_ASM_H): Define this before include <sysdeps/mach/sysdep.h>, to inhibit <mach/machine/asm.h> on Darwin, which includes bogons.
* * sysdeps/mach/configure.in: Add some checks for Mach headersRoland McGrath2002-02-171-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to ensure a sane installation. (mach_interface_list): Define this variable by checking for .defs files found in various variants. * configure.in (mach_interface_list): AC_SUBST this. * config.make.in (mach-interface-list): New substituted variable. * mach/Makefile (user-interfaces): Define this using the value of $(mach-interface-list) instead of mach, mach4. Updated other references to mach_interface to use it as well. * sysdeps/mach/powerpc/machine-lock.h: Avoid multi-line strings. * mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as mig_reply_error_t for OSF Mach variant. * mach/Makefile (routines): Remove bootprivport. * mach/bootprivport.c: File removed. It has never been used. * mach/msg-destroy.c (__mach_msg_destroy) [MACH_MSG_PORT_DESCRIPTOR]: Grok the OSF flavor of message format. (mach_msg_destroy_port): For MAKE_SEND and MAKE_SEND_ONCE rights, create an destroy a right to ensure proper no-senders notification. 2002-02-06 Roland McGrath <roland@frob.com> * hurd/Versions (libc: GLIBC_2.0): Move cthread_fork, cthread_detach to here if 2.0 compatibility enabled ... (libc: GLIBC_2.1.3): ... from here.
* (_hurd_internal_post_signal): typoRoland McGrath2002-01-021-1/+1
|
* * sysdeps/mach/hurd/sigwait.c (__sigwait): Use __sigandset,Roland McGrath2002-01-022-5/+5
| | | | | | | | | __sigisemptyset. Don't use MASK uninitialized. * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Use __sigorset. * hurd/hurdinit.c (_hurd_new_proc_init): Use __sigisemptyset. * hurd/hurdsig.c (_hurd_internal_post_signal): Use __sigismember, __sigdelset, __sigaddset, __sigorset.
* * hurd/hurdinit.c (_hurd_ports_use): Return error _hurd_ports is null.Roland McGrath2002-01-023-3/+31
| | | | | | | | | | | | | * hurd/hurdsig.c (_hurdsig_init): Conditionalize exception port setup for old CMU and new OSF Mach interface flavors. * hurd/hurdfault.c (_hurdsig_fault_init): Likewise. * sysdeps/mach/hurd/fork.c (__fork): Likewise. * hurd/hurdsig.c (_hurd_internal_post_signal): Leave msgh_seqno unset. * sysdeps/mach/hurd/spawni.c (__spawni) [KERN_INVALID_LEDGER]: Pass extra arguments to task_create for OSF variant. * sysdeps/mach/hurd/fork.c (__fork): Likewise.
* * sysdeps/powerpc/elf/libc-start.c: Make AUXVEC diddling codeRoland McGrath2002-01-022-5/+5
| | | | | | | | | | | | | | | | | | | conditional on [HAVE_AUX_VECTOR]. * mach/mach/mach_traps.h (thread_switch, __thread_switch): Use mach_msg_timeout_t as type of final argument. * hurd/privports.c (__get_privileged_ports): Change host_priv_t to mach_port_t in argument type. * hurd/hurd.h (get_privileged_ports, __get_privileged_ports): Update decls. * sysdeps/mach/hurd/i386/bits/sigcontext.h: Protect from multiple inclusion. Inhibit #error under [_SYS_UCONTEXT_H]. * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise. * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise. * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise. * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
* * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set,Roland McGrath2001-12-221-1/+2
| | | | _hurd_port_init, and __hurd_self_sigstate.
* 2001-12-22 Roland McGrath <roland@frob.com>Roland McGrath2001-12-221-1/+5
| | | | | | * mach/Versions (libc: GLIBC_2.2.5): Add mig_strncpy. * hurd/Versions (libc: GLIBC_2.2.5): Add _hurd_port_set and __hurd_self_sigstate.
* * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' afterRoland McGrath2001-12-171-3/+7
| | | | | | | `default:' to silence new GCC warning. Rewrite cast of lvalue to silence new GCC warning. * sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm.
* * hurd/hurd.h (__hurd_fail): Add `break;' to silence new gcc-3 warning.Roland McGrath2001-12-021-0/+3
| | | | | | Reported by Jeff Bailey <jbailey@nisa.net>. Reported by Jeff Bailey <jbailey@nisa.net>.
* * hurd/hurd.h (_hurd_umask): Remove volatile qualifier from decl.Roland McGrath2001-12-021-1/+1
|
* * stdio-common/tmpfile.c: Moved to ...Roland McGrath2001-11-131-2/+6
| | | | | | | | | | | | * sysdeps/generic/tmpfile.c: ... here. * sysdeps/mach/hurd/tmpfile.c: New file. * hurd/fopenport.c (__fopenport): Renamed from fopenport. [USE_IN_LIBIO] (fopencookie): #define as _IO_fopencookie. (fopenport): Define as weak alias. * libio/iofopncook.c (_IO_fopencookie): Move forward declaration ... * libio/libioP.h: ... to here.
* 2001-11-09 Roland McGrath <roland@frob.com>Roland McGrath2001-11-101-5/+14
| | | | | | | * hurd/privports.c (__get_privileged_ports): Only contact the proc server if necessary for this call. Suggested by Neal H Walfield <neal@cs.uml.edu>. Check error return for mach_port_mod_refs.
* 2001-11-04 Roland McGrath <roland@frob.com>Roland McGrath2001-11-041-2/+2
| | | | | * hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags parameter to dir_mkfile.
* 2001-10-28 Roland McGrath <roland@frob.com>Roland McGrath2001-10-281-8/+12
| | | | | * hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when packing results for a `poll' call.
* Update.Ulrich Drepper2001-09-192-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-18 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (ptmalloc_init): Handle _environ==NULL. Reported by B. D. Elliott <bde@nwlink.com> [PR libc/2541]. 2001-09-18 Andreas Schwab <schwab@suse.de> * elf/dl-load.c (_dl_map_object_from_fd): Update handling of scope list, now that l_scope is a pointer. * elf/dl-open.c (dl_open_worker): Fix thinko when enlarging the scope list. 2001-09-18 kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/dl-machine.h (elf_machine_rela): Fix reverse condition. (elf_machine_rela_relative): Add a missing declaration. 2001-09-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New. * sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New. * sysdeps/unix/sysv/linux/configure.in: Add ia64 and s390 ldd-rewrite scripts. 2001-09-18 Ulrich Drepper <drepper@redhat.com> * elf/ldd.bash.in: Update copyright message. 2001-09-17 H.J. Lu <hjl@gnu.org> * hurd/hurdmalloc.c (bcopy): Removed. (realloc): Replace bcopy with memcpy. * hurd/path-lookup.c (file_name_path_scan): Likewise. * resolv/gethnamaddr.c (map_v4v6_address): Likewise. * sunrpc/rpcinfo.c (pmapdump): Likewise. * resolv/gethnamaddr.c (getanswer): Replace bcopy with memmove. (gethostbyaddr): Likewise. * sunrpc/rpcinfo.c (get_inet_address): Likewise. 2001-09-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/gnu/eval.c: Removed.
* * hurd/Versions (libc: GLIBC_2.2.5): New set; add _hurd_raise_signal,Roland McGrath2001-08-241-0/+5
| | | | | | | | | _hurdsig_interrupt_timeout, _hurdsig_fault_preemptor. * sysdeps/posix/shm_unlink.c (shm_unlink): __unlink -> unlink. * mach/Versions (libc: GLIBC_2.2.5): New set; add __mach_msg_destroy, __mach_reply_port.
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-221-0/+3
| | | | | * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "". (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
* 2001-08-21 Roland McGrath <roland@frob.com>Roland McGrath2001-08-212-1/+9
| | | | | | | * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here. * Versions.def (libc): Add GLIBC_2.2.5 set. * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro. (__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
* 2001-08-12 Roland McGrath <roland@frob.com>Roland McGrath2001-08-121-1/+1
| | | | * hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
* * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of SA_RESETHAND ↵Mark Kettenis2001-07-271-5/+10
| | | | | | | | | and SA_NODEFER. 2001-07-26 Mark Kettenis <kettenis@gnu.org> * hurd/hurdsig.c (_hurd_internal_post_signal): Fix handling of SA_RESETHAND and SA_NODEFER.
* 2001-07-24 Igor Khavkine <i_khavki@alcor.concordia.ca>Roland McGrath2001-07-241-1/+1
| | | | | * hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization of pending signals.
* 2001-07-22 Roland McGrath <roland@frob.com>Roland McGrath2001-07-231-2/+8
| | | | | * hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND and SA_NODEFER options. Spurred to action by Igor Khavkine.
* 2001-07-11 Igor Khavkine <i_khavki@alcor.concordia.ca>Roland McGrath2001-07-111-2/+1
| | | | | | | * hurd/hurdsig.c (_hurdsig_init): Remove a useless line of code. 2001-07-07 Roland McGrath <roland@frob.com> * hurd/hurdsig.c (_hurd_thread_sigstate): Use MACH_PORT_NULL, not 0.
* Update to LGPL v2.1.Andreas Jaeger2001-07-0677-616/+616
| | | | | | | | | | | | | | 2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
* * hurd/hurdsig.c (_hurd_internal_post_signal): For SS->suspendedRoland McGrath2001-07-041-5/+1
| | | | | wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port rather than doing a mach_port_insert_right call first.
* 2001-06-26 Roland McGrath <roland@frob.com>Roland McGrath2001-07-041-1/+1
| | | | * hurd/hurdioctl.c: Include <string.h> for memcpy decl.
* * hurd/Makefile (user-interfaces): Add pfinet. * hurd/hurdioctl.c: Include ↵Mark Kettenis2001-06-262-2/+31
| | | | | | | | | | | | | | | | | | <hurd/pfinet.h>, <net/if.h> and <netinet/in.h>. (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL as the handler for SIOCGIFCONF. * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and SIOCGIFNAME. From Marcus Brunkmann <marcus@gnu.org>. 2001-06-26 Mark Kettenis <kettenis@gnu.org> * hurd/Makefile (user-interfaces): Add pfinet. * hurd/hurdioctl.c: Include <hurd/pfinet.h>, <net/if.h> and <netinet/in.h>. (siocgifconf): New function. Register it with HURD_HANDLE_IOCTL as the handler for SIOCGIFCONF. * sysdeps/mach/hurd/bits/ioctls.h: Modify SIOCSIFFLAGS and SIOCGIFFLAGS to be of IOC type ifreq_short. Modify SIOCSIFMETRIC and SIOCGIFMETRIC to be of IOC type ifreq_int. Add new macro definitions for SIOCGIFMTU, SIOCSIFMTU, SIOCGIFINDEX and SIOCGIFNAME. From Marcus Brunkmann <marcus@gnu.org>.
* 2001-06-18 Roland McGrath <roland@frob.com>Roland McGrath2001-06-221-2/+2
| | | | * hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
* * hurd/Makefile (routines): Add lookup-retry.Roland McGrath2001-06-173-287/+328
| | | | | | | | | | | * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Broken out ... * hurd/lookup-retry.c: ... into here, new file. * sysdeps/mach/hurd/dl-sysdep.c (open_file): Call that instead using of duplicate code here. * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0. * posix/regex.c: Avoid an access violation if malloc fails.
* 2001-06-16 Roland McGrath <roland@frob.com>Roland McGrath2001-06-171-2/+2
| | | | * hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
* * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.Mark Kettenis2001-06-101-1/+2
| | | | | | 2001-06-10 Mark Kettenis <kettenis@gnu.org> * hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
* 2001-05-19 Roland McGrath <roland@frob.com>Roland McGrath2001-05-201-4/+7
| | | | | | | * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Don't leak the result port when failing with ELOOP. Do the ELOOP check when following an absolute symlink target as well as relative. Remove #ifdef SYMLOOP_MAX conditional--it should always be defined.