summaryrefslogtreecommitdiff
path: root/term/users.c
AgeCommit message (Collapse)Author
1999-05-151999-05-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* users.c (trivfs_S_file_chown): Either arg being -1 means don't change that id.
1999-03-17Wed Mar 17 16:32:05 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1999-03-15Mon Mar 15 14:58:33 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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-141999-03-13 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* users.c (po_destroy_hook): Only reset state and hardware if TTY_OPEN bit is set in TERMFLAGS.
1999-02-281999-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* users.c (trivfs_S_io_revoke): Use ports_class_iterate.
1999-02-22Mon Feb 22 04:34:55 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* users.c (trivfs_S_io_revoke): Protect the revocation by blocking all other rpcs.
1999-02-21Sat Feb 20 04:59:15 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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-191999-02-06 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* 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.
1999-02-171999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* users.c (trivfs_S_io_revoke): Fix typos.
1999-02-16Tue Feb 16 06:10:08 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* users.c (trivfs_S_io_revoke): New function.
1999-02-161999-02-05 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* users.c (trivfs_S_file_chmod): Clear S_ISVTX bit instead of clearing all other bits.
1998-11-251998-10-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* users.c (open_hook): Assert DTR if NO_CARRIER, even for CLOCAL. This is the only thing that tells it to open the device.
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* users.c: Include <hurd/fshelp.h> for fshelp_isowner decl.
1997-06-10Mon Jun 9 12:19:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* users.c (trivfs_S_file_chmod): Fix typo.
1997-06-05Tue May 27 12:04:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* users.c (trivfs_S_file_chmod): Turn off S_ISPARE too.
1997-03-02(open_hook):Miles Bader
Add OPEN_COUNT hack to try and detect lossage.
1996-12-12(trivfs_S_file_chmod):Miles Bader
Turn off S_ITRANS bits, and turn on S_IROOT in TERM_MODE.
1996-12-05Sat Nov 23 16:28:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* users.c: Include <hurd/iohelp.h>. (trivfs_S_file_chmod): Bother to fill in ST.
1996-11-18Mon Nov 18 18:16:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1996-10-24Thu Oct 24 14:44:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1996-10-09(open_hook): Zero WINDOW_SIZE during initialization.Miles Bader
1996-10-04(S_tioctl_tiocswinsz): Correct test for a changed winsize.Miles Bader
1996-10-04(set_state, open_hook): Call (*BOTTOM)->set_bits unconditionally.Miles Bader
1996-08-29*** empty log message ***Thomas Bushnell
1996-08-15*** empty log message ***Thomas Bushnell
1996-08-15(trivfs_S_file_check_access): Renamed from `trivfs_S_file_access'.Miles Bader
1996-07-20*** empty log message ***Michael I. Bushnell
1996-07-17(trivfs_S_file_chown): Return 0 for success.Michael I. Bushnell
1996-07-17(trivfs_S_file_chown): fixupMichael I. Bushnell
1996-07-17(trivfs_S_file_chmod): Bother to return a value.Michael I. Bushnell
1996-07-17(trivfs_S_io_read): Bother to set atime when appropriate.Michael I. Bushnell
1996-07-17(trivfs_modify_stat): Fill in st->st_mode, st->st_uid, and st->st_gidMichael I. Bushnell
ourselves. (trivfs_S_file_chown): New routine, to override trivfs default. (trivfs_S_file_chmod): Likewise.
1996-05-10Include <stdio.h>.Michael I. Bushnell
1996-05-10(init_users): Order args correctly in call to ports_create_port.Michael I. Bushnell
1996-05-09(call_asyncs): Provide sigcode arg in call to nowait_msg_sig_post.Michael I. Bushnell
1996-05-09(init_users): Use new ports_create_port.Michael I. Bushnell
1996-04-25(open_hook): Don't circumvent pty_open_hook, not even when flags isMichael I. Bushnell
clear.
1996-04-24(call_asyncs): Add DIR argument; all callers changed.Miles Bader
1996-04-24(call_asyncs): Remove FORCE argument; all callers changed.Miles Bader
1996-04-24(po_create_hook, trivfs_S_io_set_some_openmodes,Miles Bader
trivfs_S_io_set_all_openmodes): If setting ICKY_ASYNC, then use call_asyncs. (call_asyncs): New argument, FORCE, which use. All callers changed. (init_users): Give our self send rights to the async id ports, since hurd_sig_post uses COPY_SEND. (trivfs_S_io_get_icky_async_id): Renamed from ..._get_async_icky. (trivfs_S_file_set_size, trivfs_S_io_seek, trivfs_S_io_get_icky_async_id, trivfs_S_io_async): Add reply port args. (num_icky_async_peropens): New variable. (po_create_hook, po_destroy_hook, trivfs_S_io_set_all_openmodes, trivfs_S_io_set_some_openmodes, trivfs_S_io_clear_some_openmodes): Use it to enable ICKY_ASYNC to be turned off.
1996-04-23(call_asyncs): Delete local decl; no longer static.Michael I. Bushnell
1996-03-27(trivfs_S_io_read): Call call_asyncs *before* we release GLOBAL_LOCK.Miles Bader
(pi_destroy_hook): Leak the hook for now, to try and catch a bug. XXX
1996-02-15(trivfs_S_io_set_all_openmodes, trivfs_S_io_set_some_openmodes):Miles Bader
Set ICKY_ASYNC in TERMFLAGS if O_ASYNC is set in BITS.
1996-01-18(report_carrier_off): Flush queues when carrier turns off.Michael I. Bushnell
1996-01-18 (trivfs_S_io_select): Ask for notification if our replyMichael I. Bushnell
port dies. Pass REPLY to pty_io_select().
1995-12-21(S_term_get_nodename, S_term_set_nodename):Miles Bader
Get the node name from our cred->po->cntl->hook rather than NODENAME.
1995-12-20(trivfs_S_io_read): After a block on the input queue, don't go backMichael I. Bushnell
and check the input queue if there is a signal in progress; wait for the signal to complete first. (send_signal): Release global_lock around signal RPC. Call report_sig_start and report_sig_end around signal RPC. (call_asyncs): Likewise. (report_sig_start, report_sig_end): New functions. (sigs_in_progress, input_sig_wait, input_sig_wakeup): New variables.
1995-12-20(send_signal): Release global_lock around signal RPC.Michael I. Bushnell
(call_asyncs): Likewise.
1995-12-12Typos.Michael I. Bushnell
1995-12-12(po_create_hook): If this is the pty, then call pty specific function.Michael I. Bushnell
(po_destroy_hook): Likewise. (pi_create_hook): Don't do anything for pty. (pi_destroy_hook): Likewise.