272461 |
03-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
249771 |
22-Apr-2013 |
joel |
Minor update about rc.conf.
|
246209 |
01-Feb-2013 |
charnier |
Change old-style function definition
|
240388 |
12-Sep-2012 |
kevlo |
Add missing braces
Obtained from: DragonFly
|
239991 |
01-Sep-2012 |
ed |
Rework all non-contributed files that use `struct timezone'.
This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype:
int gettimeofday(struct timeval *restrict tp, void *restrict tzp);
Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0.
While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead.
|
233648 |
29-Mar-2012 |
eadler |
Remove trailing whitespace per mdoc lint warning
Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
|
230044 |
13-Jan-2012 |
kevlo |
fgets(3) returns a pointer, so compare against NULL, not integer 0.
|
228990 |
30-Dec-2011 |
uqs |
Spelling fixes for usr.sbin/
|
228720 |
19-Dec-2011 |
dim |
Fix r228719; when you use intmax_t, you need stdint.h.
Pointy hat to: dim MFC after: 1 week
|
228719 |
19-Dec-2011 |
dim |
Some people pointed out long is 32-bit on some arches, while time_t is 64-bit, so better cast time_t to intmax_t, and use the appropriate printf format strings.
MFC after: 1 week
|
228714 |
19-Dec-2011 |
dim |
In usr.sbin/timed, fix several issues with printf formats: - Cast time_t's to long, and print them with %ld. - Print ptrdiff_t's with %td. - Print ssize_t's and size_t's with %zd and %zu. - Print int32_t's with %d. Also, replace some int variables with the more appropriate size_t.
MFC after: 1 week
|
227221 |
06-Nov-2011 |
ed |
Simplify inclusion of the tsptype array a bit.
We don't need this array in timed.c -- only readmsg.c.
|
220970 |
23-Apr-2011 |
simon |
Check return code of setuid() in timedc.
While it will not fail in normal circumstances, better safe than sorry.
MFC after: 3 days
|
216372 |
11-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in usr.sbin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
|
216178 |
04-Dec-2010 |
uqs |
Move most of the remaining USD/PSD/SMM papers into share/doc
|
209344 |
19-Jun-2010 |
gavin |
Initialise the "trials" variable to zero earlier in case we unexpectedly error out early.
Found by: clang static analyzer
|
208913 |
08-Jun-2010 |
uqs |
mdoc: replace troff macros with -mdoc equivalents
|
202204 |
13-Jan-2010 |
ed |
Port timed away from logwtmp(3). Let it use utmpx.
|
189090 |
26-Feb-2009 |
ed |
Fix LLVM compiler errors related to K&R declarations with ANSI prototypes.
Submitted by: Pawel Worach <pawel.worach@gmail.com>
|
183318 |
24-Sep-2008 |
delphij |
Remove spurious duplicated defination of sock.
|
179485 |
02-Jun-2008 |
imp |
getopt returns an int, not a char. Make sure that we store the variable in an int to avoid casting to an unsigned value which causes the comparison with -1 to fail.
PR: 123807 Submitted by: Matthew Luckie Reviewed by: keramida@ MFC after: 1 week
|
176179 |
11-Feb-2008 |
remko |
Typo fix.
Spotted by: brueffer
|
174450 |
08-Dec-2007 |
remko |
Enhance descriptions in the timed manual.
PR: docs/115445 Submitted by: "Julian Stacey" <jhs at berklix dot org> MFC After: 3 days
|
173412 |
07-Nov-2007 |
kevlo |
Cleanup of userland __P use
|
166134 |
20-Jan-2007 |
maxim |
o Remove duplicate includes.
Obtained from: Slava Semushin via NetBSD
|
140442 |
18-Jan-2005 |
ru |
Sort sections.
|
131500 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
125456 |
04-Feb-2004 |
johan |
Fix typo, s/transmitts/transmits/
PR: 62346 Submitted by: Gavin Atkinson (gavin at ury.york.ac.uk)
|
120995 |
11-Oct-2003 |
tjr |
Fix a BSS buffer overflow caused by makeargv() writing past the end of margv[] when an input line contains 20 or more space-separated words.
|
120748 |
04-Oct-2003 |
naddy |
missing word
|
120745 |
04-Oct-2003 |
naddy |
reference ntpd(8)
|
120678 |
03-Oct-2003 |
naddy |
Mark the -i and -n options as mutually exclusive and fix various mdoc formatting nits.
PR: 57027 Approved by: simon Obtained from: OpenBSD
|
117278 |
06-Jul-2003 |
charnier |
de-__P use port/proto to represent services (not proto/port). add FBSDID
|
116078 |
09-Jun-2003 |
imp |
Change incorrect strings.h to more correct string.h to pick up declarations for strlcpy, strlen, strmp and strcpy.
|
116053 |
08-Jun-2003 |
charnier |
Add section number to .Xr
|
108470 |
30-Dec-2002 |
schweikh |
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ Add FreeBSD Id tag where missing.
|
99968 |
14-Jul-2002 |
charnier |
The .Nm utility
|
99808 |
11-Jul-2002 |
robert |
Use the length modifier 'l' when supplying an argument of type long to printf(3).
|
99807 |
11-Jul-2002 |
robert |
- Remove unnecessary inclusion of <utmp.h>. - Cast a value to time_t before comparing it to another time_t to fix a warning.
|
94312 |
09-Apr-2002 |
trhodes |
timed(8) manual page has some incorrect grammer
PR: 36457 No objections from: ru
|
90868 |
18-Feb-2002 |
mike |
o Move NTOHL() and associated macros into <sys/param.h>. These are deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland.
Tested on: alpha, i386 Reviewed by: bde, jake, tmm
|
86645 |
20-Nov-2001 |
jhb |
Unifdef all the SGI code. It mainly added clutter while providing some specialized logging, SGI-specific priority massaging, and SCI-specific time trimming support. Also add missing $FreeBSD$'s.
Inspired by: NetBSD
|
86644 |
20-Nov-2001 |
jhb |
Use fixed-size fields in the structure for the timed protocol. This includes changing a struct timeval to an explicit structure of two int32_t's. This requires using temporary timevals in several places when calling gettimeofday(), settimeofday(), etc. With this timed now works properly on 64-bit platforms such as Alpha.
Obtained from: NetBSD
|
83391 |
13-Sep-2001 |
ru |
Set BINOWN=root explicitly for setuid root binaries.
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.
|
81946 |
20-Aug-2001 |
kris |
The timed protocol is not implemented in a compatible way by all vendors; the size of the tsp_name field is OS-dependent. 4.3BSD used a 32-byte field, FreeBSD uses MAXHOSTNAMELEN and RedHat apparently uses a 64-byte field. As a result, sanity checking code added a few months ago to detect short packets will fail when interoperating with one of these other vendors.
Change the short packet detection code to expect a minimum packet size corresponding to the 4.3BSD implementation, which should be a safe minimum size.
Submitted by: Stephen Whiteley <stevew@best.com> (based on) PR: misc/29867
|
80029 |
20-Jul-2001 |
obrien |
Perform a major cleanup of the usr.sbin Makefiles. These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
79537 |
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
76403 |
09-May-2001 |
kris |
Patches from OpenBSD: - check the msg.tsp_type value prior to using it as an index into char *tsptype[] - use strlcpy's instead of strcpy's - & handle short packets properly.
Submitted by: "Andrew R. Reiter" <arr@watson.org> Obtained from: OpenBSD
|
75495 |
13-Apr-2001 |
dd |
mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section.
Reviewed by: ru
|
74816 |
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
74532 |
20-Mar-2001 |
ru |
Set the default manual section for usr.sbin/ to 8.
|
72646 |
18-Feb-2001 |
asmodai |
Preceed/preceeding are not english words. Use precede and preceding.
Add $FreeBSD$.
|
70561 |
01-Jan-2001 |
ben |
Check that the hostname field in received packets is NUL-terminated.
|
70446 |
28-Dec-2000 |
ben |
* Fix a segfault when timed(8) receives a packet with a bad tsp_type. * Check that received packets aren't too short, as this could cause other problems.
Reviewed by: imp, markm
|
70403 |
27-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
69082 |
23-Nov-2000 |
ru |
Eliminate groff(1) warnings.
Obtained from: NetBSD
|
68965 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
68575 |
10-Nov-2000 |
ru |
Avoid use of direct troff requests in mdoc(7) manual pages.
|
60699 |
19-May-2000 |
kris |
Remove duplicated ';' statement delimiters.
Obtained from: BSD/OS
|
57997 |
13-Mar-2000 |
sheldonh |
Add a standard option list and make appropriate changes to the body of the description.
This is based on a patch from Nick Sanders <fishy@hotbot.com>.
PR: 11978
|
57727 |
03-Mar-2000 |
shin |
Change type of vars which hold in_addr.s_addr from u_long to u_int32_t, for more safety on alpha.
Approved by: jkh
|
50479 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
48791 |
12-Jul-1999 |
nik |
Add $Id$, to make it simpler for members of the translation teams to track.
The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so;
.\" $Id$ .\"
If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted.
Approved by: bde
|
39496 |
19-Sep-1998 |
obrien |
Remove useless `BINOWN=root' now that it is the default.
|
37268 |
29-Jun-1998 |
bde |
Don't assume that time_t is long. Fixed printf format errors.
|
37267 |
29-Jun-1998 |
bde |
Don't assume that time_t is long.
|
30872 |
31-Oct-1997 |
charnier |
Make all strings representing hostnames to be NUL-terminated within MAXHOSTNAMELEN chars, like everywhere else in the system, so that strcpy()s and printf()s won't fail.
|
30831 |
29-Oct-1997 |
charnier |
Back out strcpy() -> strncpy() changes. According to Bruce, they are unneeded. Check the return value of gethostname() like in timed. Make enough place to NUL-terminate the result.
|
30830 |
29-Oct-1997 |
charnier |
Back out strcpy() -> strncpy() changes. According to bruce, they are unneeded.
|
30761 |
27-Oct-1997 |
charnier |
ntohl->htonl. OKed by: Bruce
|
30642 |
22-Oct-1997 |
charnier |
Use err(3). Sync man page and usage string. Strcpy -> strncpy from OpenBSD. -Wall cleaning. Obtained from: OpenBSD
|
28547 |
21-Aug-1997 |
jlemon |
Convert nets specified with -i/-n to network byte order. PR: 3906, 3801 Submitted by: Bob Willcox <bob@luke.pmr.com>, Hiroya Tsubakimoto
|
26133 |
25-May-1997 |
max |
Typo: .SH --> .Sh. PR: 3683 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
|
24428 |
31-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
21880 |
20-Jan-1997 |
wosch |
Sort cross references.
|
21417 |
08-Jan-1997 |
mpp |
Fix some formatting problems. Closed PR# 2377.
Pointed out by: David O'Brien
|
19093 |
22-Oct-1996 |
scrappy |
Fixes:
If timed is running when system clock is changed by date command, improper wtmp entry is made. According to wtmp(5), two entries, one with "|" as ut_line field and one with "{" for ut_line, should be recorded, but, one with "|" and one with "}" are made.
Closes: PR#bin/1182
Submitted by: Masafumi NAKANE <masafumi@tky007.tth.expo96.ad.jp>
|
15082 |
07-Apr-1996 |
mpp |
Correct some man page cross references and file location references.
|
8857 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
8532 |
15-May-1995 |
dg |
Fully initialize (bzero) the stack-allocated "struct sockaddr_in server" structure. Random junk on the stack would cause the call to bind to fail in some cases (since the address portion wasn't initialized).
|
4840 |
27-Nov-1994 |
bde |
Apply an even number of ntohl's to icmp_otime. This fixes `timedc clockdiff ...'.
|
1863 |
05-Aug-1994 |
wollman |
Get rid of update. Make man page installation work with our scheme (and rename a few in the process).
|
1611 |
28-May-1994 |
rgrimes |
Why cast a constant to (unsigned long) when you can make it this by appending UL.
|
1554 |
26-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1553, which included commits to RCS files with non-trunk default branches.
|