summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/adjtime.2 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* adjtime(2): set EINVAL if delta overflows 64 bits of microseconds.cheloha2019-03-261-3/+13
| | | | | | | | | | | | | | | | No other (known) BSD-derived adjtime(2) implementation checks for overflow when converting delta into its final denomination of fractional seconds. This is peculiar, as the call originates in 4.3BSD. However, glibc, uclibc, and (to an extent) musl /do/ check the input and set EINVAL if it exceeds a certain bound, so we'll just use the errno that they use to be consistent with extant practice. Prompted by the comment kettenis@ left when we switched to storing the adjustment in an int64_t like ~5 years ago (kern_time.c,v 1.87). Positive feedback from deraadt@, manpage bits ok jmc@, no code complaints from otto@ or tedu@.
* minor tweaks:schwarze2019-01-181-9/+17
| | | | | | * correctly mark up NULL * avoid gratuitous future tense * replace one wrong .Nm macro
* adjtime(2), settimeofday(2), clock_settime(2): validate inputcheloha2019-01-181-3/+8
| | | | | | | | | Add documentation for the new EINVAL cases for adjtime(2) and settimeofday(2). adjtime.2 docs ok schwarze@, settimeofday(2)/clock_settime(2) stuff ok tedu@, "stop waiting" deraadt@
* use .In rather than .Fd #includeschwarze2015-09-101-3/+3
|
* use .Rv; no change of meaning; from Kaspars at Bankovskis dot netschwarze2014-12-101-6/+3
|
* no longer any need to quote macro lines with >9 args;jmc2013-08-141-3/+3
| | | | From: Jan Stary
* timed's time is up. use ntpd(8). Even our own fossil developersderaadt2011-07-071-10/+3
| | | | | switched a while back. ok miod, kettenis
* abort any time adjustment in progress if the clock is set with settimeofdayckuethe2009-06-051-2/+5
| | | | ok millert
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* .Xr adjfreq and ntpdotto2006-06-141-1/+3
|
* Add a CAVEATS section: other systems might have more restrictive adjtime(2).otto2006-06-041-2/+10
| | | | With help from jmc@; ok deraadt@ jmc@
* Allow any user to request the current adjustment; ok henning@ deraadt@otto2006-06-041-3/+6
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* ok, tmac is now fixedderaadt2001-06-231-2/+3
|
* join .%A entries; most by bk@rt.fmderaadt2001-06-231-3/+2
|
* Another round of man page cleanup, this time to remove more hard sentenceaaron2000-10-181-14/+8
| | | | breaks and getting rid of short lines, making these files easier to work with.
* - For consistency, `super-user' -> `superuser' in all cases.aaron2000-04-151-3/+3
| | | | | - Some punctuation fixes. - Some `id' -> `ID'.
* - change references to nil to null; tschroed@acm.orgaaron1999-06-291-4/+4
| | | | | | | - remove trailing spaces from end of lines - add some .Dv - change -1 to \-1, so `-' is taken as a negative sign - other misc formatting fixes
* adjtime(2) did not return EFAULT for bad olddelta ptr; darrenr@merlin.reed.wattle.id.auderaadt1999-06-061-2/+2
|
* remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonaaron1999-05-231-2/+2
| | | | is used instead; kwesterback@home.com
* make function names the correct casederaadt1999-02-271-3/+3
|
* fix openbsd tagderaadt1998-07-061-0/+1
|
* cleanupderaadt1997-11-041-1/+1
|
* from netbsd:deraadt1995-12-141-2/+2
| | | | add & fix a bunch of system call pages
* initial import of NetBSD treederaadt1995-10-181-0/+113