opnsense-src/libexec/getty
Dag-Erling Smørgrav d488e8d037 getty: code cleanup, part 1
* Avoid unnecessary use of `unsigned char *`
* Use explicit casts when assigning `unsigned char *` to `char *` or vice versa
* Drop unused global variables (and fix memory leak in `gettable()`)
* Use `snprintf()` instead of `strcpy()` + `strcat()`
* Drop spurious braces in switch

Sponsored by:	Klara, Inc.
Obtained from:	Apple OSS Distributions (in part)
Differential Revision: https://reviews.freebsd.org/D37263

(cherry picked from commit 8ad7a14ab4)

getty: code cleanup, part 2

* Clean up whitespace
* Reindent

Sponsored by:	Klara, Inc.

(cherry picked from commit f285f41498)

getty: Avoid NULL deref if stdin is not a tty.

Sponsored by:	Klara, Inc.
Obtained from:	Apple OSS Distributions
Differential Revision: https://reviews.freebsd.org/D37265

(cherry picked from commit eb4d86d529)
2022-11-14 12:22:42 +01:00
..
chat.c getty: code cleanup, part 1 2022-11-14 12:22:42 +01:00
extern.h getty: code cleanup, part 1 2022-11-14 12:22:42 +01:00
getty.8 getty appears to date from 3rd edition research unix. That's the oldest man page 2020-07-22 00:44:47 +00:00
gettytab Move gettytab to libexec/getty/ 2018-09-05 15:25:23 +00:00
gettytab.5 Fix gettytab(5) to document f0, f1, and f2 as unsupported; they've been gone 2018-02-26 17:51:18 +00:00
gettytab.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
init.c getty: code cleanup, part 1 2022-11-14 12:22:42 +01:00
main.c getty: code cleanup, part 1 2022-11-14 12:22:42 +01:00
Makefile pkgbase: Put more binaries/lib in runtime 2022-01-05 18:23:51 +01:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
subr.c getty: code cleanup, part 1 2022-11-14 12:22:42 +01:00
ttys.5 Add cross references betwen ttys(5) and related drivers 2020-07-11 20:56:57 +00:00