#
e4ba6a82 |
| 02-Sep-1997 |
Bruce Evans <bde@FreeBSD.org> |
Removed unused #includes.
|
#
7d7fb492 |
| 26-Aug-1997 |
Bruce Evans <bde@FreeBSD.org> |
Don't return EINVAL for negative timespecs in the nanosleep functions. Negative timespecs are perfectly valid. Just return 0 immediately for them. Also, return 0 immediately for zero timespecs.
Fi
Don't return EINVAL for negative timespecs in the nanosleep functions. Negative timespecs are perfectly valid. Just return 0 immediately for them. Also, return 0 immediately for zero timespecs.
Fixed some style bugs.
show more ...
|
#
cd9f713d |
| 14-Aug-1997 |
Andrey A. Chernov <ache@FreeBSD.org> |
setitimer: if it_value == 0 clear it_interval now non-zero it_interval values have no sense if it_value == 0 but checked by itimerfix which may cause EINVAL return
|
#
76aab1da |
| 13-Aug-1997 |
Andrey A. Chernov <ache@FreeBSD.org> |
Bypass itimerfix 100000000 limit in nanosleep1 using loop through timeouts
|
#
3fc9295d |
| 03-Aug-1997 |
Bruce Evans <bde@FreeBSD.org> |
Fixed syscall arg checking in clock_settime(). Stack garbage was checked to be >= 0. This bug was introduced in rev.1.26.
Reported by: John Hay <jhay@mikom.csir.co.za>
|
#
5faa3121 |
| 24-Jun-1997 |
John Hay <jhay@FreeBSD.org> |
Add tickadj to struct clockinfo, like NetBSD and OpenBSD. NOTE: libc, time, kgmon and rpc.rstatd will have to be recompiled.
|
#
bf5acbf5 |
| 01-Jun-1997 |
Peter Wemm <peter@FreeBSD.org> |
oops, fix a braino that I noticed during the commit.. Don't verify the remaining time pointer if it's NULL, since we don't write back in that case! (*blush*!)
|
#
5b870b7b |
| 01-Jun-1997 |
Peter Wemm <peter@FreeBSD.org> |
- implement signanosleep(2) by moving common code from nanosleep() into a shared function. - use p->p_sleepend to try and get more accurate "time remaining" results when the time has been adjusted. -
- implement signanosleep(2) by moving common code from nanosleep() into a shared function. - use p->p_sleepend to try and get more accurate "time remaining" results when the time has been adjusted. - verify writeability of return address so that we can fail before sleeping if the address for the result is bogus.
show more ...
|
Revision tags: release/2.2.2_cvs |
|
#
708e7684 |
| 10-May-1997 |
Peter Wemm <peter@FreeBSD.org> |
Fixes from Bruce: Serious: - An important timevalfix() in settime[ofday]() was lost.
Not so serious: - There was a race initializing `delta' in the check for setting the time backwards. - The `#if
Fixes from Bruce: Serious: - An important timevalfix() in settime[ofday]() was lost.
Not so serious: - There was a race initializing `delta' in the check for setting the time backwards. - The `#ifdef notyet' check for setting the time more than a day forwards was back to front. [[I deleted the code, it's useless because of iteration - Peter]] - The timespec was not checked for validity in clock_settime(). - The timespec was not fully checked for validity in nanotime(). The check in itimerfix() is too late, since the conversion from a timespec to a timeval may overflow. - A garbage timeval was checked in settimeofday() for the (uap->tv == NULL && uap->tzp != NULL) case. I added the broken check this some time ago.
Cosmetic: - The "inadvertantly (sic) sleeping forever" test always failed. hzto() always returns >= 1. - The style wasn't very KNFish. (I only changed new code.)
Submitted by: bde
show more ...
|
#
f2cc6198 |
| 10-May-1997 |
Brian Somers <brian@FreeBSD.org> |
Pay attention to what Bruce actually says rather than what I think he's going to say. (Now undoing the last timerval change)
Really suggested by: bde
|
#
93154d87 |
| 10-May-1997 |
Brian Somers <brian@FreeBSD.org> |
Don't require that it_interval be valid if it_value is set to zero - as per documentation.
Suggested by: ache & bde
|
#
94c8fcd8 |
| 08-May-1997 |
Peter Wemm <peter@FreeBSD.org> |
Implementation of posix-style clock_* and nanosleep syscalls as implemented in NetBSD. The core of settimeofday() is moved to a seperate static function settime() which both clock_settime() and sett
Implementation of posix-style clock_* and nanosleep syscalls as implemented in NetBSD. The core of settimeofday() is moved to a seperate static function settime() which both clock_settime() and settimeofday() call.
Note that I picked up the securelevel > 1 check from NetBSD that prevents the clock being set backwards in high securelevel mode (this was a hole that allowed resetting of inode access timestamps to arbitary values)
Obtained from: mostly from NetBSD, but the settime() function is from our gettimeofday(), some tweaks by me.
show more ...
|
Revision tags: release/2.2.1_cvs |
|
#
774fce94 |
| 22-Mar-1997 |
Bruce Evans <bde@FreeBSD.org> |
Removed `volatile' from declaration of `time', and removed the resulting null casts. `time' is nonvolatile for accesses within a region locked by splclock()/splx(). Accesses outside such a region a
Removed `volatile' from declaration of `time', and removed the resulting null casts. `time' is nonvolatile for accesses within a region locked by splclock()/splx(). Accesses outside such a region are invalid, and splx() must have the side effect of potentially changing all global variables (since there are hundreds of sort of volatile variables like `time'), so declaring `time' as volatile didn't have any real benefits.
show more ...
|
Revision tags: release/2.2.0, release/2.1.7_cvs |
|
#
6875d254 |
| 22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not ready for it yet.
|
#
996c772f |
| 10-Feb-1997 |
John Dyson <dyson@FreeBSD.org> |
This is the kernel Lite/2 commit. There are some requisite userland changes, so don't expect to be able to run the kernel as-is (very well) without the appropriate Lite/2 userland changes.
The syst
This is the kernel Lite/2 commit. There are some requisite userland changes, so don't expect to be able to run the kernel as-is (very well) without the appropriate Lite/2 userland changes.
The system boots and can mount UFS filesystems.
Untested: ext2fs, msdosfs, NFS Known problems: Incorrect Berkeley ID strings in some files. Mount_std mounts will not work until the getfsent library routine is changed.
Reviewed by: various people Submitted by: Jeffery Hsu <hsu@freebsd.org>
show more ...
|
Revision tags: release/2.1.6_cvs, release/2.1.6.1 |
|
#
1130b656 |
| 14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
show more ...
|
Revision tags: release/2.1.5_cvs |
|
#
793dc173 |
| 30-Sep-1996 |
Julian Elischer <julian@FreeBSD.org> |
if we jump the time, we need to check all the process real interval timers.
|
#
0cd97b20 |
| 12-Jul-1996 |
Bruce Evans <bde@FreeBSD.org> |
Use a big delta in adjtime() for big negative adjustments as well as for big positive adjustments. The existence of big adjustments may be a bug (it's not documented...) but there was no good reason
Use a big delta in adjtime() for big negative adjustments as well as for big positive adjustments. The existence of big adjustments may be a bug (it's not documented...) but there was no good reason for the asymmetric behaviour.
Reviewed by: wollman
show more ...
|
#
7a60d58a |
| 08-Jun-1996 |
Bruce Evans <bde@FreeBSD.org> |
Updated some comments in settimeofday().
|
#
6ffde942 |
| 07-Apr-1996 |
Bruce Evans <bde@FreeBSD.org> |
Removed never-used #includes of <machine/cpu.h>. Many were apparently copied from bad examples.
|
#
edbfedac |
| 11-Mar-1996 |
Peter Wemm <peter@FreeBSD.org> |
Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all files are off the vendor branch, so this should not change anything.
A "U" marker generally means that the file was not chang
Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all files are off the vendor branch, so this should not change anything.
A "U" marker generally means that the file was not changed in between the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally means that there was a change. [note new unused (in this form) syscalls.conf, to be 'cvs rm'ed]
show more ...
|
Revision tags: release/2.1.0_cvs |
|
#
80c07b66 |
| 26-Dec-1995 |
Bruce Evans <bde@FreeBSD.org> |
Finished staticizing of timevalfix().
|
#
87b6de2b |
| 14-Dec-1995 |
Poul-Henning Kamp <phk@FreeBSD.org> |
A Major staticize sweep. Generates a couple of warnings that I'll deal with later. A number of unused vars removed. A number of unused procs removed or #ifdefed.
|
#
0808c591 |
| 19-Nov-1995 |
Bruce Evans <bde@FreeBSD.org> |
Fixed settimeofday(): - don't allow invalid timevals. - normalize timevals as they are built - don't call timevaladd() with a possibly invalid timeval and normalize the result.
Fixed a warning.
|
#
d2d3e875 |
| 12-Nov-1995 |
Bruce Evans <bde@FreeBSD.org> |
Included <sys/sysproto.h> to get central declarations for syscall args structs and prototypes for syscalls.
Ifdefed duplicated decentralized declarations of args structs. It's convenient to have th
Included <sys/sysproto.h> to get central declarations for syscall args structs and prototypes for syscalls.
Ifdefed duplicated decentralized declarations of args structs. It's convenient to have this visible but they are hard to maintain. Some are already different from the central declarations. 4.4lite2 puts them in comments in the function headers but I wanted to avoid the large changes for that.
show more ...
|