summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-08-06.Roland McGrath
2002-08-062002-08-06 Roland McGrath <roland@frob.com>Roland McGrath
* proxy-defpager.c: Rename all the server functions with S_ prefix. Include "default_pager_U.h" for client stub prototypes. * Makefile (default_pager-MIGCOMSFLAGS): New variable, give -prefix S_. (OBJS): Add default_pagerUser.o here. (proxy-defpager): Depend on it.
2002-08-062002-08-06 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* inode.c (use_file_start_id): Use file_start for directories, so the inode of the directory is used for the ".." entries in all sub-directories. Contrary to ChangeLog entry 2001-11-27, this is safe, because the ISO9660 specification mandates that the first entry in every directory must be ".", so a non-file_start using directory record can not be the first one.
2002-08-052002-08-05 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* proxy-defpager.c (allowed): Check CRED, not PORT. (default_pager_info): Use real_defpager, not DEFAULT_PAGER. (proxy_defpager_demuxer): New demuxer. (main): Use it.
2002-08-042002-08-04 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* control (Uploaders): New field, suggested by Jeff Bailey. (Build-Depends): Add version requirement for mig. * shlibs: Update version to 0.3, add version restriction. * shlibs.local: Likewise. * changelog: Update for next upload.
2002-08-042002-08-04 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* control (Uploaders): New field, suggested by Jeff Bailey.
2002-08-042002-08-03 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* hurd_types.defs (fsys_statfsbuf_t): Bump size up to 22.
2002-08-042002-08-03 Jeff Bailey <jbailey@gnu.org>Marcus Brinkmann
* rules: Symlinks should point to relative location, not absolute.
2002-08-01.Roland McGrath
2002-08-012002-07-31 Roland McGrath <roland@frob.com>Roland McGrath
* dir.c (diskfs_direnter_hard): Fix test in last change.
2002-07-31Add comment to last change, for the benefit of the next merge :)Marcus Brinkmann
2002-07-312002-07-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* cthreads.c (cthread_init): Move cthread_alloc call before cproc_init call (lost in merge).
2002-07-292002-07-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* stack.c (stack_init): Put back in setting of the __hurd_threadvar_stack_mask and __hurd_threadvar_stack_offset variables (which got lost in the merge).
2002-07-142002-07-15 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* display.c: Restore copyright notice until the papers by Kalle are actually received.
2002-07-03.Roland McGrath
2002-07-032002-07-03 Roland McGrath <roland@frob.com>Roland McGrath
* elf-load.c (exec_load): Fix e_machine checking.
2002-07-03.Roland McGrath
2002-07-032002-07-03 Roland McGrath <roland@frob.com>Roland McGrath
* elf-load.c (exec_load): Fix typos in last change.
2002-06-27hurd/Marcus Brinkmann
2002-06-26 Marcus Brinkmann <marcus@gnu.org> * fs_notify.defs: Add MsgOption for send timeout. (dir_changed): Changed to simpleroutine. Change type of first argument to fs_notify_t. Add TICKNO argument. (file_changed): Likewise. * hurd_types.defs (fs_notify_t): New type. * hurd_types.h (fs_notify_t): Likewise. libdiskfs/ 2002-06-26 Marcus Brinkmann <marcus@gnu.org> * Makefile (DIST_FILES): Variable removed. (MIGSTUBS): Use fs_notifyUser.o, not ourfs_notifyUser.o. * ourfs_notify.defs: File removed. * diskfs.h (struct node): New members DIRMOD_TICK and FILEMOD_TICK. * node-make.c (diskfs_make_node): Initialize DIRMOD_TICK and FILEMOD_TICK. * dir-chg.c: Include "fs_notify_U.h" instead "ourfs_notify_U.h". (diskfs_S_dir_notice_changes): Use new dir_changed invocation instead nowait_dir_changed. (diskfs_notice_dirchange): Likewise. Increase tick number. Ignore send timeout error. * file-chg.c: Include "fs_notify_U.h" instead "ourfs_notify_U.h". (diskfs_S_file_notice_changes): Use new file_changed invocation instead nowait_file_changed. (diskfs_notice_filechange): Likewise. Increase tick number. Ignore send timeout error. console/ 2002-06-27 Marcus Brinkmann <marcus@gnu.org> * Makefile (MIGSTUBS): Add fs_notifyUser.o. (MIGSFLAGS): New variable. * console.c: Include "fs_notify_U.h". (struct modreq): New structure. (struct cons): New members DIRMOD_REQS and DIRMOD_TICK. (cons_notice_dirchange): New function. (vcons_lookup): Call cons_notice_dirchange. (netfs_S_dir_notice_changes): New function. (main): Initialize new members in CONS. * display.c (nowait_file_changed): Update to new interface (new argument TICKNO). (do_mach_notify_msg_accepted): Call nowait_file_changed with new argument. (display_notice_changes): Likewise. (display_notice_filechange): Likewise.
2002-06-26.Roland McGrath
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* term.h (struct bottomhalf): New member `fini'. * hurdio.c (hurdio_fini): New function. (hurdio_bottom): Use it. * devio.c (devio_fini): New function. (devio_bottom): Use it. * ptyio.c (ptyio_bottom): Add 0 entry for `fini'. * main.c (trivfs_runtime_argp): New variable. (options): Add --name/-N and --type/-T options. (parse_opt): Collect parsed options in temporary storage and apply them only at final success. For T_HURDIO, allow absent arg. For non-startup parsing call, allow any missing args. (tty_type_names): New const variable. (trivfs_append_args): New function. (main): Open underlying node with O_RDWR. * hurdio.c (wait_for_dtr): If tty_arg is null, use termctl->underlying instead of opening a node by name. (hurdio_desert_dtr): If tty_arg is null, don't deallocate ioport.
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* main.c (trivfs_runtime_argp): New variable. (options): Add --name/-N and --type/-T options. (parse_opt): Collect parsed options in temporary storage and apply them only at final success. For T_HURDIO, allow absent arg. For non-startup parsing call, allow any missing args. (tty_type_names): New const variable. (trivfs_append_args): New function. (main): Open underlying node with O_RDWR. * hurdio.c (wait_for_dtr): If tty_arg is null, use termctl->underlying instead of opening a node by name. (hurdio_desert_dtr): If tty_arg is null, don't deallocate ioport.
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* term.h (struct bottomhalf): New member `fini'. * hurdio.c (hurdio_fini): New function. (hurdio_bottom): Use it. * devio.c (devio_fini): New function. (devio_bottom): Use it. * ptyio.c (ptyio_bottom): Add 0 entry for `fini'.
2002-06-26.Roland McGrath
2002-06-262002-06-26 Roland McGrath <roland@frob.com>Roland McGrath
* swapon.c (swaponoff): Fix last change.
2002-06-262002-06-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* lock-acquire.c (fshelp_acquire_lock): Also wait for exclusive locks which might have been acquired while we were waiting for shared locks to finish.
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* ping.c: File removed.
2002-06-26.Roland McGrath
2002-06-262002-06-25 Roland McGrath <roland@frob.com>Roland McGrath
* ping.c: File removed. * Makefile (targets, SRCS): Remove it. (ping-CPPFLAGS, INSTALL-ping-ops, ping): And all its little friends.
2002-06-252002-06-25 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* display.c (screen_shift_left): Don't increase DST twice in one iteration. * display.c (screen_shift_right): Likewise.
2002-06-252002-06-25 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* term.h (struct bottomhalf): New member GWINSZ. * devio.c (devio_bottom): Add new member. * ptyio.c (ptyio_bottom): Likewise. * hurdio.c (hurdio_bottom): Likewise. (hurdio_gwinsz): New function. (tioc_caps): Change type to unsigned int. (TIOC_CAP_GWINSZ): New symbol. * users.c (open_hook): Call GWINSZ of bottom layer after establishing the carrier.
2002-06-25.Roland McGrath
2002-06-252002-06-14 Roland McGrath <roland@frob.com>Roland McGrath
* swapon.c (swaponoff): If get_privileged_ports fails with EPERM, try to open /servers/default-pager instead.
2002-06-252002-06-14 Roland McGrath <roland@frob.com>Roland McGrath
* tmpfs.c (main): If get_privileged_ports fails with EPERM, try to open /servers/default-pager instead.
2002-06-252002-06-14 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (INSTALL-vminfo-ops): Variable removed (no setuid). * vmstat.c (ensure_def_pager_info): If get_privileged_ports fails with EPERM, try to open /servers/default-pager instead. * Makefile (INSTALL-vmstat-ops): Variable removed (no setuid).
2002-06-252002-06-14 Roland McGrath <roland@frob.com>Roland McGrath
* vmstat.c (ensure_def_pager_info): If get_privileged_ports fails with EPERM, try to open /servers/default-pager instead. * Makefile (INSTALL-vmstat-ops): Variable removed (no setuid).
2002-06-252002-06-14 Roland McGrath <roland@frob.com>Roland McGrath
* proxy-defpager.c: New file. * Makefile (targets, SRCS): Add it. (proxy-defpager): New target. (OBJS): Add default_pagerServer.o here.
2002-06-252002-06-14 Roland McGrath <roland@frob.com>Roland McGrath
* paths.h (_SERVERS_DEFPAGER): New macro.
2002-06-252002-06-25 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile (HURDLIBS): Add pager, reported by Alfred M. Szmidt.
2002-06-242002-06-25 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile (LCLHDRS): Add priv.h and mutations.h. (MIGSTUBS): Add tioctlServer.o * console.c: Include <hurd/ioctl-types.h>. (new_node): Bump up st_size for display node. (S_tioctl_tiocflush, S_tioctl_tiocgwinsz, S_tioctl_tiocstart, S_tioctl_tiocstop, S_tioctl_tiocoutq, S_tioctl_tiocspgrp, S_tioctl_tiocgpgrp): New functions. (S_tioctl_tiocmodg, S_tioctl_tiocmods, S_tioctl_tiocexcl, S_tioctl_tiocnxcl, S_tioctl_tiocgeta, S_tioctl_tiocseta, S_tioctl_tiocsetaw, S_tioctl_tiocsetaf, S_tioctl_tiocgetd, S_tioctl_tiocsetd, S_tioctl_tiocdrain, S_tioctl_tiocmget, S_tioctl_tiocmset, S_tioctl_tiocsig, S_tioctl_tiocext, S_tioctl_tiocswinsz, S_tioctl_tiocremote, S_tioctl_tiocmbic, S_tioctl_tiocmbis, S_tioctl_tiocpkt, S_tioctl_tiocsti, S_tioctl_tioccdtr, S_tioctl_tiocsdtr, S_tioctl_tioccbrk, S_tioctl_tiocsbrk): New stubs. (console_demuxer): New function. (main): Don't call netfs_server_loop, but call ports_manage_port_operations_multithread, so we can use our own demuxer. * mutations.h: Use intran and outtran for netfs. * priv.h: Likewise. * console.h (cons_change_t): Add bits for bell_audible and bell_visible. (struct cons_display): Add member BELL. * display.c (struct changes): Add new members bell_audible and bell_visible. Add bit flag macro names for those. (display_flush_filechange): Start with first index in buffer. Signal bell events. (display_record_filechange): Set DISPLAY_CHANGE_MATRIX bit in the disjoint case after flushing the update. (display_output_one): Recognize '\a' as audible bell and '\Eg' as visible bell. (display_output_some): Handle bell updates.
2002-06-242002-06-24 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* console.h (cons_color_t): New enum type replacing color macros. (CONS_COLOR_MAX): New macro. (cons_change_t): New type. (struct cons_display): New member CHANGES. * console.c: Include "console.h". (DEFAULT_FOREGROUND, DEFAULT_FOREGROUND_NAME, DEFAULT_BACKGROUND, DEFAULT_BACKGROUND_NAME): New macros. (struct cons): New members foreground and background. (vcons_lookup): Pass colors to display_create invocation. (new_node): Fix st_size for display node. (color_names): New array. (options): Add options to set default foreground and background color. (parse_color): New function. (parse_opt): Implement new options. (netfs_append_args): Add new options to output. (main): Set default colors. * Makefile (DIST_FILES): Remove target. (MIGSTUBS): Remove ourfs_notifyUser.o and add notifyServer.o. * display.c: Do not include "ourfs_notify_U.h". (struct modreq): New member PENDING. (struct notify): New structure. (struct display): New members FILEMOD_REQS_PENDING and NOTIFY_PORT. (pager_read_page): Hand out previously returned pages. (pager_unlock_page): Assert that this is not called. (notify_class, notify_bucket): New port class and bucket global variables. (nowait_file_changed): New function, modified from mig output. (do_mach_notify_port_deleted): New stub function. (do_mach_notify_port_destroyed): New stub function. (do_mach_notify_no_senders): New stub function. (do_mach_notify_dead_name): New stub function. (do_mach_notify_send_once): New stub function. (do_mach_notify_msg_accepted): New function. (service_notifications): New function. (display_notice_changes): Call nowait_file_changed with new argument. Initialize REQ->pending. (display_notice_filechange): Remove arguments except DISPLAY. Set PENDING flags in pending filemod requests. Call nowait_file_changed with new notify argument. If notification will be sent, move modreq structure to pending list. (display_flush_filechange): Rewritten to use ring buffer to store changes. (user_create): Initialize new members of struct cons_display. (display_init): Initialize notify_class and notify_bucket. (display_create): Accept new arguments for default colors. Initialize new members of struct display. (display_destroy): Remove pending filemod requests and destroy the notification port. Do not free the display structure memory. (display_destroy_complete): New function. * display.h: Add new arguments to prototype of display_create.
2002-06-23.Roland McGrath
2002-06-232002-06-22 Roland McGrath <roland@frob.com>Roland McGrath
* elf-load.c (exec_load) [__alpha__]: Grok Elf64_* headers and check for EM_ALPHA. * exec.c (set_regs) [__alpha__]: Alpha implementation snarfed from CMU file bootstrap/alpha/exec.c in MK83a.
2002-06-232002-06-22 Roland McGrath <roland@frob.com>Roland McGrath
* load.c (boot_script_exec_cmd): Twiddle decls of serverboot_bunzip2 and serverboot_gunzip. * load.c (boot_script_exec_cmd): Cast int to intptr_t before char *.
2002-06-22.Roland McGrath
2002-06-222002-06-22 Roland McGrath <roland@frob.com>Roland McGrath
* storeio.c (parse_opt): Fix fencepost error in -n arg parsing. Reported by Nicola Girardi <nicola@g-n-u.de>.
2002-06-21.Roland McGrath
2002-06-212002-06-21 Roland McGrath <roland@frob.com>Roland McGrath
* streamio.c (parse_opt): Fix fencepost error in -n arg parsing. Reported by Nicola Girardi <nicola@g-n-u.de>.
2002-06-20.Roland McGrath
2002-06-202002-06-20 Roland McGrath <roland@frob.com>Roland McGrath
* firmlink.c (trivfs_S_io_read): Fix pointer arithmetic. Reported by Nicola Girardi <nicola@g-n-u.de>.