Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | correct Research Unix edition "appeared in" use in HISTORY | jsg | 2020-02-08 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | Starting from "Combined Table of Contents" in Doug McIlroy's "A Research UNIX Reader" a table of which edition manuals appeared in. Checked against manuals from bitsavers/TUHS and source from TUHS where available. Ingo points out there are cases where something is included but not documented until a later release. bcd(6) v6 v7 printf(3) v2 v4 abort(3) v5 v6 system(3) v6 v7 fmod(3) v5 v6 ok schwarze@ | ||||
* | When system calls indicate an error they return -1, not some arbitrary | deraadt | 2019-06-28 | 1 | -5/+5 |
| | | | | | | 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. | ||||
* | Explicitly lock unveil. Noticed when testing the recent ps(1) commit exposing | rob | 2019-06-23 | 1 | -1/+5 |
| | | | | | the unveil state of running processes. ok deraadt@ | ||||
* | Pull tname initialization up since it's used in an error path. | florian | 2019-05-01 | 1 | -2/+3 |
| | | | | Pointed out by jsg, just fix it deraadt@ | ||||
* | need to closefrom(0) before execve(), otherwise tty isn't properly | deraadt | 2018-11-17 | 1 | -1/+2 |
| | | | | 'hung up'; some testing by Theodore Wynnychenko | ||||
* | Theodore Wynnychenko discovered the gettytab "lo=path" feature didn't work | deraadt | 2018-11-15 | 2 | -10/+26 |
| | | | | | | | anymore with unveil wired to /usr/bin/login. So let's parse gettytab a bit earlier to learn which login path to unveil. Later in the loop gettytab is re-parsed, if the login changes re-exec getty to reach the unveil from the top. ok millert, also discussed with mestre | ||||
* | document HUP; | jmc | 2018-09-25 | 1 | -2/+8 |
| | | | | based on a diff from katherine rohl, shortened by request of deraadt | ||||
* | unveil(2) in getty. This has been in snaps for more than 2 months, | deraadt | 2018-09-24 | 1 | -1/+14 |
| | | | | since I worry that a mistake in here will cause significant grief. | ||||
* | silence a compiler warning | gsoares | 2018-06-14 | 1 | -2/+2 |
| | | | | OK millert | ||||
* | do not need dev[] wasting bss space | deraadt | 2017-05-29 | 1 | -3/+2 |
| | |||||
* | Do a better job of not printing sequences we cannot reverse in DELETE or | deraadt | 2017-05-28 | 1 | -7/+18 |
| | | | | | KILL. Therefore we can do a better job cleaning up. testing by benno | ||||
* | Stop echoing ANSI sequences back to the console, by expanding ESC character | deraadt | 2017-05-27 | 1 | -2/+6 |
| | | | | | | | to literal ^[. This makes getty interaction appear more like login, and stops a mid-ANSI sequence parsing problem that messed up login, making it freeze the session until timeout. ok tedu fcambus | ||||
* | Stop supporting primordial # (erase) and @ (kill) sequences. | deraadt | 2017-05-27 | 2 | -15/+5 |
| | | | | ok tedu | ||||
* | remove the getname() code trying to handle baud < 1200 terminals. | tedu | 2017-05-27 | 1 | -8/+3 |
| | | | | leave the special down under code until somebody unearths why it exists. | ||||
* | unifdef XXX_DELAY which is older than i am | tedu | 2017-05-27 | 1 | -73/+1 |
| | |||||
* | pledge a tiny bit later. This results in the specified tty being | deraadt | 2017-01-23 | 1 | -6/+6 |
| | | | | | opened before the first pledge call. testing by tb and benno and others | ||||
* | More "(<blah> *)0" -> NULL, avoiding any stdarg functions. | krw | 2016-03-16 | 2 | -5/+5 |
| | | | | Feedback millert@ kettenis@ | ||||
* | Zap extraneous SYNOPSIS sections. | zhuk | 2016-01-08 | 1 | -4/+7 |
| | | | | | | The gettytab(5) and termcap(5) get FILES, others don't need anything. With input from & okay schwarze@ | ||||
* | assign pointers to NULL rather than 0 | mmcc | 2015-12-22 | 1 | -2/+2 |
| | |||||
* | Observe that FIOASYNC clearing for stdin is only done in the case where | deraadt | 2015-11-16 | 1 | -3/+9 |
| | | | | | | | getty receives the fd from init, so hoist it upwards. Since revoke(2) is now allowed by pledge "rpath tty", the pledges can be hoisted much higher. ok millert semarie tedu guenther | ||||
* | further PPP reduction, hint from sthen | tedu | 2015-11-06 | 4 | -18/+5 |
| | |||||
* | remove ppplogin support. ok sthen | tedu | 2015-11-06 | 1 | -39/+4 |
| | |||||
* | Hoist clearing of FIOASYNC to much earlier, then getty can use | deraadt | 2015-10-16 | 1 | -6/+8 |
| | | | | pledge "stdio rpath fattr proc exec tty". | ||||
* | remove excess tab at end of line (how did they afford the extra bytes in | deraadt | 2015-08-28 | 1 | -2/+2 |
| | | | | the dark ages?) | ||||
* | remove note in BUGS about the he capability; | jmc | 2015-07-18 | 1 | -6/+2 |
| | |||||
* | remove mention of hostname editing | tedu | 2015-07-16 | 1 | -29/+2 |
| | |||||
* | remove ancient support for edited hostnames. ok deraadt (long ago) | tedu | 2015-07-16 | 3 | -47/+6 |
| | |||||
* | Log a more useful error message if ttyname() fails. OK deraadt@ | millert | 2015-04-14 | 1 | -2/+10 |
| | |||||
* | adjust to HOST_NAME_MAX+1 & LOGIN_NAME_MAX | deraadt | 2015-01-16 | 1 | -4/+4 |
| | |||||
* | Nuke yet more obvious #include duplications. | krw | 2014-11-19 | 1 | -2/+1 |
| | | | | ok deraadt@ | ||||
* | Nuke some obvious #include duplications. | krw | 2014-11-18 | 1 | -2/+1 |
| | | | | ok espie@ deraadt@ millert@ tedu@ | ||||
* | Reduce instances of `` '' in manuals. | bentley | 2014-11-15 | 1 | -3/+4 |
| | | | | | | | | | | | | troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@ | ||||
* | Remove errant double quote; from Jean-Philippe Ouellet | millert | 2014-05-24 | 1 | -3/+3 |
| | |||||
* | remove the prototype for compatflags() which was removed in 2013. | jsg | 2014-04-12 | 1 | -3/+1 |
| | |||||
* | Drop the f0, f1, f2 gettytab capabilities that were used to poke | naddy | 2013-12-10 | 4 | -213/+33 |
| | | | | | | magic numbers into sgttyb. The "modern" replacement for f# is the set of i#, o#, c#, l# to poke magic numbers into termios. ok miod@ | ||||
* | unsigned char for ctype | deraadt | 2013-11-27 | 1 | -4/+4 |
| | | | | ok okan kettenis | ||||
* | where "-" represents stdin, just use Sq, not Fl, since it's not a flag; | jmc | 2013-07-16 | 1 | -3/+3 |
| | | | | from Jan Stary | ||||
* | do not go into upper to lower case translation mode when a all-caps | benno | 2013-06-04 | 1 | -6/+2 |
| | | | | | username has been entered. ok deraadt@ | ||||
* | use poll + nanosleep instead of select with a fixed size fd_set | deraadt | 2013-04-21 | 1 | -13/+12 |
| | | | | ok tedu | ||||
* | knock out some useless Pp; | jmc | 2011-09-03 | 1 | -2/+1 |
| | |||||
* | make -column lists pretty again; | jmc | 2011-09-03 | 1 | -98/+77 |
| | | | | | | | | | | specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense. | ||||
* | Fix a comment typo | guenther | 2010-06-07 | 1 | -2/+2 |
| | |||||
* | The .It macro is parsed, and .Do is callable, so we must escape. | schwarze | 2010-02-18 | 1 | -4/+4 |
| | | | | | Found by and unbreaking the build with mandoc(1). OK jmc@ | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | deraadt | 2009-10-27 | 3 | -24/+3 |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | Mention that "secure" on the console entry means, that | mpf | 2008-10-22 | 1 | -3/+8 |
| | | | | | | | no password will be needed for single-user. It's already noted in init(8), but having it here to cannot hurt. s/login/log in/ + corrections from jmc. OK jmc@ | ||||
* | sub-system -> subsystem, for consistency withour other pages; | jmc | 2008-10-16 | 1 | -3/+3 |
| | |||||
* | Remove an old workaround that was needed in SCCS times (%M% expanding to the | mbalmer | 2008-02-09 | 1 | -6/+4 |
| | | | | | | filename). ok mikeb, millert | ||||
* | convert to new .Dd format; | jmc | 2007-05-31 | 3 | -6/+6 |
| | |||||
* | spaces | deraadt | 2003-07-29 | 1 | -3/+3 |
| | |||||
* | .Ql Fl -> .Sq Fl where literal makes no sense; | jmc | 2003-07-15 | 1 | -2/+2 |
| |