Lines Matching refs:hurd
23 * sysdeps/mach/hurd/brk.c (___brk_addr): Define as weak alias for
46 * hurd/hurdinit.c (map0): Remove [!PIC] conditional.
106 * hurd/Makefile (routines): Add get-host, set-host.
108 * hurd/hurdhost.h: New file.
109 * sysdeps/mach/hurd/gethostname.c: Use _hurd_get_host_config.
110 * sysdeps/mach/hurd/gethostid.c: Likewise.
111 * sysdeps/mach/hurd/sethostname.c: Use _hurd_set_host_config.
112 * sysdeps/mach/hurd/sethostid.c: Likewise.
113 * hurd/get-host.c: New file.
114 * hurd/set-host.c: New file.
156 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): Variable removed.
182 * hurd/hurdsig.c (_hurd_internal_post_signal): Rename `deliver:'
187 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill):
422 * sysdeps/mach/hurd/dl-sysdep.c (__open): Define this instead of open.
583 * hurd/Makefile (distribute): Consolidate defns into one.
649 * sysdeps/mach/hurd/getpriority.c (getpriority): Use new interface
704 * hurd/Makefile (headers): Add hurd/ioctl.h.
745 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO==0 pending
748 * sysdeps/mach/hurd/sigaction.c: If new action is SIG_IGN or SIG_DFL
751 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't mark a signal
756 * hurd/hurdsig.c (_hurd_internal_post_signal: resume): Only set
764 * sysdeps/mach/hurd/errlist.c: File removed.
777 * sysdeps/mach/hurd/errlist.c (_sys_errlist): Add EILSEQ.
787 * sysdeps/mach/hurd/setitimer.c (timer_thread): Supply SIGCODE
790 * hurd/hurdmalloc.c: Changes to bring in line with the hurd
974 * sysdeps/mach/hurd/Dist: Updated.
1012 * sysdeps/mach/hurd/getlogin_r.c: New file.
1187 * sysdeps/mach/hurd/errlist.awk: File removed, above file replaces it.
1188 * sysdeps/mach/hurd/Makefile (errlist.c): Target removed.
1200 * hurd/hurdsig.c (_hurd_internal_post_signal): When setting ACT to
1211 * hurd/hurdsig.c (_hurd_internal_post_signal): When turning the action
1416 * sysdeps/mach/hurd/Makefile (errnos.d): Use $(sed-remove-objpfx).
1510 * hurd/report-wait.c (_S_msg_report_wait): Return `itimer' for the
1513 * hurd/hurdinit.c (_hurd_init): Set _HURDSIG_TRACED before calling
1996 * hurd/hurdexec.c (_hurd_exec): Pass INIT_TRACEMASK.
1997 * hurd/hurdmsg.c (set_int): Support INIT_TRACEMASK.
2001 * sysdeps/mach/hurd/getcwd.c
2016 * hurd/hurdstartup.c (_hurd_startup): ... and don't so here.
2026 * hurd/hurdstartup.c (_hurd_startup): Terminate the vectors we get
2062 * sysdeps/mach/hurd/Implies: Likewise.
2240 * sysdeps/mach/hurd/configure.in: Don't grok --with-hurd option.
2255 * hurd/hurdfault.c: Include faultexc_server.h instead of faultexc.h.
2265 * hurd/Makefile: Removed all rules and defns for using code from Hurd
2268 * sysdeps/mach/hurd/errnos.awk: Set in_mach_errors to FILENAME when we
2272 * sysdeps/mach/hurd/Makefile: Don't include sysdeps/mach/Makefile;
2274 (hurd-srcdir): Variable removed.
2275 (includes): Don't append -I$(hurd-srcdir).
2277 Remove vpath specs using $(hurd-srcdir).
2299 * hurd/Makefile (server-interfaces): Add faultexc.
2304 * hurd/faultexc.defs: New file.
2503 * sysdeps/mach/hurd/getcwd.c: Use io_identity instead of io_stat.
2511 * sysdeps/mach/hurd/i386/exc2signal.c: Use struct hurd_signal_detail.
2513 * hurd/report-wait.c (_S_msg_describe_ports): New function.
2613 * sysdeps/mach/hurd/fdatasync.c: New file.
2614 * sysdeps/mach/hurd/fsync.c: Pass new flag to file_sync.
2616 * sysdeps/mach/hurd/xmknod.c: Pass new flag to dir_link.
2617 * sysdeps/mach/hurd/symlink.c: Likewise.
2618 * sysdeps/mach/hurd/link.c: Likewise.
2619 * sysdeps/mach/hurd/bind.c: Likewise.
2620 * hurd/hurdsig.c (write_corefile): Likewise.
2622 * hurd/hurdsig.c (write_corefile): Pass cttyid port to crash server.
2624 * sysdeps/mach/hurd/fpathconf.c: RPC takes int pointer, not long int.
2626 * sysdeps/mach/hurd/_exit.c (_hurd_exit): Pass sigcode arg to
2628 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Likewise.
2630 * sysdeps/mach/hurd/wait4.c: Pass sigcode arg to proc_wait.
2632 * sysdeps/mach/hurd/rename.c: Pass new flag to dir_rename.
2634 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise): Use struct
2636 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
2637 * hurd/hurd-raise.c (_hurd_raise_signal): Likewise.
2638 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2640 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Likewise.
2642 * hurd/hurd/signal.h: Fix _hurd_exception2signal prototype.
2644 * hurd/hurdsig.c (write_corefile): Take const struct
2650 * hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
2663 * hurd/hurdsig.c: Use struct hurd_signal_detail.
2664 * hurd/hurd/fd.h (_hurd_fd_error): Likewise.
2665 * sysdeps/mach/hurd/sysd-stdio.c (fd_fail): Likewise.
2685 * hurd/hurd/signal.h (_hurd_intr_rpc_mach_msg): New declaration.
2689 * hurd/hurd/sigpreempt.h (struct hurd_signal_preempter): Change
2692 * hurd/hurd/signal.h (struct hurd_signal_detail): New type.
2701 * sysdeps/mach/hurd/dl-sysdep.c (open): Don't pass io port in
2711 * hurd/hurd-raise.c (_hurd_raise_signal): Pass sigcode in msg_sig_post
2714 * hurd/hurdmsg.c (_S_msg_set_environment): Use argz.h functions
2721 * sysdeps/mach/hurd/ptrace.c: Set _hurdsig_traced instead of
2725 * sysdeps/mach/hurd/access.c: Don't pass io port in
2730 * sysdeps/mach/hurd/fork.c: Use new critical section lock.
2753 * sysdeps/mach/hurd/sigprocmask.c: Pass sigcode arg to msg_sig_post.
2754 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
2755 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
2756 * sysdeps/mach/hurd/kill.c: Likewise.
2758 * hurd/hurdexec.c (_hurd_exec): Use new critical section lock.
2759 * hurd/catch-exc.c (_S_catch_exception_raise): Likewise.
2760 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Likewise.
2761 * hurd/thread-cancel.c (hurd_thread_cancel, hurd_check_cancel):
2763 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2764 * sysdeps/mach/hurd/sigaction.c: Likewise.
2766 * sysdeps/mach/hurd/errnos.awk: Don't use ARGV in comment; it can
2769 * hurd/hurd/signal.h (struct hurd_sigstate): Replace critical section
2775 * hurd/hurdsig.c (_hurd_internal_post_signal): Use spin_lock_locked to
2778 * hurd/hurdinit.c (_hurd_init): Set _hurdsig_traced from the intarray.
2780 * hurd/hurdkill.c (_hurd_sig_post): Pass 0 sigcode in msg_sig_post.
2782 * hurd/hurdsig.c (_hurd_internal_post_signal): Test _hurdsig_traced
2788 * hurd/setauth.c (_hurd_setauth): Don't pass object ports in
2790 * hurd/dtable.c (reauth_dtable): Likewise.
2791 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Likewise.
2793 * hurd/hurdexec.c (_hurd_exec): Pass 0 flags to file_exec.
2798 * hurd/hurdinit.c (_hurd_proc_init): Test _hurdsig_traced instead of
2802 * hurd/hurd.h: Declare _hurdsig_traced.
2806 * hurd/hurd/signal.h (_hurd_critical_section_unlock): Pass sigcode arg
2809 * hurd/path-lookup.c: New file.
2810 * hurd/Makefile (routines): Add path-lookup.
2811 * hurd/hurd/lookup.h: Declare file_name_path_scan,
2813 * hurd/hurd.h: Declare file_name_path_lookup.
2815 * sysdeps/mach/hurd/select.c: The io_select rpc no longer has a TAG_ID
2944 * sysdeps/mach/hurd/getcwd.c: Jump out of both loops when we find a
3111 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Add timeout argument to
3115 * hurd/report-wait.c (describe_number): Correctly allocate space
3120 * hurd/hurdstartup.c (_hurd_split_args): Function removed.
3123 * hurd/hurdexec.c: Use argz functions.
3126 * sysdeps/mach/hurd/errnos.awk: #define __error_t_defined after the
3219 * sysdeps/mach/hurd/getcwd.c (__getcwd): When we find a match in
3223 * sysdeps/mach/hurd/fcntl.c (__fcntl): Add missing break after F_SETFL.
3237 * hurd/hurdsig.c (signal_allowed): For SIGIO/SIGURG, add a new
3248 * sysdeps/mach/hurd/statfs.c: New file.
3249 * sysdeps/mach/hurd/fstatfs.c: New file.
3358 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Store
3366 and rms says the hurd should be the one to change).
3370 * sysdeps/mach/hurd/fork.c: Don't leak send rights to the child's proc
3375 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Store
3378 * sysdeps/mach/hurd/mig-reply.c (__mig_dealloc_reply_port): Only
3510 * sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
4043 * sysdeps/mach/hurd/getcwd.c: Fail with ENOENT if a parent directory
4049 * sysdeps/mach/hurd/setpgid.c: Likewise.
4246 * sysdeps/mach/hurd/select.c (__select): Include LASTFD in the
4255 * sysdeps/mach/hurd/select.c (__select): Also don't fault just
4260 * sysdeps/mach/hurd/select.c (__select):
4267 * hurd/catch-signal.c (hurd_safe_memmove): New function.
4269 * hurd/hurd/sigpreempt.h: Declare them.
4370 * sysdeps/mach/hurd/profil.c (MAX_PC_SAMPLES): New macro.
4573 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Mask off type bits in
4575 * sysdeps/mach/hurd/ioctls.h (_IOC_NOTYPE): New macro.
4577 * sysdeps/mach/hurd/ioctl.c: Ignore handler if it fails with ENOTTY.
4578 * hurd/hurdioctl.c (_hurd_lookup_ioctl_handler): Mask off type
4747 * hurd/hurdfault.c (_hurdsig_fault_init): Set qlimit on
4767 * hurd/Makefile (user-interfaces): Added hurd/tioctl.
4771 * hurd/hurdioctl.c (tiocsctty): Set the terminal's pgrp to our own.
4779 * hurd/hurdmsg.c (_S_msg_report_wait): Function removed.
4780 * hurd/report-wait.c: New file.
4781 * hurd/Makefile (routines): Added report-wait.
4783 * sysdeps/mach/hurd/Makefile (inhibit-unix-syscalls): New variable.
4785 * sysdeps/mach/hurd/i386/intr-msg.h (struct mach_msg_trap_args):
4788 * sysdeps/mach/hurd/i386/trampoline.c (struct mach_msg_trap_args):
4794 * sysdeps/mach/hurd/dl-sysdep.c (__hurd_sigthread_stack_base,
4798 * sysdeps/mach/hurd/fork.c: Set the new task's exception port to
4805 * sysdeps/mach/hurd/fchdir.c: Don't consult errno unless lookup fails.
4806 * hurd/fchroot.c: Likewise.
4833 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): RETRYNAME of
4844 * sysdeps/mach/hurd/fork.c: Clear trace flag in child.
4848 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Clear SS->intr_port
4856 * hurd/hurdinit.c [! PIC] (map0): New function, on _hurd_preinit_hook.
4879 * sysdeps/mach/hurd/select.c (__select): Recalculate GOT to
4941 * hurd/hurdlookup.c (__file_name_lookup_under,
4943 * sysdeps/mach/hurd/xmknod.c: Restrict mode with umask.
4944 * sysdeps/mach/hurd/mkdir.c: Restrict mode with umask.
5026 * sysdeps/mach/hurd/bind.c (bind): Ensure NAME for the AF_LOCAL
5047 * hurd/hurd.h: Use prototype in getcttyid decl.
5367 * sysdeps/mach/hurd/fstat.c: File removed.
5368 * sysdeps/mach/hurd/fxstat.c: New file.
5369 * sysdeps/mach/hurd/lstat.c: File removed.
5370 * sysdeps/mach/hurd/lxstat.c: New file.
5371 * sysdeps/mach/hurd/mknod.c: File removed.
5372 * sysdeps/mach/hurd/stat.c: File removed.
5373 * sysdeps/mach/hurd/xmknod.c: New file.
5374 * sysdeps/mach/hurd/xstat.c: New file.
5572 * sysdeps/mach/hurd/dl-sysdep.c (mmap): If vm_map returns
5605 * sysdeps/mach/hurd/setitimer.c: Code rearranged a bit to use new
5608 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5611 * hurd/Makefile (headers): Add hurd/sigpreempt.h.
5614 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5616 * hurd/hurdfault.h (_hurdsig_catch_fault): Likewise.
5621 * hurd/catch-signal.c: New file.
5623 * hurd/intr-msg.c: When restarting RPC, fetch a new reply port.
5625 * hurd/hurdsig.c: Use new hurdfault.h interface.
5629 * hurd/hurdkill.c (_hurd_sig_post): When doing pgrp, make sure we
5634 * sysdeps/mach/hurd/access.c (__access): Put the uid/gid arguments
5641 * sysdeps/mach/hurd/fork.c: Use a different workaround for the
5645 * sysdeps/mach/hurd/setgid.c: Rewrote gid frobnication to
5650 * hurd/hurd/signal.h (struct hurd_sigstate): New member `preempters'.
5652 * hurd/hurd/sigpreempt.h: New file.
5653 * hurd/preempt-sig.c: Rewritten with new interface.
5654 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Remove local signal
5656 * hurd/hurdsig.c: Use new signal preemption interface.
5677 * hurd/preempt-sig.c (hurd_unpreempt_signals): Remove bogus asgnmt
5682 * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into
5686 * sysdeps/mach/hurd/connect.c: Make address arg
5689 * sysdeps/mach/hurd/sendto.c: Likewise.
5690 * sysdeps/mach/hurd/bind.c: Likewise.
5702 * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not
5704 * sysdeps/mach/hurd/setuid.c: Likewise.
5706 * sysdeps/mach/hurd/setuid.c: Rewrote ID frobnication to do the
5708 * sysdeps/mach/hurd/setgid.c: Likewise.
5709 * sysdeps/mach/hurd/setreuid.c: Likewise.
5710 * sysdeps/mach/hurd/setregid.c: Likewise.
5711 * sysdeps/mach/hurd/setegid.c: Likewise.
5712 * sysdeps/mach/hurd/seteuid.c: Likewise.
5714 * sysdeps/mach/hurd/fork.c: Peek __mach_task_self_ value before
5725 * sysdeps/mach/hurd/setuid.c (__setuid): Actually add the new uid
5738 * hurd/hurdpid.c (_S_msg_proc_newids): Only run the hook when the
5750 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Fix setting of
5799 * hurd/hurdsig.c (_hurd_internal_post_signal: suspend): Reply
5811 * sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
5833 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For "tty"
5836 * sysdeps/mach/hurd/mmap.c: For MAP_FIXED, deallocate a previous
5861 * sysdeps/mach/hurd/select.c (__select): Swap size args to mach_msg.
5863 * sysdeps/mach/hurd/select.c (__select): Frob TYPES correctly when
5874 * sysdeps/mach/hurd/sys/param.h (NBBY): New macro.
5887 * sysdeps/mach/hurd/ioctl.c: Fix typo in last change.
5967 * sysdeps/mach/hurd/ioctl.c: For IOC_VOID request, send ARG itself
5972 * sysdeps/mach/hurd/brk.c (DATA_SIZE): Bump to 128MB.
6014 * sysdeps/mach/hurd/getsid.c: New file.
6077 * sysdeps/mach/hurd/dl-sysdep.c (malloc, free, realloc,
6089 * hurd/hurdsig.c (post_reply): Function removed.
6095 * sysdeps/mach/hurd/mmap.c: Cope with a null write memobj for
6160 * hurd/hurdfault.c: Replace __libc_fatal calls with assert_perror.
6163 * hurd/hurdsig.c: Replace __libc_fatal calls with assert_perror.
6166 * sysdeps/mach/hurd/ptrace.c (ptrace: PTRACE_CONT): Use
6171 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): New
6198 * sysdeps/mach/hurd/dl-sysdep.c (free): Don't abort, just nop.
6210 * sysdeps/mach/hurd/dl-sysdep.c: Include _itoa.h from stdio-common
6251 * hurd/hurdprio.c (_hurd_priority_which_map): Cast vm_deallocate
6254 * hurd/hurdsig.c (_hurd_internal_post_signal): For SIGNO == 0,
6270 * hurd/hurdexec.c (_hurd_exec): If exec'ing self, pass
6275 * hurd/hurdinit.c (_hurd_proc_init): When traced, use msg_sig_post
6278 * hurd/Makefile (user-interfaces): Add hurd/process_request.
6290 * sysdeps/mach/hurd/ptrace.c (ptrace) [PTRACE_TRACEME]: Notify the
6344 * sysdeps/mach/hurd/getpriority.c (getpriority): Cast
6349 * sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to
6351 * sysdeps/mach/hurd/connect.c: Likewise.
6352 * sysdeps/mach/hurd/bind.c: Likewise.
6354 * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits
6356 * sysdeps/mach/hurd/getpriority.c: Likewise.
6358 * hurd/hurdmsg.c (_S_msg_report_wait): New stub function.
6366 * sysdeps/mach/hurd/getpriority.c (getpriority): Pass
6370 * sysdeps/mach/hurd/setpriority.c (setpriority): Pass new arg to
6372 * hurd/hurdprio.c (_hurd_priority_which_map): New arg PI_FLAGS,
6374 * hurd/hurd/resource.h: Add PI_FLAGS arg in decl.
6376 * sysdeps/mach/hurd/group_member.c: New file.
6421 * sysdeps/mach/hurd/bind.c (bind): Swap args to dir_link.
6422 * sysdeps/mach/hurd/link.c (__link): Ditto.
6423 * sysdeps/mach/hurd/symlink.c (__symlink): Ditto.
6424 * sysdeps/mach/hurd/mknod.c (__mknod): Ditto.
6472 * hurd/hurdstartup.c (_hurd_startup): Use new
6501 * hurd/Makefile (user-interfaces): Add hurd/exec_startup.
6533 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic
6552 * hurd/hurdsock.c: Include stdio-common/_itoa.h instead of
6554 * hurd/hurdlookup.c: Likewise.
6556 * hurd/hurd/signal.h: Declare hurd_preempt_signals and
6668 * sysdeps/mach/hurd/getcwd.c: Use __file_name_lookup_under.
6669 * sysdeps/mach/hurd/bind.c: Likewise.
6670 * sysdeps/mach/hurd/access.c: Use new __hurd_file_name_lookup
6673 * hurd/hurdexec.c: Undo last change (10 Oct 95).
6677 * hurd/hurd/lookup.h: New file.
6678 * hurd/hurdlookup.c (__file_name_lookup_under): New function.
6687 * sysdeps/mach/hurd/chroot.c: Use __file_name_lookup_under instead
6689 * sysdeps/mach/hurd/chdir.c: Likewise.
6690 * sysdeps/mach/hurd/fchdir.c: Likewise.
6691 * hurd/fchroot.c: Likewise.
6743 * hurd/hurd.h (file_name_lookup_under): Declare it.
6744 * hurd/Makefile (headers): Add hurd/lookup.h.
6746 * hurd/hurdinit.c (_hurd_ports_use): New function.
6747 * hurd/hurd.h (_hurd_ports_use): Declare it.
6750 * hurd/Makefile (routines): Remove invoke-trans.
6759 * sysdeps/mach/hurd/profil.c (fork_profil): Only call
6779 * sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): New variable; pass
6782 * hurd/hurdexec.c: Pass poly and dealloc args to __file_exec.
6803 * sysdeps/mach/hurd/dl-sysdep.c: Use __hurd_fail throughout.
6804 * hurd/hurd.h (__hurd_fail): Replace macro with inline function.
6862 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Ignore -- args.
6866 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_message): New function.
6888 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): If started by
6942 * sysdeps/mach/hurd/getcwd.c (__getcwd): Renamed from getcwd.
7081 * sysdeps/mach/hurd/profil.c: New file.
7093 * sysdeps/mach/hurd/Makefile: Elide sunrpc from $(subdirs) for the
7112 * sysdeps/mach/hurd/i386/init-first.c (init1) [PIC]: Call
7154 * hurd/hurdstartup.c (_hurd_startup): If RPC returns
7229 * sysdeps/mach/hurd/fpathconf.c: Call __io_pathconf instead of
7231 * sysdeps/mach/hurd/pathconf.c: Likewise.
7240 * hurd/hurdlookup.c (__hurd_file_name_lookup_retry): Call
7245 * sysdeps/mach/hurd/truncate.c: Call __file_set_size instead of
7247 * sysdeps/mach/hurd/ftruncate.c: Likewise.
7303 * sysdeps/mach/hurd/ttyname_r.c: New file. Reentrant version.
7329 * hurd/hurdsig.c: Include <hurd/crash.h> in place of <hurd/core.h>.
7332 * hurd/Makefile (user-interfaces): Replace hurd/core with hurd/crash.
7449 * sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
7458 * hurd/intr-msg.c: Treat apparent EINTR return from msg trap like
7483 * sysdeps/mach/hurd/select.c: Deal with out of order replies
7486 * hurd/intr-msg.c: If the user passed the MACH_RCV_TIMEOUT option,
7507 * sysdeps/mach/hurd/dirstream.h: Define `struct __dirstream'
7512 * sysdeps/mach/hurd/telldir.c: Include "dirstream.h".
7513 * sysdeps/mach/hurd/seekdir.c: Likewise.
7514 * sysdeps/mach/hurd/opendir.c: Likewise.
7515 * sysdeps/mach/hurd/closedir.c: Likewise.
7516 * sysdeps/mach/hurd/readdir.c: Likewise.
7528 * sysdeps/mach/hurd/mmap.c: Fix inverted test of MAP_FIXED.
7547 * sysdeps/mach/hurd/mmap.c: Treat (FLAGS & MAP_TYPE) == 0 like
7550 * hurd/thread-cancel.c: Return EINTR when called on self.
7562 * hurd/thread-cancel.c: If SS->cancel_hook is not null, call it before
7564 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel_hook'.
7566 * hurd/Makefile: Removed dep on hurd/signal.h for RPC stub objects.
7576 * sysdeps/mach/hurd/Makefile: Don't elide sunrpc and manual from
7579 * sysdeps/mach/hurd/i386/intr-msg.h: New file.
7580 * hurd/intr-msg.c: Use INTR_MSG_TRAP macro from machine-dependent
7582 * hurd/hurdsig.c: Use INTR_MSG_BACK_OUT macro from
7586 * sysdeps/mach/hurd/i386/trampoline.c: If PC is inside
7594 * sysdeps/mach/hurd/fork.c (_hurd_fork_locks): Variable removed.
7602 * hurd/intr-msg.c: Fixed calculation of syscall %esp.
7606 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Remove `static'.
7608 * hurd/Makefile (sig): Add intr-msg.
7612 * hurd/thread-cancel.c: New file.
7613 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): In
7616 * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
7617 * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
7618 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
7619 * hurd/intr-msg.c: New file.
7620 * hurd/hurd/signal.h (struct hurd_sigstate): New member `cancel'.
7625 * hurd/intr-rpc.h: New file.
7626 * hurd/intr-rpc.defs: Just import intr-rpc.h.
7627 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): New variable.
7635 * hurd/hurd.h (hurd_thread_cancel, hurd_check_cancel): Declare these.
7636 * hurd/Makefile (distribute): Remove intr-rpc.awk.
7639 * sysdeps/mach/hurd/dl-sysdep.c: Change all RPCs from
7643 * sysdeps/mach/hurd/ioctl.c: Use _hurd_intr_rpc_mach_msg function,
7649 * sysdeps/mach/hurd/fork.c: Remove _hurd_longjmp_thread_state decl.
7651 * sysdeps/mach/hurd/kill.c (kill_pid): Don't make `inline'.
7658 * sysdeps/mach/hurd/setuid.c (__setuid): Switch the port-type and
7660 * sysdeps/mach/hurd/setgid.c (__setgid): Ditto.
7664 * hurd/sigunwind.c: Remove _hurd_longjmp_thread_state decl.
7698 * sysdeps/mach/hurd/sendto.c (sendto): Use the ifsock protocol to
7701 * sysdeps/mach/hurd/accept.c (accept): If the protocol family
7704 * sysdeps/mach/hurd/recvfrom.c (recvfrom): Ditto.
7708 * sysdeps/mach/hurd/bind.c (bind): Don't use
7788 * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
7872 * sysdeps/i386/init-first.c: Removed gratuitous #include <hurd.h>.
7878 * sysdeps/mach/hurd/socket.c (socket): Consider MIG_BAD_ID and
7880 * sysdeps/mach/hurd/pipe.c (__pipe): Likewise.
7881 * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
7890 * sysdeps/mach/hurd/i386/init-first.c (init): Take just one arg,
7902 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Fixed this kludge to work
7936 * hurd/hurd/threadvar.h (__hurd_threadvar_location): Declare with
7938 * hurd/hurd/signal.h (_hurd_self_sigstate): Likewise.
7940 * hurd/hurd/userlink.h (_hurd_userlink_link): Properly set
7950 * sysdeps/stub/init-first.c: Don't include <hurd.h>.
7990 * hurd/hurdstartup.c (_hurd_startup): Fancier kludge to guess phdr
8002 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Add kludge to
8009 * sysdeps/mach/hurd/dl-sysdep.c (mmap): Use it as mask in vm_map call.
8014 * sysdeps/mach/hurd/dl-sysdep.c (threadvars): New static variable.
8037 * hurd/Makefile (sig): Added thread-self.
8038 * hurd/hurd.h: Declare hurd_thread_self.
8039 * hurd/thread-self.c: New file.
8062 * hurd/hurdsig.c (_hurd_internal_post_signal): Don't loop to check
8066 * sysdeps/mach/hurd/pathconf.c: New file.
8067 * sysdeps/mach/hurd/fpathconf.c: New file.
8069 * sysdeps/mach/hurd/sigaction.c: Only notify the proc server for
8085 * sysdeps/mach/hurd/i386/init-first.c: In cthreads case, handle
8089 * sysdeps/mach/hurd/Makefile, sysdeps/sparc/Makefile, Makefile,
8093 * hurd/hurdstartup.c: Don't call __mach_init. Grok args from the
8158 * hurd/alloc-fd.c (_hurd_alloc_fd): Don't reduce FIRST_FD in
8163 * hurd/alloc-fd.c (_hurd_alloc_fd): When expanding the dtable,
8179 * hurd/hurdstartup.h: New file.
8218 * hurd/hurdsig.c (_hurd_internal_post_signal): If SS->context is
8221 * sysdeps/mach/hurd/i386/trampoline.c: Don't set SS->intr_port
8223 * sysdeps/mach/hurd/i386/sigreturn.c: Don't set SS->intr_port when
8238 * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change.
8245 * hurd/Makefile (distribute): Added hurdstartup.h.
8246 * hurd/hurd.h: Remove _hurd_startup decl.
8248 * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__
8251 * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the
8254 * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit,
8281 * sysdeps/mach/hurd/dl-sysdep.c: New file.
8282 * sysdeps/mach/hurd/i386/init-first.c: New file.
8362 * sysdeps/mach/hurd/fork.c: Subfunction `unlockss' removed. Lock
8374 * sysdeps/mach/hurd/Makefile (LDLIBS-c.so): New variable.
8382 * hurd/hurd.h: Declare _hurd_startup.
8383 * hurd/hurdstartup.c: New file.
8384 * hurd/Makefile (routines): Add hurdstartup.
8388 * hurd/hurdsig.c: Use assert_perror for many calls which should
8391 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
8571 * hurd/hurdinline.c: Include signal.h first, so we don't define
8593 * sysdeps/mach/hurd/setitimer.c (fork_itimer): Add self reference
8601 * sysdeps/mach/hurd/i386/trampoline.c: Add a link to
8604 * sysdeps/mach/hurd/i386/sigreturn.c: Remove the link on the
8606 * hurd/sigunwind.c: New file.
8607 * hurd/Makefile (sig): Add sigunwind.
8688 * sysdeps/mach/hurd/jmp-unwind.c: New file.
8693 * hurd/hurd/userlink.h (struct hurd_userlink): Move `next' and
8700 * hurd/hurd/port.h (_hurd_port_cleanup): Declare it.
8703 * hurd/hurd/signal.h (struct hurd_sigstate): New member
8705 * hurd/port-cleanup.c: New file.
8706 * hurd/Makefile (routines): Add port-cleanup.
8768 * hurd/dtable.c, hurd/getdport.c, hurd/hurd.h, hurd/hurdexec.c,
8769 hurd/hurdinit.c, hurd/hurdprio.c, hurd/hurdsock.c,
8770 hurd/ports-get.c, hurd/ports-set.c, hurd/setauth.c,
8771 hurd/setuids.c, sysdeps/mach/hurd/i386/trampoline.c:
8777 * sysdeps/mach/hurd/closedir.c: Include hurd/fd.h.
8852 * hurd/Makefile: Likewise.
8867 * sysdeps/mach/hurd/euidaccess.c: Include fcntl.h. Declare ERR;
8870 * sysdeps/mach/hurd/dirfd.c: Include hurd/fd.h and errno.h.
8872 * sysdeps/mach/hurd/opendir.c: Include hurd/fd.h. Use a `struct
8874 * sysdeps/mach/hurd/readdir.c: Include hurd/fd.h.
8879 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
9138 * sysdeps/mach/hurd/mmap.c (mmap): Rename to __mmap, add weak
9187 * sysdeps/mach/hurd/kill.c: When the process has no message port
9194 * sysdeps/mach/hurd/euidaccess.c: New file.
9204 * sysdeps/mach/hurd/dirstream.h (DIR): Replace `__port' member
9206 * sysdeps/mach/hurd/opendir.c: Use DIRP->__fd instead of DIRP->__port.
9208 * sysdeps/mach/hurd/closedir.c: Likewise.
9209 * sysdeps/mach/hurd/readdir.c: Likewise.
9210 * sysdeps/mach/hurd/dirfd.c: New file.
9230 * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter
9233 * sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state.
9301 * sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl.
9332 * sysdeps/mach/hurd/start.c: Likewise.
9367 * sysdeps/mach/hurd/Makefile (errlist.c, errnos.h): Do cvs commit
9380 * sysdeps/mach/hurd/mig-reply.c: Add weak aliases to non-__ names.
9385 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Take new arg
9388 * sysdeps/mach/hurd/kill.c: Pass DEALLOC_REFPORT arg of one.
9389 * hurd/hurdkill.c: Pass DEALLOC_REFPORT arg of zero.
9391 * hurd/hurdsig.c (abort_rpcs): Take new arg int *STATE_CHANGE; set
9401 * sysdeps/mach/hurd/stdio_init.c: Don't lock the file descriptor;
9405 * sysdeps/mach/hurd/stdio_init.c: Don't make pipes/FIFOs unbuffered.
9410 * hurd/hurd/fd.h (_hurd_fd_get): Don't do critical section
9415 * sysdeps/mach/hurd/dup2.c: Likewise.
9416 * sysdeps/mach/hurd/fcntl.c: Likewise.
9418 * sysdeps/mach/hurd/sysd-stdio.c: Don't lock the descriptor before
9420 * sysdeps/mach/hurd/defs.c (init_stdio): Don't expect _hurd_fd_get
9422 * sysdeps/mach/hurd/stdio_init.c: Use critical sections while
9424 * sysdeps/mach/hurd/fdopen.c: Likewise.
9425 * hurd/fd-close.c: Likewise.
9432 * hurd/ctty-input.c: New file.
9433 * hurd/ctty-output.c: New file.
9434 * hurd/Makefile (dtable): Add ctty-input and ctty-output.
9435 * hurd/fd-read.c: Use _hurd_ctty_input.
9436 * hurd/fd-write.c: Use _hurd_ctty_output.
9437 * sysdeps/mach/hurd/ioctl.c: Likewise.
9438 * hurd/hurd/fd.h (_hurd_ctty_input, _hurd_ctty_output): Declare them.
9463 * hurd/hurdmalloc.c (malloc_init): Add self reference to avoid not
9471 * hurd/hurdmalloc.c: Include string.h; #define bcopy using memcpy.
9522 * hurd/fd-write.c: Don't clobber ERR with the msg_sig_post call
9525 * hurd/fd-read.c: Likewise.
9587 * sysdeps/mach/hurd/setpriority.c: Keep track of numbers of
9591 * sysdeps/mach/hurd/getpriority.c: Handle out of band buffers
9594 * sysdeps/mach/hurd/ptrace.c (PTRACE_ATTACH, PTRACE_DETACH): Stop
9597 * hurd/hurdsig.c: Use spin lock operations on sigstate locks
9605 * hurd/hurd/signal.h (_hurd_self_sigstate_unlocked): Function removed.
9609 * hurd/msgportdemux.c: Don't expect _hurd_self_sigstate to lock
9611 * hurd/hurdexec.c: Use spin lock operations on sigstate lock.
9614 * hurd/hurd-raise.c: Likewise.
9615 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
9616 * sysdeps/mach/hurd/sigpending.c: Likewise.
9617 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
9618 * sysdeps/mach/hurd/sigaction.c: Likewise.
9619 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
9620 * hurd/fd-write.c: Likewise.
9621 * hurd/fd-read.c: Likewise.
9622 * sysdeps/mach/hurd/ioctl.c: Likewise.
9623 * sysdeps/mach/hurd/fork.c: Likewise.
9624 * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
9625 * sysdeps/mach/hurd/mips/sigreturn.c: Likewise.
9626 * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
9627 * hurd/hurdmsg.c (get_int): Likewise.
9675 * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
9679 * sysdeps/mach/hurd/mips/exc2signal.c: Use `long int' for sigcode.
9683 * hurd/hurdmalloc.c: Remove bogus bcopy decl.
9724 * hurd/hurd/signal.h: Include <hurd/msg.h>, and <spin-lock.h>
9733 * hurd/catch-exc.c (_S_catch_exception_raise): Don't take the
9779 * hurd/intr-rpc.awk: Emit weak alias.
9800 * hurd/hurdinit.c: Use DECLARE_HOOK instead of `extern DEFINE_HOOK'.
9818 * hurd/Makefile: Likewise.
9821 * sysdeps/mach/hurd/start.c: Likewise.
9825 * sysdeps/mach/hurd/errlist.awk: Likewise.
9837 * sysdeps/mach/hurd/_exit.c: Remove obsolete __NORETURN keyword.
9861 * sysdeps/mach/hurd/defs.c: Don't include gnu-stabs.h.
9862 * sysdeps/mach/hurd/brk.c: Likewise.
9863 * hurd/hurdid.c: Likewise.
9864 * hurd/hurdpid.c: Likewise.
9865 * hurd/openport.c: Likewise.
9866 * hurd/hurdsock.c: Likewise.
9867 * hurd/hurdsig.c: Likewise.
9868 * hurd/hurdrlimit.c: Likewise.
9869 * hurd/hurdmalloc.c: Likewise.
9870 * hurd/dtable.c: Likewise.
9871 * hurd/setauth.c: Likewise.
9921 * sysdeps/mach/hurd/setpgid.c: Likewise.
9926 * sysdeps/mach/hurd/getpgid.c: Likewise.
9936 * sysdeps/mach/hurd/__getpgrp.c: Renamed to getpgid.c.
9942 * sysdeps/mach/hurd/setpgrp.c: Renamed to setpgid.c.
9959 * hurd/hurdioctl.c: Include hurd/ioctl.h.
9962 * hurd/hurd/fd.h: ioctl handler stuff moved to hurd/ioctl.h.
9963 * hurd/hurd/ioctl.h: New file, broken out of hurd/fd.h.
9966 * sysdeps/mach/hurd/ioctl.c: Include hurd/ioctl.h.
9976 * sysdeps/mach/hurd/setitimer.c (timer_thread): Call
9983 * sysdeps/mach/hurd/sethostnam.c: Renamed to sethostname.c.
9990 * sysdeps/mach/hurd/settod.c: Renamed to settimeofday.c.
9993 * sysdeps/mach/hurd/setitmr.c: Renamed to setitimer.c.
10000 * sysdeps/mach/hurd/getprio.c: Renamed to getpriority.c.
10004 * sysdeps/mach/hurd/setprio.c: Renamed to setpriority.c.
10008 * sysdeps/mach/hurd/getpeernam.c: Renamed to getpeername.c.
10012 * sysdeps/mach/hurd/getsocknam.c: Renamed to getsockname.c.
10016 * sysdeps/mach/hurd/sigaltstk.c: Renamed to sigaltstack.c.
10018 * sysdeps/mach/hurd/i386/sigreturn.c: Call __msg_sig_post instead
10020 * sysdeps/mach/hurd/sigsuspend.c: Likewise.
10021 * sysdeps/mach/hurd/kill.c: Likewise.
10022 * sysdeps/mach/hurd/sigprocmask.c: Likewise.
10041 * hurd/hurdkill.c (hurd_sig_post): Define as weak alias.
10042 * hurd/hurdlookup.c: Add weak aliases for non-__ names.
10085 * sysdeps/mach/hurd/__access.c: Likewise.
10090 * sysdeps/mach/hurd/__adjtime.c: Likewise.
10099 * sysdeps/mach/hurd/__brk.c: Likewise.
10103 * sysdeps/mach/hurd/__chdir.c: Likewise.
10106 * sysdeps/mach/hurd/__chmod.c: Likewise.
10109 * sysdeps/mach/hurd/__chown.c: Likewise.
10112 * sysdeps/mach/hurd/__close.c: Likewise.
10129 * sysdeps/mach/hurd/__dup2.c: Likewise.
10133 * sysdeps/mach/hurd/__execve.c: Likewise.
10140 * sysdeps/mach/hurd/__fchmod.c: Likewise.
10144 * sysdeps/mach/hurd/__fchown.c: Likewise.
10147 * sysdeps/mach/hurd/__fcntl.c: Likewise.
10152 * sysdeps/mach/hurd/__flock.c: Likewise.
10153 * hurd/__fopenport.c: Renamed to fopenport.c; added weak alias
10161 * sysdeps/mach/hurd/__fork.c: Likewise.
10169 * sysdeps/mach/hurd/__fstat.c: Likewise.
10181 * sysdeps/mach/hurd/__getdents.c: Likewise.
10182 * hurd/__getdport.c: Renamed to getdport.c; added weak alias getdport.
10188 * sysdeps/mach/hurd/__getdtsz.c: Likewise.
10192 * sysdeps/mach/hurd/__getegid.c: Likewise.
10196 * sysdeps/mach/hurd/__geteuid.c: Likewise.
10200 * sysdeps/mach/hurd/__getgid.c: Likewise.
10207 * sysdeps/mach/hurd/__getgrps.c: Likewise.
10213 * sysdeps/mach/hurd/__gethstnm.c: Likewise.
10217 * sysdeps/mach/hurd/__getitmr.c: Likewise.
10229 * sysdeps/mach/hurd/__getpid.c: Likewise.
10233 * sysdeps/mach/hurd/__getppid.c: Likewise.
10243 * sysdeps/mach/hurd/__getuid.c: Likewise.
10250 * sysdeps/mach/hurd/__ioctl.c: Likewise.
10255 * sysdeps/mach/hurd/__isatty.c: Likewise.
10266 * sysdeps/mach/hurd/__kill.c: Likewise.
10269 * sysdeps/mach/hurd/__link.c: Likewise.
10275 * sysdeps/mach/hurd/__lseek.c: Likewise.
10281 * sysdeps/mach/hurd/__lstat.c: Likewise.
10288 * sysdeps/mach/hurd/__mkdir.c: Likewise.
10292 * sysdeps/mach/hurd/__mknod.c: Likewise.
10298 * sysdeps/mach/hurd/__open.c: Likewise.
10304 * hurd/__pid2task.c: Renamed to pid2task.c; added weak alias pid2task.
10312 * sysdeps/mach/hurd/__pipe.c: Likewise.
10316 * sysdeps/mach/hurd/__read.c: Likewise.
10321 * sysdeps/mach/hurd/__readlink.c: Likewise.
10327 * sysdeps/mach/hurd/__rmdir.c: Likewise.
10330 * sysdeps/mach/hurd/__sbrk.c: Likewise.
10335 * sysdeps/mach/hurd/__select.c: Likewise.
10336 * hurd/__setauth.c: Renamed to setauth.c; added weak alias setauth.
10341 * sysdeps/mach/hurd/__setgid.c: Likewise.
10345 * sysdeps/mach/hurd/__setitmr.c: Likewise.
10352 * sysdeps/mach/hurd/__setpgrp.c: Likewise.
10356 * sysdeps/mach/hurd/__setregid.c: Likewise.
10360 * sysdeps/mach/hurd/__setreuid.c: Likewise.
10370 * sysdeps/mach/hurd/__setsid.c: Likewise.
10375 * sysdeps/mach/hurd/__settod.c: Likewise.
10380 * sysdeps/mach/hurd/__setuid.c: Likewise.
10397 * sysdeps/mach/hurd/__sigproc.c: Likewise.
10405 * sysdeps/mach/hurd/i386/__sigret.c: Likewise.
10406 * sysdeps/mach/hurd/alpha/__sigret.c: Likewise.
10407 * sysdeps/mach/hurd/mips/__sigret.c: Likewise.
10420 * sysdeps/mach/hurd/__stat.c: Likewise.
10426 * sysdeps/mach/hurd/__symlink.c: Likewise.
10434 * hurd/__task2pid.c: Renamed to task2pid.c; added weak alias task2pid.
10441 * sysdeps/mach/hurd/__umask.c: Likewise.
10445 * sysdeps/mach/hurd/__unlink.c: Likewise.
10450 * sysdeps/mach/hurd/__utimes.c: Likewise.
10490 * sysdeps/mach/hurd/__wait4.c: Likewise.
10503 * sysdeps/mach/hurd/__write.c: Likewise.
10517 * sysdeps/mach/hurd/__sigact.c: Likewise.
10528 * hurd/task2pid.c: File removed.
10529 * hurd/setauth.c: File removed.
10530 * hurd/pid2task.c: File removed.
10531 * hurd/hurdsyms.c: File removed.
10532 * hurd/getdport.c: File removed.
10533 * hurd/fopenport.c: File removed.
10677 * hurd/hurdsig.c: Prepend `msg_' to server RPC names.
10678 * hurd/hurdpid.c: Likewise.
10679 * hurd/hurdauth.c: Likewise.
10683 * sysdeps/mach/hurd/__select.c: If some replies are EINTR, succeed
10686 * hurd/hurdmsg.c: Prepend `msg_' to all RPC names.
10692 * hurd/hurdkill.c: __sig_post renamed to __msg_sig_post.
10693 * hurd/hurd-raise.c: Likewise.
10694 * hurd/hurdsig.c (post_reply): Prepend `msg_' to RPC names.
10696 * sysdeps/mach/hurd/ptrace.c: New file.
10698 * sysdeps/mach/hurd/__select.c: Revamped to use new io_select
10704 * hurd/hurdexec.c (_hurd_exec): Pass (_hurd_exec_flags &
10707 * hurd/hurdsig.c (post_reply): Take new arg UNTRACED; if nonzero,
10721 * hurd/hurd/signal.h (_hurd_internal_post_signal): Take new arg
10723 * hurd/catch-exc.c (_S_catch_exception_raise): Pass UNTRACED arg
10728 * hurd/hurdinit.c (_hurd_exec_flags): New variable.
10732 * hurd/hurd.h (_hurd_exec_flags): Declare it.
10831 * sysdeps/mach/hurd/__setpgrp.c (__setpgrp): Use __swtch_pri instead
10833 * sysdeps/mach/hurd/__setsid.c (__setsid): Likewise.
10842 * sysdeps/mach/hurd/Makefile (subdirs): Don't elide inet.
10852 * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):