freebsd-skq/sys
peter 466cea7091 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
1997-05-10 12:00:03 +00:00
..
alpha md_regs is a struct trapframe * now, not int [] 1997-05-07 20:05:45 +00:00
amd64 Cleaned up #includes. Lite2 cleaned up <sys/mount.h> so no kludges 1997-05-10 08:01:13 +00:00
compat/linux Always include PROT_READ for Linux mmap operations. 1997-04-28 02:53:17 +00:00
compile
conf Remove IPXPRINTFS, it is now a sysctl knob. 1997-05-10 11:16:22 +00:00
contrib/ipfilter/netinet Really import sys/netinet changes for IP Filter 3.2alpha4 this time. 1997-04-03 10:39:35 +00:00
ddb Everyone's favorite, i think: make DDB understand the arrow keys for the 1997-04-12 17:35:02 +00:00
dev This commit was generated by cvs2svn to compensate for changes in r25603, 1997-05-09 07:48:14 +00:00
fs 1. Added cast and parenthesis in block size calculaion in 1997-05-07 14:37:32 +00:00
geom Make ccd use the maxsecsize sector size as denominator, this 1997-05-01 19:18:40 +00:00
gnu Make the necessary changes so that an ELF kernel can be built. I 1997-04-22 06:55:47 +00:00
i386 Remove IPXPRINTFS, it is now a sysctl knob. 1997-05-10 11:16:22 +00:00
isa simplify IOPL gain/remove privs code. It's easier with md_regs 1997-05-07 20:02:38 +00:00
isofs/cd9660 Hide the kernel-only stuff inside #ifdef KERNEL. 1997-05-07 13:23:04 +00:00
kern Fixes from Bruce: 1997-05-10 12:00:03 +00:00
libkern Fix a bug that caused some false mismatches when both FNM_PATHNAME 1997-04-29 03:24:57 +00:00
miscfs 1. Added cast and parenthesis in block size calculaion in 1997-05-07 14:37:32 +00:00
modules Also quiet down the ibcs2 startup (same reason as linux lkm - it screws 1997-05-01 06:09:01 +00:00
msdosfs Get the declaration of `struct dirent' from <sys/dirent.h>, not from 1997-04-10 14:56:49 +00:00
net Use the MAC address of an interface for the host part of an IPX address 1997-05-10 10:01:32 +00:00
netatalk Fixed the type of timeout functions and removed casts that hid the 1997-04-20 15:36:12 +00:00
netinet This commit was generated by cvs2svn to compensate for changes in r25603, 1997-05-09 07:48:14 +00:00
netipx Mega IPX commit. 1997-05-10 09:58:58 +00:00
netkey This is the `netkey' kernel key-management service (the PF_KEY analogue 1996-06-14 17:22:18 +00:00
netnatm import Chuck Cranor's ATM driver 1997-05-09 08:04:59 +00:00
netns Remove unneeded member nsp_head from struct nspcb. 1997-04-14 18:26:51 +00:00
nfs Prevent a mapped root which appears on the server as e.g. nobody from 1997-05-09 13:18:42 +00:00
nfsclient Prevent a mapped root which appears on the server as e.g. nobody from 1997-05-09 13:18:42 +00:00
nfsserver Allow NULL rpcs on non-privileged ports at all times to work around broken 1997-04-30 09:51:37 +00:00
pc98 Synchronize with sys/i386/i386/machdep.c revision 1.240. 1997-05-08 09:34:16 +00:00
pccard Recognize, but don't actually do much with a TI PCI1130 PcCard/CardBus bridge. 1997-05-03 13:57:26 +00:00
pci This commit was generated by cvs2svn to compensate for changes in r25603, 1997-05-09 07:48:14 +00:00
powerpc/include Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rpc Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
scsi Duplicate the TOC handling ioctls from the cd(4) driver. Duplicating 1997-05-05 13:35:01 +00:00
sys merge ATM driver 1997-05-09 12:19:06 +00:00
tools Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ufs Mount MFS read/write as in days of yore. 1997-04-28 09:15:18 +00:00
vm Check the correct queue for waking up the pageout daemon. Specifically, 1997-05-01 14:36:01 +00:00
Makefile Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00