Home | History | Annotate | Download | only in dropbear

Lines Matching full:tty

9  * Allocating a pseudo-terminal, and making it the controlling tty.
44 * descriptors for the pty and tty sides and the name of the tty side are
196 snprintf(namebuf, namebuflen, "/dev/tty%c%c",
218 /* set tty modes to a sane state for broken clients */
221 "ptyallocate: tty modes failed: %.100s", strerror(errno));
230 "Setting tty modes for pty failed: %.100s",
245 /* Releases the tty. Its ownership is returned to root, and permissions to 0666. */
262 /* Makes the tty the processes controlling tty and sets it to sane modes. */
276 /* First disconnect from the old controlling tty. */
291 * tty.
296 "Failed to disconnect from controlling tty.\n");
299 /* Make it our controlling tty. */
329 /* Verify that we now have a controlling tty. */
333 "open /dev/tty failed - could not set controlling tty: %.100s",
363 /* Determine the group to make the owner of the tty. */
364 grp = getgrnam("tty");
374 * Change owner and mode of the tty as required.
376 * tty is owned by root.