1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys
Jonathan Lemon ad91b6a280 Fix bug with timeout; previously, when attempting to poll the kqueue by
passing a zero-valued timeout, the code would always sleep for one tick.
Change code to avoid calling tsleep if we have no intention of sleeping.

Bring in bugfix from sys_select.c, r1.60 which also applies here.

Modify error handling slightly; passing in an invalid fd will now result
in EBADF returned in the eventlist, while an attempt to change a knote
which does not exist will result in ENOENT being returned.  Previously
such attempts would fail silently without notification.

Pointed out by: nicolas.leonard@animaths.com
	        Rick Reed (rr@yahoo-inc.com)
2000-08-07 16:45:42 +00:00
..
alpha Regen. (Fix SYS_exit) 2000-07-29 10:07:38 +00:00
amd64 Add workaround for livelock problem when starting APs. 2000-08-07 02:28:37 +00:00
boot - Fixed missing initialization of current device number. 2000-08-06 14:35:37 +00:00
cam Support for the Panasonic / Matshita USB FDD. 2000-07-31 12:40:26 +00:00
coda
compat Regen. (Fix SYS_exit) 2000-07-29 10:07:38 +00:00
compile
conf * Create entire directory path for modules. 2000-08-03 09:06:53 +00:00
contrib/dev Remove these here, these were repocopied to src/sys/ufs/ffs. 2000-06-23 00:11:32 +00:00
crypto sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev Save and restore the registers SOF and FRAMENUMBER on suspend. In some 2000-08-07 00:04:53 +00:00
fs Rename the loadable nullfs kernel module: null -> nullfs 2000-07-28 11:54:09 +00:00
geom Move the truncation code out of vn_open and into the open system call 2000-07-04 03:34:11 +00:00
gnu sync CCR register definitions with creative sources 2000-08-06 20:58:11 +00:00
i4b
i386 Add workaround for livelock problem when starting APs. 2000-08-07 02:28:37 +00:00
isa Allow use of TSC even if APM is compiled in but disabled. 2000-07-30 21:05:22 +00:00
isofs/cd9660 This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
kern Fix bug with timeout; previously, when attempting to poll the kqueue by 2000-08-07 16:45:42 +00:00
libkern Comment out unavailable call. This needs to be revisited when the entropy 2000-06-25 10:15:58 +00:00
miscfs Rename the loadable nullfs kernel module: null -> nullfs 2000-07-28 11:54:09 +00:00
modules Cleaning conflicting module tree. Use modules/3dfx instead. 2000-08-06 19:08:55 +00:00
msdosfs Certain error contitions cause msdosfs_rename() to decrement the 2000-07-14 11:52:56 +00:00
net Replace nonexistent !defined(_LKM) by !defined(KLD_MODULE) 2000-08-01 00:40:32 +00:00
netatalk
netatm
netgraph Fix misspelling. 2000-08-05 20:17:04 +00:00
netinet Adjust TCP checksum rather than compute it afresh. 2000-08-07 09:51:04 +00:00
netinet6 GRRR! Fix the 'panic: ip6_init' caused by darrenr's incomplete changes 2000-08-02 01:02:42 +00:00
netipx
netkey Add missing #include to unbreak IPSEC_DEBUG builds 2000-07-07 08:36:00 +00:00
netnatm
netncp Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
netns
nfs This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
nfsclient This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
nfsserver This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
ntfs
nwfs Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
pc98 Commented out xe device because it depend on PCMCIA stuff. 2000-08-04 08:29:50 +00:00
pccard Fix a bug so that we have correct number of pccard instances in pcic_attach(). 2000-07-24 21:44:00 +00:00
pci Add the ESS Solo-1 to generic chip match. 2000-08-03 13:46:52 +00:00
posix4
powerpc
rpc
svr4 Regen. (Fix SYS_exit) 2000-07-29 10:07:38 +00:00
sys Back this one out until I can fix _all_ of the headers. The headers sure 2000-08-07 03:54:25 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs Fix the lockmgr panic everyone is seeing at shutdown time. 2000-08-01 14:15:07 +00:00
vm Minor cleanups: 2000-07-28 22:03:08 +00:00
Makefile