summaryrefslogtreecommitdiffstats
path: root/usr.bin/rlogin
Commit message (Collapse)AuthorAgeFilesLines
* More -Wmissing-variable-declarations fixes.ed2012-10-191-49/+49
| | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* None of these programs actually use auth.conf.des2012-06-111-2/+0
| | | | MFC after: 1 week
* Replace index() and rindex() calls with strchr() and strrchr().ed2012-01-031-1/+1
| | | | | | | | | | The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revision. The strchr() and strrchr() functions are part of the C standard. This makes the source code a lot more consistent, as most of these C files also call into other str*() routines. In fact, about a dozen already perform strchr() calls.
* Raise rlogin back to a WARNS level of 6.jhb2011-04-271-2/+0
| | | | Tested by: make universe
* Revert r221053 by replacing WARNS?= 3 since it's breaking the build ondougb2011-04-261-0/+2
| | | | several arches.
* Generate the network byte order version of the window size structure in ajhb2011-04-261-6/+6
| | | | | | | temporary variable on the stack and then copy that into the output buffer so that the htons() conversions use aligned accesses. MFC after: 1 month
* This builds OK using the parent dir's WARNS=6.obrien2011-04-261-2/+0
| | | | [built on both AMD64 and i386]
* Catch up with r57841 which removed the possible linking against libutilobrien2011-04-261-1/+0
| | | | by not bothering to include its API.
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+2
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-2/+0
| | | | Tested with: make universe
* len and len2 work better as size_tdwmalone2005-11-131-1/+2
|
* Use socklen_t where appropriate.stefanf2005-08-051-1/+2
|
* Remove unnecessary SRCS= where could be guessed directly by ourdelphij2005-01-271-1/+0
| | | | | | bsd.*.mk infrasture. Obtained from: ru
* Removed Kerberos remnants.ru2005-01-212-39/+2
|
* Sort sections.ru2005-01-181-8/+8
|
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+1
| | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver
* Deal with double whitespace.ru2004-07-031-4/+4
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Use the POSIX tty interface instead of the old interface. This makestjr2003-09-282-104/+58
| | | | | | rlogin work properly without COMPAT_43. Obtained from: NetBSD (mycroft)
* Remove remnants of Kerberos -Kkx options.tjr2003-09-282-25/+4
|
* Dekerberise. The corresponding userland stuff has been dekerberisedmarkm2002-10-162-175/+24
| | | | | | for ages, and no-one seems to have noticed. Viva PAM! Fix some easy/trivial warnings while I'm here.
* Do not repeat option name in its definition. Use .Nm. In the sequence ``~.'',charnier2002-10-162-44/+34
| | | | | | ``.'' is not a sentence termination, it must be escaped to be put inside quotes. Abort if execv() fails by adding err(). Do not dot terminate error messages.
* Use POSIX macros for wait(2)-style status information instead of themike2002-06-031-4/+4
| | | | | deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int confusion.
* Really include <paths.h> (it seems it was brought in indirectly)des2002-05-081-0/+1
|
* Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.des2002-05-082-3/+8
| | | | Sponsored by: DARPA, NAI Labs
* Easy warns fixes; use const, mark unused function parameters. Removemarkm2002-04-281-14/+13
| | | | unused includes.
* Remove GCC-specific flags.markm2002-04-281-1/+0
|
* Use `The .Nm utility'charnier2002-04-201-5/+9
|
* Replaced exists() tests with two equivalent defined().ru2002-04-181-1/+1
| | | | | LIBDIR is defined in bsd.own.mk but sys.mk no longer includes bsd.own.mk as of revision 1.60.
* o unifdef -D__STDC__imp2002-03-231-77/+19
| | | | | o use ansi function definitions o remove OLDSUN
* remove __Pimp2002-03-221-19/+19
|
* Fix typo: supporting -> support.keramida2002-03-171-1/+1
| | | | | | PR: docs/35956 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 3 days
* Use SIGUSR1 to propogate SIGURG to the child; security measures preventfenner2002-02-271-2/+3
| | | | | the parent from sending SIGURG itself to the child. This fixes the problem of occasionally failing to pass the window size.
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-131-0/+1
| | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-4/+2
|
* Prepare for mdoc(7)NG.ru2001-01-161-1/+1
|
* [rlogin.1] Document the `-4' and `-6' options. Correct a typo.jkoshy2000-11-242-3/+7
| | | | [rlogin.c] Make the usage message match the code.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* remove trailing periods from SEE ALSO.ben2000-11-151-1/+1
|
* getopt and friends are declared in <unistd.h>imp2000-09-041-2/+0
| | | | getopt returns -1 not EOF.
* Buildworld fixes for NO_OPENSSH and NO_OPENSSLkris2000-03-091-1/+1
| | | | Approved by: jkh
* Use libcrypto in place of libdes.markm2000-02-242-3/+3
|
* Add -4 and -6 options.shin2000-02-151-5/+14
| | | | | | | | | Current getaddrinfo() implemetation has a problem of too much resolving waiting time on INET6 enabled systems. -4 and -6 options can limit name resolving address family and is a possible workaround for the problem. Approved by: jkh
* several tcp apps IPv6 updateshin2000-01-252-4/+16
| | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* . mdoc(7)'fyphantom2000-01-071-14/+29
| | | | | | | | . add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages . sort Xrs in SEE ALSO sections Patches based on PR: docs/15680 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
* Revert the libcrypt/libmd stuff back to how it was. This should not havepeter1999-12-181-2/+2
| | | | | | | | happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model.
OpenPOWER on IntegriCloud