| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
__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/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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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_port_init, and __hurd_self_sigstate.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
`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.
|
|
|
|
|
|
| |
Reported by Jeff Bailey <jbailey@nisa.net>.
Reported by Jeff Bailey <jbailey@nisa.net>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* hurd/set-host.c (_hurd_set_host_config): Use O_WRONLY in flags
parameter to dir_mkfile.
|
|
|
|
|
| |
* hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
packing results for a `poll' call.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
_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.
|
|
|
|
|
| |
* hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
(__hurd_file_name_split, __hurd_directory_name_split): Likewise.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* hurd/hurdlookup.c (__hurd_file_name_lookup): Comment fix.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* hurd/hurdsig.c (_hurdsig_init): Fix incorrect initialization
of pending signals.
|
|
|
|
|
| |
* hurd/hurdsig.c (_hurd_internal_post_signal): Support SA_RESETHAND
and SA_NODEFER options. Spurred to action by Igor Khavkine.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
wakeup message, use MACH_MSG_TYPE_MAKE_SEND for the receiver port
rather than doing a mach_port_insert_right call first.
|
|
|
|
| |
* hurd/hurdioctl.c: Include <string.h> for memcpy decl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<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>.
|
|
|
|
| |
* hurd/hurd/fd.h (_hurd_fd_error_signal): Change return type to int.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* hurd/hurdexec.c (_hurd_exec): Be robust for DTABLESIZE==0.
|
|
|
|
|
|
| |
2001-06-10 Mark Kettenis <kettenis@gnu.org>
* hurd/hurd/threadvar.h: Add prototype for __hurd_errno_location.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
Use __ names for calls we make.
(get_privileged_ports): Add alias.
* hurd/hurd.h: Declare it with the __ name.
* sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
* sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
* sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
|
|
|
|
|
| |
* hurd/hurdsig.c (write_corefile): Check RLIMIT_CORE limit and do
nothing if it's zero.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
options after $(build-module), which is no longer a single command.
(LDFLAGS-link-rpcuserlibs): New variable to hold those options.
(LDFLAGS-libmachuser-link.so, LDFLAGS-libhurduser-link.so): New
variables using it. Reported by Mark Kettenis <kettenis@gnu.org>.
2001-03-11 Roland McGrath <roland@frob.com>
* elf/rtld.c (dl_main): Add cast to quiet warning.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
* iconv/gconv_conf.c (__gconv_get_path): Likewise.
(__gconv_read_conf): Likewise.
* iconv/gconv_db.c (gen_steps): Likewise.
(__gconv_find_transform): Likewise.
* locale/programs/charmap-dir.c (fopen_uncompressed): Likewise.
(fopen_uncompressed): Use const in second argument's type.
2001-03-11 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/dl-sysdep.c (__writev): New function.
* mach/mach_error.h: Fix ancient #endif syntax.
* hurd/hurdmalloc.c: Likewise.
* sysdeps/generic/atomicity.h (exchange_and_add, atomic_add,
compare_and_swap): Add volatile qualifier to first arg, to bring
these prototypes in line with all the other implementations.
Add a #warning to remind the builder that these are not atomic.
2001-03-04 Roland McGrath <roland@frob.com>
* hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Use innermore first
member of TEMP_F so its type is _IO_FILE * as expected.
* hurd/fopenport.c (seekio): Conditionalize type of POS argument
on [USE_IN_LIBIO]. Check the value for overflow, since for libio
it might exceed off_t's range.
2001-02-25 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Use prototype.
* sysdeps/unix/bsd/getpt.c (__posix_openpt): Likewise.
* sysdeps/mach/hurd/i386/intr-msg.h (SYSCALL_EXAMINE): Make this a
macro instead of an inline function,
(MSG_EXAMINE): Likewise.
* hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Remove extraneous ##.
* hurd/get-host.c: Include <string.h> for decls of built-ins.
* hurd/hurdchdir.c: Likewise.
* sysdeps/mach/hurd/i386/sigreturn.c: Likweise.
* sysdeps/mach/hurd/opendir.c: Likewise.
* mach/mach_init.c: Include <unistd.h> for _exit decl.
* mach/errsystems.awk: Give output file a trailing newline.
* mach/Machrules (MIG): Prepend CC='${CC}' to the mig command, so that
the script will use our compiler for the cpp stage.
With --enable-all-warnings we get a whole bunch of warnings,
and these are just a few fixes; there are more needed to silence it.
* mach/mach/mig_support.h (__mig_strncpy, mig_strncpy): Add extern
decls before extern inline defns to quiet gcc warning.
* hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): Likewise.
* sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sunrpc/Makefile (routines): Add rpc_thread.
(CPPFLAGS): Add -D_RPC_THREAD_SAFE.
* sunrpc/rpc_thread.c: New file.
* sunrpc/Versions [libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
* sunrpc/auth_none.c: Don't use global variables. Access state in
thread-local storage.
* sunrpc/clnt_perr.c: Likewise.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/rpc_common.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
_HURD_THREADVAR_RPC_VARS.
* sysdeps/generic/bits/libc-tsd.h: Mention _LIBC_TSD_KEY_RPC_VARS.
* include/rpc/rpc.h: Define data structures for internal thread-local
"global" variables.
Based on patches by Eric Norum <eric.norum@usask.ca>.
|
|
|
|
|
|
|
|
|
|
| |
value such that we actually return the value of the environment variable.
2001-01-24 Mark Kettenis <kettenis@gnu.org>
* hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
declaration of value such that we actually return the value of the
environment variable.
|
|
|
|
|
|
|
|
|
|
|
| |
looking up the initial directory port in a similar way as done by _hurd_change_directory_port_from_name. * hurd/fchroot.c (fchroot): Likewise.
2001-01-19 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
but change looking up the initial directory port in a similar way
as done by _hurd_change_directory_port_from_name.
* hurd/fchroot.c (fchroot): Likewise.
|
|
|
|
|
|
| |
* hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
(_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
allow multiple instances using the same function name in one file.
|
|
|
|
| |
* hurd/get-host.c (_hurd_get_host_config): Fix last change.
|
|
|
|
|
|
|
|
|
|
| |
make sure the result is null terminated even if there is no trailing newline.
2000-11-13 Marcus Brinkmann <marcus@gnu.org>
* hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
underrun and make sure the result is null terminated even if there
is no trailing newline.
|
|
|
|
|
|
|
|
|
|
| |
_hurd_msgport_thread is initialized when cthreads is being used.
2000-08-22 Mark Kettenis <kettenis@gnu.org>
* hurd/hurdsig.c: Rearrange headers a bit.
(_hurdsig_init): Block until _hurd_msgport_thread is initialized
when cthreads is being used.
|
|
|
|
|
|
|
|
|
|
| |
thread, set the cancellation flag and return success instead of EINTR.
2000-07-25 Mark Kettenis <kettenis@gnu.org>
* hurd/thread-cancel.c (hurd_thread_cancel): When cancelling the
calling thread, set the cancellation flag and return success
instead of EINTR.
|
|
|
|
|
|
| |
2000-07-08 Mark Kettenis <kettenis@gnu.org>
* hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
|
|
|
|
|
|
|
|
|
|
|
| |
from pwrite. (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of `struct _IO_cookie_file'.
2000-07-07 Mark Kettenis <kettenis@gnu.org>
* hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
(do_write): Renamed from pwrite.
(vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
`struct _IO_cookie_file'.
|
|
|
|
|
| |
* mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
* hurd/Versions: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
* malloc/malloc.c: Declare bit flags UL so that they will not
default to int size when being inverted.
2000-03-29 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
* sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
2000-03-29 Andreas Jaeger <aj@suse.de>,
Ralf Baechle <ralf@uni-koblenz.de>
* Makeconfig: Introduce new variable SHARED to mark code used in
the shared library.
* elf/dl-close.c: Use it instead of PIC.
* elf/dl-load.c: Likewise.
* elf/dl-open.c: Likewise.
* hurd/geteuids.c: Likewise.
* include/libc-symbols.h: Likewise.
* include/shlib-compat.h: Likewise.
* libio/freopen.c: Likewise.
* linuxthreads/cancel.c: Likewise.
* linuxthreads/pthread.c: Likewise.
* linuxthreads/wrapsyscall.c: Likewise.
* nss/nsswitch.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
* sysdeps/arm/init-first.c: Likewise.
* sysdeps/i386/init-first.c: Likewise
* sysdeps/generic/init-first.c: Likewise.
* sysdeps/generic/libc-start.c: Likewise.
* sysdeps/mips/init-first.c: Likewise.
* sysdeps/powerpc/elf/libc-start.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Likewise.
* sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
* sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mach/Versions (libc: GLIBC_2.0)
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
__vm_allocate on this.
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
mutex- and spinlock-related symbols on this.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set. Lock-related symbols go here instead in this case.
* sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
_cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
cthread_getspecific, cthread_setspecific, __libc_getspecific.
* hurd/Versions
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
Put them here instead.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set. Those cthreads symbols go here instead in this case.
* Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* dlfcn/dlopenold.c: Likewise.
* nss/getXXbyYY_r.c: Likewise.
* nss/getXXent_r.c: Likewise.
* hurd/hurdinit.c: Likewise.
* hurd/compat-20.c: Likewise.
* libio/oldiofopen.c: Likewise.
* libio/oldiofclose.c: Likewise.
* libio/oldiofdopen.c: Likewise.
* libio/oldfileops.c: Likewise.
* libio/oldstdfiles.c: Likewise.
* libio/oldiofsetpos.c: Likewise.
* libio/oldiofgetpos.c: Likewise.
* libio/oldiofgetpos64.c: Likewise.
* libio/oldiofsetpos64.c: Likewise.
* libio/oldiopopen.c: Likewise.
* libio/oldpclose.c: Likewise.
* libio/oldtmpfile.c: Likewise.
* libio/freopen.c (freopen): Likewise.
* libio/iofclose.c (_IO_new_fclose): Likewise.
|
|
|
|
|
| |
* hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
an initial value of 1024 instead of RLIM_INFINITY.
|
|
|
|
|
|
| |
* 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.
|