Home | History | Annotate | only in /src/libexec/rexecd
History log of /src/libexec/rexecd
RevisionDateAuthorComments
 1.10 16-Mar-2009  lukem Default to WARNS=4
Exceptions that need a lower level are:
getty ld.elf_so lfs_cleanerd makewhatis telnetd tftpd
hpropd ipropd-master ipropd-slave kadmind kpasswdd
 1.9 04-Mar-2005  he branches: 1.9.34;
Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD. When compiling
with MKPIC=no, possibly because the target does not support shared
libraries, these include libraries required to resolve all symbols
which end up referenced from PAM-using applications. The libraries
presently required are -lcrypt, -lrpcsvc and -lutil.

Add use of these variables which are currently set up to use PAM,
so that they compile when MKPIC=no.

Also, in the telnetd case, reorder the order of the libraries, so
that libtelnet.a comes before -ltermcap and -lutil, again to fix
link error when MKPIC=no.

Discussed with thorpej and christos.
 1.8 23-Feb-2005  christos PAMify: From John Nemeth with fixes from me.
 1.7 08-Oct-1997  mrg merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec.
 1.6 07-Oct-1997  mrg merge lite-2. WARNS?=1.
 1.5 22-Dec-1994  cgd specify man pages the new way.
 1.4 07-Oct-1993  cgd always use libcrypt
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 26-Apr-1993  cgd changed to use new libcrypt scheme.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9.34.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.13 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.12 09-Apr-2009  joerg Remove physical markup.
 1.11 07-Aug-2003  agc branches: 1.11.40;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.10 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.9 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.8 15-Jan-2002  wiz Sort sections.
 1.7 22-Mar-1999  garbled More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.6 08-Jun-1998  lukem Implement a new manual page category ``SECURITY CONSIDERATIONS''
(suggested by mycroft)
 1.5 29-Apr-1998  fair fix bad .Xr references
 1.4 20-Oct-1997  enami Fix .Nm usage.
 1.3 07-Oct-1997  mrg merge lite-2. WARNS?=1.
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3 29-Apr-1997  tls Import from 4.4BSD-Lite2
 1.1.1.2 29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.11.40.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.26 20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
 1.25 15-Dec-2007  perry branches: 1.25.6;
convert __attribute__s to applicable cdefs.h macros
 1.24 11-May-2006  mrg branches: 1.24.10;
end the argument list to exec*(3) with a NULL instead of a bare '0', as
the latter isn't a pointer context in these varargs functions.
 1.23 19-Apr-2005  christos check pwd != NULL
 1.22 30-Mar-2005  christos - KNF fixes from John Nemeth
- Use getpwnam_r because pam may use getpw* and overwrite the static area
(from FreeBSD)
 1.21 23-Feb-2005  christos branches: 1.21.2;
PAMify: From John Nemeth with fixes from me.
 1.20 10-Jan-2005  ginsbach Fix thinko with last commit.
 1.19 08-Jan-2005  ginsbach ANSIfy; de-__P(); use STD*_FILENO rather than `magic' numbers
 1.18 11-May-2004  kleink Also set LOGNAME in the environment.
 1.17 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.16 17-May-2003  itojun use strlcat
 1.15 03-Mar-2003  dsl Call setsid so we don't change inetd's logname (and that of our peers).
(approved by christos)
 1.14 06-Dec-2002  thorpej Avoid conflict with reserved identifier "log".
 1.13 23-Sep-2002  mycroft null commit
 1.12 23-Sep-2002  itojun poll.h, not sys/poll.h
 1.11 05-Jun-2002  itojun make it AF independent as much as possible
 1.10 26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.9 24-Sep-2001  wiz branches: 1.9.2;
va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
 1.8 06-Apr-2001  wiz Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
 1.7 10-Oct-2000  is Format string cleanups by sommerfeld.
 1.6 26-Jul-1998  mycroft branches: 1.6.2; 1.6.10;
const poisoning.
 1.5 04-Jul-1998  mrg - KNF.
- check return call of several important system calls
- clean up some more cruft.
- support "rexecd -l" for extra (syslog(3)) logging.
- avoid *sprintf
 1.4 07-Oct-1997  mrg merge lite-2. WARNS?=1.
 1.3 21-May-1996  mrg call setlogin. from pr#1292 (James Jegers <jimj@miller.cs.uwm.edu>)
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 29-Apr-1997  tls Import from 4.4BSD-Lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.6.10.1 17-Oct-2000  tv Pullup libexec string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.6.2.1 10-Oct-2000  he Pull up revision 1.7 (requested by is):
Format string cleanup.
 1.9.2.1 23-Jul-2004  tron Apply patch (requested by dbj in ticket 1724):
Fix problems when building the netbsd-1-6 branch with GCC 3.3.3.
 1.21.2.2 05-Jul-2005  tron Pull up revision 1.23 (requested by lukem in ticket #529):
check pwd != NULL
 1.21.2.1 05-Jul-2005  tron Pull up revision 1.22 (requested by lukem in ticket #529):
- KNF fixes from John Nemeth
- Use getpwnam_r because pam may use getpw* and overwrite the static area
(from FreeBSD)
 1.24.10.1 09-Jan-2008  matt sync with HEAD
 1.25.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2 16-Mar-2009  lukem Default to WARNS=4
Exceptions that need a lower level are:
getty ld.elf_so lfs_cleanerd makewhatis telnetd tftpd
hpropd ipropd-master ipropd-slave kadmind kpasswdd
 1.1 23-Feb-2005  christos branches: 1.1.34;
Add an example program that tests rexecd... I really don't want to encourage
its use though.
 1.1.34.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 15-Dec-2007  perry branches: 1.3.4;
convert __attribute__s to applicable cdefs.h macros
 1.2 27-Feb-2005  christos branches: 1.2.16;
Add a few lines of code to print the output from the remotely executed program.
 1.1 23-Feb-2005  christos Add an example program that tests rexecd... I really don't want to encourage
its use though.
 1.2.16.1 09-Jan-2008  matt sync with HEAD
 1.3.4.1 18-May-2008  yamt sync with head.

RSS XML Feed