aboutsummaryrefslogtreecommitdiff
path: root/term
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Thomas Bushnell2000-03-171-0/+4
|
* 2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-03-171-6/+8
| | | | * main.c (main): Don't use MAKE_SEND in Hurd RPC.
* .Roland McGrath2000-03-171-1/+9
|
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-4/+2
| | | | * users.c (send_signal): Use ports_get_send_right.
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-10/+4
| | | | | | * devio.c (devio_abandon_physical_output): Use ports_get_send_right. (initial_open): Use ports_get_send_right. (device_open_reply): Use ports_get_send_right.
* 1999-10-04 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-10-044-47/+46
| | | | | | | | | | | * term.h, devio.c, users.c: Revert previous change. Do it this way instead: * users.c (report_carrier_error): New function. (carrier_error): New static global variable. (open_hook): Deal with errors from carrier open. * devio.c (device_open_reply): Move the !RETURNCODE case out of the "initial open" case and use report_carrier_error. * term.h (report_carrier_error): Declare new function.
* .Roland McGrath1999-10-011-0/+13
|
* 1999-10-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-014-5/+34
| | | | | | | | | | | | | * term.h (NO_DEVICE): New macro, bit for termflags. (termflags): Change type to uint_fast32_t. * devio.c (device_open_reply): For D_NO_SUCH_DEVICE error reply, set NO_DEVICE flag in termflags. * users.c (open_hook): If NO_DEVICE flag set, return ENXIO immediately. If we put out an open request, check for that bit as well as NO_CARRIER changing in termflags and diagnose with ENXIO. * Makefile (device_replyServer-CPPFLAGS): New variable, turn off TypeCheck for this stub. This is necessary for error replies to get through to our server-side functions in devio.c.
* Reverted changes related to io_map_segment.Roland McGrath1999-09-132-6/+9
|
* 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-082-5/+11
| | | | | * users.c (trivfs_S_io_map): Renamed to ... (trivfs_S_io_map_segment): ... here.
* .Roland McGrath1999-07-241-0/+4
|
* 1999-07-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-241-0/+8
| | | | * term.h (ILCASE, OLCASE): Use IUCLC, OLCUC if defined.
* .Roland McGrath1999-07-111-0/+4
|
* 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-1/+2
| | | | * term.h: Add #include <sys/mman.h>.
* 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-113-3/+8
| | | | | * ptyio.c (pty_io_read): Use mmap instead of vm_allocate. * users.c (trivfs_S_io_read): Likewise.
* .Roland McGrath1999-05-301-0/+11
|
* 1999-05-24 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-05-301-15/+25
| | | | | | | | | | | * devio.c: Include <assert.h>, <errno.h> and <error.h>. Do not include <stdio.h> and <sys/types.h>. Reorganize the order of inclusion of the header files a bit and document the baud-rate hackery. Include <termios.h> explicitely. (init_devio): Use new local variable ERR instead of ERRNO. Use error instead of perror and exit to report failure. (devio_desert_dtr): Declare BITS as `int' instead of `dev_status_t'.
* .Roland McGrath1999-05-151-0/+5
|
* 1999-05-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-7/+9
| | | | | * users.c (trivfs_S_file_chown): Either arg being -1 means don't change that id.
* .Roland McGrath1999-03-231-4/+8
|
* 1999-03-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-03-231-18/+20
| | | | * devio.c (initial_open): Fix typos.
* *** empty log message ***Thomas Bushnell1999-03-171-1/+2
|
* Wed Mar 17 16:32:05 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-03-173-65/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | * users.c (S_term_get_peername): Compare BOTTOM against the correct value, and call ports_port_deref with the proper name. Reported by Yamashita TAKAO (az207@epa.go.jp). * devio.c (devio_desert_dtr): Cast &BITS correctly in call to device_set_status. (device_open_reply): Alwas clean open_pending no matter what. Use ERR instead of ERRNO. On fake opens, close the device before deallocating the port. Reported by Mark Kettenis (kettenis@gnu.org). Tue Mar 16 01:04:06 1999 Thomas Bushnell, BSG <tb@mit.edu> * devio.c (open_pending): Make an enum. (devio_desert_dtr): Don't close the device, just set the TM_HUP modem bit, which should cause a hangup to occur. (devio_assert_dtr): Don't always open the device, instead use initial_open the first time, and schedule a fake open the other times. (initial_open): New function, guts from old device_assert_dtr. (device_open_reply): Distinguish replies from initial and fake opens appropriately. (ports_do_mach_notify_send_once): Test and set open_pending using new enum values.
* Mon Mar 15 14:58:33 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-03-152-1/+42
| | | | | | | * users.c (S_term_get_peername): Implement new RPC. * users.c (S_term_get_nodename): Return ENOENT if the name is not set.
* 1999-03-13 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell1999-03-142-1/+6
| | | | | * users.c (po_destroy_hook): Only reset state and hardware if TTY_OPEN bit is set in TERMFLAGS.
* Mon Mar 1 09:11:06 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-03-012-1/+7
| | | | | | * munge.c (output_width): If C is a tab, then the width is the offset from LOC, not the total final position of the tab. Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi).
* .Roland McGrath1999-02-281-2/+6
|
* 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-281-3/+3
| | | | * users.c (trivfs_S_io_revoke): Use ports_class_iterate.
* Mon Feb 22 04:34:55 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-222-0/+7
| | | | | * users.c (trivfs_S_io_revoke): Protect the revocation by blocking all other rpcs.
* Sat Feb 20 04:59:15 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-212-2/+12
| | | | | | | * users.c (trivfs_S_io_revoke): Release global_lock before beginning the iteration. * users.c (trivfs_S_io_revoke): Add reply, reply_type args.
* 1999-02-06 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell1999-02-193-17/+53
| | | | | | | | * main.c (main): Initialize status from underlying node. * users.c (check_access_hook): New function. Correctly implement access permission checking. (trivfs_check_access_hook): Initialize with check_access_hook. (trivfs_S_file_check_access): Removed.
* Thu Feb 18 00:57:30 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-182-1/+9
| | | | | * devio.c (devio_assert_dtr): Bother to set open_pending. Reported by OKUJI Yoshinori (okuji@kuicr.kyoto-u.ac.jp).
* .Roland McGrath1999-02-171-0/+4
|
* 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-171-11/+12
| | | | * users.c (trivfs_S_io_revoke): Fix typos.
* Tue Feb 16 06:10:08 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-162-0/+48
| | | | * users.c (trivfs_S_io_revoke): New function.
* 1999-02-05 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell1999-02-162-2/+7
| | | | | * users.c (trivfs_S_file_chmod): Clear S_ISVTX bit instead of clearing all other bits.
* Sat Jan 30 00:27:14 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-01-303-1/+12
| | | | | * munge.c (create_queue): Make sure that malloc succeeds. Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
* .Roland McGrath1998-11-251-0/+5
|
* 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-11-251-1/+1
| | | | | * users.c (open_hook): Assert DTR if NO_CARRIER, even for CLOCAL. This is the only thing that tells it to open the device.
* Mon Oct 26 16:47:18 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1998-11-162-5/+43
| | | | | | | | * devio.c (char_size_mask_xxx): New variable. (devio_set_bits): Don't munge c_cflag here. Instead, set char_size_mask_xxx. (device_read_reply_inband): Mask off high bits from the input to simulate less than 8-bit channels.
* .Roland McGrath1998-10-201-0/+5
|
* 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-201-38/+39
| | | | | * devio.c: Add #undef's for B19200, B38400, B57600, B115200, in case they are defined in <device/tty_status.h> too.
* .Roland McGrath1998-07-201-8/+12
|
* 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-201-9/+9
| | | | * term.h (clear_queue): Change return type to void.
* 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-201-86/+87
| | | | * users.c: Include <hurd/fshelp.h> for fshelp_isowner decl.
* Wed Aug 20 14:07:35 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-202-2/+6
| | | | | * main.c (main): New args for ports_manage_port_operations_multithread.
* Mon Jun 9 12:19:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-06-102-1/+5
| | | | * users.c (trivfs_S_file_chmod): Fix typo.
* Tue May 27 12:04:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-06-052-1/+5
| | | | * users.c (trivfs_S_file_chmod): Turn off S_ISPARE too.
* .Miles Bader1997-03-021-0/+4
|
* (open_hook):Miles Bader1997-03-021-4/+15
| | | | Add OPEN_COUNT hack to try and detect lossage.