#
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. 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
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
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 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
|
#
71bc4af6 |
|
26-Jan-2019 |
Stefan Eßer <se@FreeBSD.org> |
Fix potential buffer overflow and undefined behavior. The buffer allocated in read_chat() could be 1 element too short, if the chatstr parameter passed in is 1 or 3 charachters long (e.g. "a" or "a b"). The allocation of the pointer array does not account for the terminating NULL pointer in that case. Overlapping source and destination strings are undefined in strcpy(). Instead of moving a string to the left by one character just increment the char pointer before it is assigned to the results array. MFC after: 2 weeks
|
#
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
|
#
50541c92 |
|
16-Dec-2011 |
Dimitry Andric <dim@FreeBSD.org> |
In libexec/getty/chat.c, replace && with & in chat_send(). The intent is to test if the CHATDEBUG_SEND bit is set in the chat_debug global. MFC after: 1 week
|
#
9f8c3129 |
|
20-Dec-2010 |
Philippe Charnier <charnier@FreeBSD.org> |
Add __unused. Ansi prototypes.
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
410f13a5 |
|
06-Apr-2005 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Include gettytab.h before extern.h so that the declarations of struct gettyflags, gettynums and gettystrs are available.
|
#
2dc8d58f |
|
13-Mar-2004 |
Bruce Evans <bde@FreeBSD.org> |
Fixed a misspelling of 0 as NULL.
|
#
d64ada50 |
|
30-Dec-2002 |
Jens Schweikhardt <schweikh@FreeBSD.org> |
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ Add FreeBSD Id tag where missing.
|
#
391a2bec |
|
24-Feb-2002 |
Bruce Evans <bde@FreeBSD.org> |
Removed unused include of <sys/resource.h> instead of depending on namespace pollution only 1 layer deep in <sys/stat.h> for its prerequisite <sys/time.h> Removed other unused includes.
|
#
95289b27 |
|
06-Feb-2002 |
Warner Losh <imp@FreeBSD.org> |
o __P removal o remove register o use strict prototypes
|
#
7f3dea24 |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
d748864d |
|
21-Nov-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Correct incompletes .Xrs. Remove duplicate #includes and unused variables.
|
#
b92f6bd2 |
|
01-Sep-1997 |
David Nugent <davidn@FreeBSD.org> |
Use cgetustr() since we handled special escapes ourselves. Fix typo in escape parsing function. PR: 4370 Submitted by: sumii@is.s.u-tokyo.ac.jp
|
#
9e522f7a |
|
22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
#
26015440 |
|
09-Feb-1997 |
David Nugent <davidn@FreeBSD.org> |
Tidy-up modem-chat handling: ensure tty modes are restored to 'sane' standard (not raw) settings before abort/exiting; move responsibility of setting raw mode for chat-handling out of chat.c to avoid doing redundant tc{s,g}etattr()s; move DE pause prior setting standard mode before issue/login prompt to avoid echoing modem connect strings. Fixed up comment styles in a couple of places.
|
#
fe552114 |
|
02-Feb-1997 |
David Nugent <davidn@FreeBSD.org> |
Added: ic=expect/send script modem init script ac=expect/send script modem answer script ct#val chat script timeout (seconds) rt#val recycle timeout (seconds) if 'ac' set dc#val debug bitmask for debugging chat scripts hw (boolean) enable crtscts handshaking if=path 'issue' file sent prior login prompt chat.c is a simplistic expect/send chat module.
|