/glibc-2.36/hurd/ |
D | dtable.c | 70 _hurd_port_init (&new->ctty, MACH_PORT_NULL); in init_dtable() 160 d->port.users = d->ctty.users = NULL; in fork_child_dtable() 162 if (d->ctty.port != MACH_PORT_NULL) in fork_child_dtable() 166 __mach_port_deallocate (__mach_task_self (), d->ctty.port); in fork_child_dtable() 168 &d->ctty.port); in fork_child_dtable() 170 d->ctty.port = MACH_PORT_NULL; in fork_child_dtable() 212 io_t port, ctty; in ctty_new_pgrp() local 219 ctty = _hurd_port_get (&d->ctty, &ctty_ulink); in ctty_new_pgrp() 221 if (ctty != MACH_PORT_NULL) in ctty_new_pgrp() 238 _hurd_port_set (&d->ctty, new); in ctty_new_pgrp() [all …]
|
D | port2fd.c | 32 io_t ctty = MACH_PORT_NULL; in _hurd_port2fd() local 45 __term_open_ctty (dport, _hurd_pid, _hurd_pgrp, &ctty); in _hurd_port2fd() 63 _hurd_port_set (&d->ctty, ctty); in _hurd_port2fd()
|
D | new-fd.c | 26 _hurd_new_fd (io_t port, io_t ctty) in _hurd_new_fd() argument 34 _hurd_port_init (&d->ctty, ctty); in _hurd_new_fd()
|
D | fd-cleanup.c | 31 if (data->ctty != MACH_PORT_NULL) in _hurd_fd_port_use_cleanup() 32 _hurd_port_free (&data->d->ctty, &data->ctty_ulink, data->ctty); in _hurd_fd_port_use_cleanup()
|
D | ctty-input.c | 26 _hurd_ctty_input (io_t port, io_t ctty, error_t (*rpc) (io_t)) in _hurd_ctty_input() argument 30 if (ctty == MACH_PORT_NULL) in _hurd_ctty_input() 35 err = (*rpc) (ctty); in _hurd_ctty_input()
|
D | ctty-output.c | 26 _hurd_ctty_output (io_t port, io_t ctty, error_t (*rpc) (io_t)) in _hurd_ctty_output() argument 28 if (ctty == MACH_PORT_NULL) in _hurd_ctty_output() 54 err = (*rpc) (ctty); in _hurd_ctty_output()
|
D | hurdioctl.c | 197 _hurd_port_set (&d->ctty, newctty); in _hurd_locked_install_cttyid() 241 do_tiocsctty (io_t port, io_t ctty) in do_tiocsctty() argument 246 if (ctty != MACH_PORT_NULL) in do_tiocsctty() 273 return __hurd_fail (HURD_DPORT_USE (fd, do_tiocsctty (port, ctty))); in tiocsctty()
|
D | hurdexec.c | 194 if (d->ctty.port != MACH_PORT_NULL) in _hurd_exec_paths() 195 *pdp++ = d->ctty.port; in _hurd_exec_paths() 201 if (pdp && d->ctty.port != MACH_PORT_NULL) in _hurd_exec_paths() 206 *pdp++ = d->ctty.port; in _hurd_exec_paths()
|
D | Makefile | 66 fd-close fd-read fd-write hurdioctl ctty-input ctty-output
|
D | fd-close.c | 37 _hurd_port_set (&fd->ctty, MACH_PORT_NULL); in _hurd_fd_close()
|
D | fd-write.c | 36 err = HURD_FD_PORT_USE_CANCEL (fd, _hurd_ctty_output (port, ctty, writefd)); in _hurd_fd_write()
|
D | fd-read.c | 38 if (err = HURD_FD_PORT_USE_CANCEL (fd, _hurd_ctty_input (port, ctty, readfd))) in _hurd_fd_read()
|
D | report-wait.c | 100 else if (port == _hurd_dtable[i]->ctty.port) in describe_port()
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | dup3.c | 63 io_t ctty = _hurd_port_get (&d->ctty, &ctty_ulink); in __dup3() local 113 if (ctty != MACH_PORT_NULL) in __dup3() 114 __mach_port_mod_refs (__mach_task_self (), ctty, in __dup3() 124 _hurd_port_set (&d2->ctty, ctty); in __dup3() 130 if (ctty != MACH_PORT_NULL) in __dup3() 131 _hurd_port_free (&d->ctty, &ctty_ulink, port); in __dup3()
|
D | fcntl.c | 61 io_t port, ctty; in __libc_fcntl() local 70 ctty = _hurd_port_get (&d->ctty, &ctty_ulink); in __libc_fcntl() 90 if (ctty != MACH_PORT_NULL) in __libc_fcntl() 91 __mach_port_mod_refs (__mach_task_self (), ctty, in __libc_fcntl() 95 if (ctty != MACH_PORT_NULL) in __libc_fcntl() 96 _hurd_port_set (&new->ctty, ctty); in __libc_fcntl() 104 if (ctty != MACH_PORT_NULL) in __libc_fcntl() 105 _hurd_port_free (&d->ctty, &ctty_ulink, port); in __libc_fcntl()
|
D | ioctl.c | 281 err = HURD_DPORT_USE_CANCEL (fd, _hurd_ctty_output (port, ctty, send_rpc)); in __ioctl() 285 err = HURD_DPORT_USE (fd, _hurd_ctty_output (port, ctty, send_rpc)); in __ioctl()
|
D | close_range.c | 52 _hurd_port_set (&fd->ctty, MACH_PORT_NULL); in __close_range()
|
/glibc-2.36/hurd/hurd/ |
D | fd.h | 42 struct hurd_port ctty; member 125 io_t port, ctty; \ 136 ctty = _hurd_port_get (&__d->ctty, &__ctty_ulink); \ 141 if (ctty != MACH_PORT_NULL) \ 142 _hurd_port_free (&__d->ctty, &__ctty_ulink, ctty); \ 249 extern struct hurd_fd *_hurd_new_fd (io_t port, io_t ctty); 268 extern error_t _hurd_ctty_input (io_t port, io_t ctty, error_t (*rpc) (io_t)); 269 extern error_t _hurd_ctty_output (io_t port, io_t ctty, error_t (*rpc) (io_t));
|
/glibc-2.36/sysdeps/hurd/include/hurd/ |
D | fd.h | 11 io_t port, ctty; member 24 io_t port, ctty; \ 37 __d.ctty = ctty = _hurd_port_get (&__d.d->ctty, &__d.ctty_ulink); \
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.4 | 760 For ctty fds, use the `ctty' cell for the ctty-special port. 761 * hurd/dtable.c (get_dtable_port): Use port, never ctty. 762 (fork_child_dtable): Reset D->ctty instead of D->port. 764 * sysdeps/mach/hurd/__ioctl.c: Use ctty port for RPC if set and 767 cell, and ctty-special port in the D->ctty cell, not the reverse. 771 never its ctty port. 772 * hurd/fd-write.c (_hurd_fd_write): Use ctty port for RPC if set 774 * hurd/fd-read.c (_hurd_fd_read): Use ctty port for RPC if set. 2029 Do ctty magic and check for EBACKGROUND to generate SIGTTOU.
|
D | ChangeLog.5 | 5834 magic, return ENXIO if no ctty. 9429 Factor ctty RPC code for SIGTTIN/SIGTTOU generation out into 9431 called with (io_t port, io_t ctty, error_t (*rpc) (io_t)). 9432 * hurd/ctty-input.c: New file. 9433 * hurd/ctty-output.c: New file. 9434 * hurd/Makefile (dtable): Add ctty-input and ctty-output.
|
D | ChangeLog.3 | 290 * hurd/dtable.c (get_dtable_port): Return the ctty port if set.
|
D | ChangeLog.20 | 1268 * hurd/ctty-input.c: Modified. 1270 * hurd/ctty-output.c: Modified.
|
/glibc-2.36/benchtests/strcoll-inputs/ |
D | filelist#C | 10416 ctty-input.c 10424 ctty-output.c
|
D | filelist#en_US.UTF-8 | 10416 ctty-input.c 10424 ctty-output.c
|