Age | Commit message (Collapse) | Author |
|
|
|
* 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'.
|
|
|
|
* users.c (trivfs_S_file_chown): Either arg being -1 means don't
change that id.
|
|
|
|
* devio.c (initial_open): Fix typos.
|
|
|
|
* 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.
|
|
* users.c (S_term_get_peername): Implement new RPC.
* users.c (S_term_get_nodename): Return ENOENT if the name is not
set.
|
|
* users.c (po_destroy_hook): Only reset state and hardware if
TTY_OPEN bit is set in TERMFLAGS.
|
|
* 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).
|
|
|
|
* users.c (trivfs_S_io_revoke): Use ports_class_iterate.
|
|
* users.c (trivfs_S_io_revoke): Protect the revocation by blocking
all other rpcs.
|
|
* users.c (trivfs_S_io_revoke): Release global_lock before
beginning the iteration.
* users.c (trivfs_S_io_revoke): Add reply, reply_type args.
|
|
* 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.
|
|
* devio.c (devio_assert_dtr): Bother to set open_pending.
Reported by OKUJI Yoshinori (okuji@kuicr.kyoto-u.ac.jp).
|
|
|
|
* users.c (trivfs_S_io_revoke): Fix typos.
|
|
* users.c (trivfs_S_io_revoke): New function.
|
|
* users.c (trivfs_S_file_chmod): Clear S_ISVTX bit instead of
clearing all other bits.
|
|
* munge.c (create_queue): Make sure that malloc succeeds.
Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
|
|
|
|
* users.c (open_hook): Assert DTR if NO_CARRIER, even for CLOCAL.
This is the only thing that tells it to open the device.
|
|
* 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.
|
|
|
|
* devio.c: Add #undef's for B19200, B38400, B57600, B115200, in case
they are defined in <device/tty_status.h> too.
|
|
|
|
* term.h (clear_queue): Change return type to void.
|
|
* users.c: Include <hurd/fshelp.h> for fshelp_isowner decl.
|
|
* main.c (main): New args for
ports_manage_port_operations_multithread.
|
|
* users.c (trivfs_S_file_chmod): Fix typo.
|
|
* users.c (trivfs_S_file_chmod): Turn off S_ISPARE too.
|
|
|
|
Add OPEN_COUNT hack to try and detect lossage.
|
|
|
|
Initialize TTY_CLASS & PTY_CLASS too instead of
doing TTY_CNTL_CLASS & PTY_CNTL_CLASS twice.
|
|
|
|
|
|
trivfs_cntl_portclasses, trivfs_cntl_nportclasses):
Variables removed.
(main):
Don't set port class/bucket variables, use
trivfs_add_{protid,control}_port_class insteadd.
|
|
|
|
Add iohelp & shouldbeinlibc.
|
|
|
|
Add S_IROOT to TERM_MODE.
|
|
Turn off S_ITRANS bits, and turn on S_IROOT in TERM_MODE.
|
|
* users.c: Include <hurd/iohelp.h>.
(trivfs_S_file_chmod): Bother to fill in ST.
|
|
* users.c (trivfs_modify_stat): Omit pointless assignment.
Fri Nov 15 17:37:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* users.c (open_hook): New arg syntax.
(trivfs_check_open_hook): Likewise.
* ptyio.c (pty_open_hook): Likewise.
* term.h (pty_open_hook): Likewise.
* users.c (S_termctty_open_terminal): New syntax of trivfs_open.
* users.c (trivfs_S_file_chown): Rewrite using idvecs.
(trivfs_S_file_chmod): Likewise.
|
|
* users.c (open_hook): Always assert DTR (even if O_NONBLOCK).
Don't return any errors if O_NONBLOCK and we don't have carrier.
|
|
|
|
|