| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).
Sponsored by: Netflix
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| |
|
|
|
|
| |
Sponsored by: Klara, Inc.
Obtained from: Apple OSS Distributions
Differential Revision: https://reviews.freebsd.org/D37265
|
| |
|
|
|
|
|
| |
* Clean up whitespace
* Reindent
Sponsored by: Klara, Inc.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
No functional change.
MFC after: 2 weeks
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=355260
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
exist. This behaviour makes no sense for eg USB serial adapters, or
USB device-side serial templates.
This mostly reverts to pre-r135941 behaviour.
Reviewed by: imp@
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D14198
Notes:
svn path=/head/; revision=329992
|
| |
|
|
|
|
|
|
|
|
| |
Reviewed by: imp@
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D14197
Notes:
svn path=/head/; revision=329724
|
| |
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=328858
|
| |
|
|
|
|
|
|
|
| |
Obtained from: DragonFlyBSD
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=328856
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=326025
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This modification adds a new gettytab(5) option (iM) to specify a
program to run that will generate the initial (banner) message that is
displayed before the login prompt. Such a capability is useful when
dynamic information is needed in the banner message that cannot be
supplied by the set of % substitution sequences available in the "im"
option.
Reviewed by: vangyzen, wblock, manpages
Approved by: vangyzen (mentor)
MFC after: 1 week
Relnotes: yes
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D12108
Notes:
svn path=/head/; revision=323252
|
| |
|
|
|
|
|
|
| |
Reviewed by: jilles
CR: https://reviews.freebsd.org/D611
Notes:
svn path=/head/; revision=270111
|
| |
|
|
|
|
|
|
|
|
| |
permitted by the University of Berkeley on July 22, 1999.
Reviewed by: imp
MFC after: 1 week
Notes:
svn path=/head/; revision=262136
|
| |
|
|
| |
Notes:
svn path=/head/; revision=216582
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've noticed various terminal emulators that need to obtain a sane
default termios structure use very complex `hacks'. Even though POSIX
doesn't provide any functionality for this, extend our termios API with
cfmakesane(3), which is similar to the commonly supported cfmakeraw(3),
except that it fills the termios structure with sane defaults.
Change all code in our base system to use this function, instead of
depending on <sys/ttydefaults.h> to provide TTYDEF_*.
Notes:
svn path=/head/; revision=214680
|
| |
|
|
|
|
|
| |
gettyflags, gettynums and gettystrs are available.
Notes:
svn path=/head/; revision=144716
|
| |
|
|
|
|
|
|
| |
filter the errno values. They don't make as much sense as they used
to given how we do devices in /dev.
Notes:
svn path=/head/; revision=135941
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117738
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
as the source of defaults for terminal device parameters.
- Do duplucate code reduction and simplification enabled by
the above.
Reviewed by: green
MFC after: 1 month
Notes:
svn path=/head/; revision=116533
|
| |
|
|
|
|
|
|
|
|
|
| |
information could only be gleaned from the the tty descriptor itself
was neglected, so never did the tty's default settings get copied from
the kernel. Specifically, this caused all manner of ctrl-keys to not
work. Fix this by calling dogettytab() in all the proper places, and
retrieving the terminfo temporarily in dogettytab().
Notes:
svn path=/head/; revision=116329
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Re-read gettytab(5) only if needed.
This fixes bugs introduced as long ago as in getty/main.c rev.1.15.
PR: bin/18181
MFC after: 1 month
Notes:
svn path=/head/; revision=116164
|
| |
|
|
|
|
|
| |
instead of just being assigned a truth value.
Notes:
svn path=/head/; revision=116155
|
| |
|
|
|
|
|
|
| |
the truth value to a boolean variable, especially when inside
a loop. The variable can overflow otherwise, at least in theory.
Notes:
svn path=/head/; revision=116154
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Initialize "rval", which would be used uninitialized
if al or pl options were set.
- Don't pass an empty string to login(1) as a user name
(this could be triggered by entering a name and then killing it
with backspace or ^U.)
- Don't loop endlessly if the al option specifies a bogus (i.e.,
not alphanumeric) auto-login name.
- Don't pass a bogus user name to login(1) if a good name were
entered and then killed with ^U.
- Exit with status 0, not 1, on receiving an EOF character,
since it's not a error condition.
MFC after: 1 week
Notes:
svn path=/head/; revision=115900
|
| |
|
|
|
|
|
| |
Submitted by: marcus
Notes:
svn path=/head/; revision=109555
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
in question is PPP-only line, i.e. no PPP-sequence detection is necessary and
PPP login program referenced by `pp' should be started automatically instead of
login(1)
Feature suggested and sponsored by: United Networks of Ukraine
No reply from: re
MFC after: 2 weeks
Notes:
svn path=/head/; revision=109540
|
| |
|
|
|
|
|
|
|
| |
<sys/stat.h> for its prerequisite <sys/time.h>.
Removed a duplicated include. Sorted includes.
Notes:
svn path=/head/; revision=91216
|
| |
|
|
|
|
|
|
| |
names of variables that shadow globally declared variables. This should
help people doing later WARNS= fixes.
Notes:
svn path=/head/; revision=90302
|
| |
|
|
|
|
|
|
| |
o remove register
o use strict prototypes
Notes:
svn path=/head/; revision=90301
|
| |
|
|
|
|
|
|
|
| |
in the banner messages (of course, defaults to "%+").
Submitted by: Gleb Smirnoff <glebius@tak.estra.ru>
Notes:
svn path=/head/; revision=77874
|
| |
|
|
|
|
|
|
|
|
| |
a daemon and session leader (thus allowing getty to be run from
a shell command line or script).
Partially Reviewed by: bde
Notes:
svn path=/head/; revision=68888
|
| |
|
|
|
|
|
| |
<time.h>).
Notes:
svn path=/head/; revision=66907
|
| |
|
|
|
|
|
|
|
|
| |
setting of CLOCAL. Necessary for 3 wire RS-232 setups with dumb
terminals.
PR: 5959
Notes:
svn path=/head/; revision=64076
|
| |
|
|
|
|
|
| |
recently incremented namespace pollution in <unistd.h>.
Notes:
svn path=/head/; revision=56725
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
friends are terminated and allow for a maximum
host name length of MAXHOSTNAMELEN - 1.
Put parenthesis around sizeof args.
Make some variables static.
Fix telnetd -u (broken by my last commit)
Prompted by: bde
Notes:
svn path=/head/; revision=45422
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
damn useful thing for using with serial consoles in clusters etc or secure
console locations. Using a custom gettytab entry for console with
an entry like 'al=root' means that there is *always* a root login ready on
the console. This should replace hacks like those which go with conserver
etc. (This is a loaded gun, watch out for those feet!)
Submitted by: "Andrew J. Korty" <ajk@purdue.edu>
Notes:
svn path=/head/; revision=45291
|
| |
|
|
|
|
|
| |
PR: 10399
Notes:
svn path=/head/; revision=44615
|
| |
|
|
|
|
|
| |
Submitted by: Matthew Jacob <mjacob@nas.nasa.gov>
Notes:
svn path=/head/; revision=40083
|
| |
|
|
| |
Notes:
svn path=/head/; revision=31331
|
| |
|
|
| |
Notes:
svn path=/head/; revision=26999
|
| |
|
|
|
|
|
|
|
|
| |
PR: 3733
Reviewed by:
Submitted by: kfurge@worldnet.att.net
Obtained from:
Notes:
svn path=/head/; revision=26415
|
| |
|
|
| |
Notes:
svn path=/head/; revision=22989
|
| |
|
|
|
|
|
|
|
|
|
|
| |
'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.
Notes:
svn path=/head/; revision=22491
|
| |
|
|
|
|
|
| |
login.
Notes:
svn path=/head/; revision=22400
|
| |
|
|
|
|
|
|
|
| |
previously hard-coded at 16 characters (and possibly overflowing
the field when NUL terminating a username of exactly 16 characters
in length).
Notes:
svn path=/head/; revision=22211
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=22208
|