OpenGrok
Cross Reference: timedc.c
xref
: /
src
/
usr.sbin
/
timed
/
timedc
/
timedc.c
Home
|
History
|
Annotate
|
Download
|
only in
timedc
History log of
/src/usr.sbin/timed/timedc/timedc.c
Revision
Date
Author
Comments
1.22
16-Jan-2012
christos
PR/45842: Henning Petersen: compare fgets with NULL not 0
1.21
21-Jul-2008
lukem
branches: 1.21.2;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
1.20
16-Feb-2008
matt
branches: 1.20.6;
cmdtab is supposed to be const.
1.19
28-Jan-2007
cbiere
branches: 1.19.4;
Let timedc use the dedicated account "_timedc" for dropping privileges
instead of abusing the account "nobody".
1.18
27-Jan-2007
cbiere
* timedc is no longer setuid-root and is only usable by root due to the
use of a raw socket for ICMP; thus there is also no need to differ
between privileged and unprivileged commands.
* Switch to user "nobody" after allocating the raw socket.
* Close all file descriptors above 2 (just in case).
1.17
25-Jan-2007
christos
sprinkle const.
1.16
25-Jan-2007
cbiere
* Modified in_cksum() so it can handle unaligned data.
* Replaced most strlcpy() with set_tsp_name() and get_tsp_name() because
strlcpy() could potentially run out-of-bounds and doesn't zero out
unused buffer space.
* Replaced bcopy/bzero() with memcpy/memset().
* Fixed potential alignment/aliasing issues in measure().
* Replace u_short/u_long with uint16_t/uint32_t/in_addr_t where appropriate.
* Renamed sin to addr because sin is a reserved identifier.
* Use bindresvport() instead of looping over bind(); rresvport() returns
a SOCK_STREAM socket not SOCK_DGRAM.
1.15
25-Jan-2007
christos
- use rresvport() instead of open-coding it.
- use warn/err.
1.14
15-Jun-2006
christos
This has not worked since 2003. (Hello Itojun!)
1.13
06-Feb-2005
perry
remove obsolete register declarations.
1.12
30-Oct-2004
dsl
Add (unsigned char) cast to ctype functions
1.11
13-Oct-2003
itojun
makeargv overrun. from openbsd
1.10
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
1.9
06-Jul-2002
wiz
ANSIfy and de-__P() a bit more.
1.8
02-Sep-2001
reinoud
Code cleanup; remove all `#ifdef sgi' from the code... this clobbered the
code considerably and was mainly providing SGI specific logging facilities
and some hacks to improve the relyablility on SGI systems by increasing
priorities etc...
1.7
11-Jan-2001
lukem
LOG_ODELAY is deprecated; it's the default
1.6
18-Oct-1997
lukem
use string.h instead of strings.h
1.5
17-Oct-1997
lukem
WARNSify
1.4
17-Oct-1997
mrg
merge lite-2
1.3
03-Nov-1993
cgd
update timed to the latest version, as supplied and ported by
<Vernon Schryver> vjs@calcite.rhyolite.com.
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
06-Jun-1993
mrg
4.4BSD-Lite2
1.1.1.1
21-Mar-1993
cgd
initial import of 386bsd-0.1 sources
1.19.4.1
23-Mar-2008
matt
sync with HEAD
1.20.6.1
18-Sep-2008
wrstuden
Sync with wrstuden-revivesa-base-2.
1.21.2.1
17-Apr-2012
yamt
sync with head
Indexes created Wed Oct 15 16:09:53 GMT 2025