#
a6fe717c |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
libexec: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
R
libexec: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
#
43581d7b |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
libexec: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a pe
libexec: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
eba230af |
| 25-Sep-2023 |
John Baldwin <jhb@FreeBSD.org> |
Purge more stray embedded $FreeBSD$ strings
These do not use __FBSDID but instead use bare char arrays.
Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
f285f414 |
| 04-Nov-2022 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
getty: code cleanup, part 2
* Clean up whitespace * Reindent
Sponsored by: Klara, Inc.
|
#
8ad7a14a |
| 04-Nov-2022 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
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 memor
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
show more ...
|
Revision tags: release/13.1.0, release/12.3.0 |
|
#
8725f0b9 |
| 09-May-2021 |
Xin LI <delphij@FreeBSD.org> |
Revert "getty: push assignment to inner block."
This reverts commit c7b8bc367f18210d233b0e2185b5ce0d55c9ccaa.
Pointed out by: trasz
|
#
c7b8bc36 |
| 09-May-2021 |
Xin LI <delphij@FreeBSD.org> |
getty: push assignment to inner block.
No functional change.
MFC after: 2 weeks
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0 |
|
#
76b71718 |
| 01-Dec-2019 |
Xin LI <delphij@FreeBSD.org> |
Simplify code with strlcpy/strlcat.
MFC after: 2 weeks
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
18587b84 |
| 21-Feb-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Build getty(8) with WARNS=6.
Reviewed by: imp@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D14197
|
#
9c33cc93 |
| 04-Feb-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Sprinkle static; avoid nested externs.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
1776dc9f |
| 04-Feb-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add missing initializer.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
076ec402 |
| 04-Feb-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Don't cast away the const, it's not been needed since r92925.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
82725ba9 |
| 23-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325999 through r326131.
|
#
8a16b7a1 |
| 20-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier f
General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
show more ...
|
Revision tags: release/10.4.0, release/11.1.0 |
|
#
f9edb084 |
| 05-Feb-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r313055 through r313300.
|
#
9b3ece1c |
| 04-Feb-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r313243
|
#
f73ff060 |
| 02-Feb-2017 |
Alexey Dokuchaev <danfe@FreeBSD.org> |
Try to fix the old "he capability is stupid" bug in gettytab(5)/getty(8)
There is one capability explicitly documented in gettytab(5) as stupid: he. And it is indeed. It was meant to facilitate sys
Try to fix the old "he capability is stupid" bug in gettytab(5)/getty(8)
There is one capability explicitly documented in gettytab(5) as stupid: he. And it is indeed. It was meant to facilitate system hostname modification, but is hardly usable in practice because it allows very limited editing (e.g., it depends on a particular hostname length, making it non-generic).
Replace it with simple implementation that treats ``he'' as POSIX extended regular expression which is matched against the hostname. If there are no parenthesized subexpressions in the pattern, entire matched string is used as the final hostname. Otherwise, use the first matched subexpression. If the pattern does not match, the original hostname is not modified.
Using regex(3) gives more freedom, does not complicate the code very much, and makes a lot more sense, in turn making ``he'' less stupid and actually useful (e.g., it is now possible to obtain node or domain names from the original hostname string, without knowing it in advance).
Reviewed by: jilles, manpages (wblock) Approved by: jilles (implied) Differential Revision: https://reviews.freebsd.org/D9244
show more ...
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
#
82aa34e6 |
| 04-Mar-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r296007 through r296368.
|
#
52259a98 |
| 02-Mar-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
7ae7c193 |
| 27-Feb-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Missing tab.
Pointed out by: bapt
|
#
bc13b10e |
| 26-Feb-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
getty(8): Undo incomplete support VEOL2 and VSTATUS.
Forgot to add some definitions for charnames[].
|
#
73906f57 |
| 26-Feb-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
getty(8): Support VEOL2 and VSTATUS
Bring some type cleanups while here.
Obtained from: NetBSD
|
#
a3e4b982 |
| 26-Feb-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
getty(8): Use poll(2) and nanosleep(2) instead of select(2).
Sort headers while here.
Obtained from: NetBSD (CVS Rev. 1.25 - 1.26)
|
Revision tags: release/10.2.0 |
|
#
416ba5c7 |
| 22-Jun-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with HEAD (r280229-r284686).
|
#
98e0ffae |
| 27-May-2015 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge sync of head
|