Lines Matching refs:ctty
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()
242 _hurd_port_free (&d->ctty, &ctty_ulink, ctty); in ctty_new_pgrp()
289 if (d->ctty.port != MACH_PORT_NULL in reauth_dtable()
290 && ! __io_reauthenticate (d->ctty.port, in reauth_dtable()
296 _hurd_port_set (&d->ctty, newctty); in reauth_dtable()