summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshpty.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fatal() if getgrnam() cannot find "tty"deraadt2019-07-041-1/+3
|
* stat() returns precisely -1 to indicate errorderaadt2019-07-041-2/+2
|
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-10/+10
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Factor out code to disconnect from controlling terminal into its owndtucker2016-11-291-1/+13
| | | | function. ok djm@
* fix pty permissions; patch from Nikolay Edigaryev; ok deraadtdjm2015-07-301-2/+2
|
* tighten permissions on pty when the "tty" group does not exist;djm2014-09-031-8/+3
| | | | pointed out by Corinna Vinschen; ok markus
* remove #if defined block not needed; ok markus@ dtucker@stevesk2007-09-111-6/+1
|
* sort #includestevesk2007-09-111-2/+3
|
* almost entirely get rid of the culture of ".h files that include .h files"deraadt2006-08-031-5/+3
| | | | | ok djm, sort of ok stevesk makes the pain stop in one easy step
* move #include <string.h> out of includes.hstevesk2006-07-221-1/+2
|
* move #include <unistd.h> out of includes.hstevesk2006-07-171-1/+2
|
* move #include <errno.h> out of includes.h; ok markus@stevesk2006-07-111-1/+2
|
* move #include <fcntl.h> out of includes.hstevesk2006-07-091-1/+2
|
* move #include <pwd.h> out of includes.h; ok markus@stevesk2006-07-061-1/+2
|
* move #include <grp.h> out of includes.hstevesk2006-07-021-1/+2
|
* Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatdjm2006-03-251-0/+1
| | | | Theo nuked - our scripts to sync -portable need them in the files
* sprinkle u_int throughout pty subsystem, ok markusderaadt2006-03-201-3/+4
|
* RCSID() can diederaadt2006-03-191-1/+0
|
* move #include <sys/stat.h> out of includes.h; ok markus@stevesk2006-02-201-1/+3
|
* move #include <sys/ioctl.h> out of includes.h; ok markus@stevesk2006-02-101-1/+3
|
* move #include <paths.h> out of includes.h; ok markus@stevesk2006-02-081-1/+2
|
* move #include <termios.h> out of includes.h; ok markus@stevesk2006-02-071-1/+3
|
* make ssh -Wshadow clean, no functional changesavsm2004-06-211-18/+18
| | | | markus@ ok
* for pty opening, only use the openpty() path. the other stuff only needsderaadt2004-01-111-122/+1
| | | | to be in openssh-p; markus ok
* typos; dtucker at zip.com.aumarkus2003-06-121-2/+2
|
* cast some types for printing; ok markus@djm2003-05-241-3/+3
|
* don't call error() for readonly /dev; from soekris list; ok mcbride,markus2003-02-031-3/+3
| | | | henning, deraadt.
* explicit (u_int) for uid and gidderaadt2002-06-241-3/+3
|
* KNFderaadt2002-06-231-4/+4
|
* various KNF and %d for unsignedderaadt2002-06-231-3/+3
|
* basic KNF done while i was looking for something elsederaadt2001-12-191-11/+11
|
* update commentmarkus2001-07-221-2/+3
|
* pr #1946, allow sshd if /dev is readonlymarkus2001-07-181-2/+3
|
* Rename pty.[ch] -> sshpty.[ch] and login.[ch] to sshlogin.[ch] to avoiddjm2001-03-041-0/+297
header conflicts in portable; ok markus@