freebsd-dev/sys
Marcel Moolenaar c6d402d3f2 Fix a range check bug. Don't left-shift the integer argument 'data'.
Sign extension happens after the shift, not before so that boundary
cases like 0x40000000 will not be caught properly.
Instead, right shift ndirty. It is guaranteed to be a multiple of 8.
While here, do some manual code motion and code commoning.

Range check bug pointed out by: iedowse
2003-08-16 01:49:38 +00:00
..
alpha Expand inline the relevant parts of src/COPYRIGHT for Matt Dillon's 2003-08-12 23:24:05 +00:00
amd64 - Fix a duplicated typo. 2003-08-15 15:23:13 +00:00
arm Style sync. 2003-08-03 07:50:19 +00:00
boot Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
cam Remove all USB quirks that only specify DA_Q_NO_6_BYTE. They are no longer 2003-08-06 17:30:03 +00:00
coda Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
compat Remove dangling extern reference to swap_pager_full 2003-08-06 18:40:49 +00:00
conf Add ptrace_machdep.c. 2003-08-15 18:01:10 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r118812, 2003-08-12 04:56:45 +00:00
crypto Use __FBSDID(). 2003-06-10 21:44:29 +00:00
ddb db_get_value uses a local buffer to first fetch all the bytes of a 2003-08-12 13:24:21 +00:00
dev #ifdef __i386__ the "int slice" definition that became i386-only with 2003-08-15 17:56:44 +00:00
fs Add p_candebug() check to access a process map file in procfs; limit 2003-08-14 15:26:44 +00:00
geom Replace a panic with a .1Hz retry loop. 2003-08-13 12:35:25 +00:00
gnu Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
i4b Undo agressive inlining which GCC previously wisely ignored. 2003-07-23 17:58:41 +00:00
i386 remove acquire_timer0() and release_timer0() and related stuff. 2003-08-15 15:50:49 +00:00
ia64 Fix a range check bug. Don't left-shift the integer argument 'data'. 2003-08-16 01:49:38 +00:00
isa remove acquire_timer0() and release_timer0() and related stuff. 2003-08-15 15:50:49 +00:00
isofs/cd9660 Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
kern - Various style fixes in both code and comments. 2003-08-15 21:29:06 +00:00
libkern Lock down arc4random so it can be safely called w/o Giant. 2003-08-15 06:34:47 +00:00
modules Add a overhaul of the soundchip initialization for the MSP34xx chipsets 2003-08-12 09:45:34 +00:00
net Also ifdef the variable which becomes unused w/o INET6, fixing the build 2003-08-09 05:44:00 +00:00
net80211 Delay creating ic_bss until after the super-class has a chance 2003-08-13 22:09:44 +00:00
netatalk
netatm The number of prefixes can never be negative so use an u_int for this. 2003-07-29 13:46:43 +00:00
netgraph Add ng_atmpif: a HARP physical interface emulation. This allows one 2003-08-11 08:40:02 +00:00
netinet The syncache has made use of TCPDEBUG problematic, because the SYN 2003-08-13 10:20:57 +00:00
netinet6 introduced a flag bit "ND6_IFF_ACCEPT_RTADV" in the nd_ifinfo structure to 2003-08-05 14:57:11 +00:00
netipsec make sure the packets contains a complete inner header 2003-08-13 22:36:24 +00:00
netipx Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netkey Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netnatm Remove the last vestiges of ATM raw mode. This has not been useful for a 2003-08-06 14:34:38 +00:00
netncp size_t != int. Make this compile on 64 bit platforms (eg: amd64). 2003-07-24 01:59:18 +00:00
netsmb Reserve space for the trailing null byte in the srvname member of 2003-07-27 11:36:00 +00:00
nfs
nfsclient Remove the magic way of configuring NFS backed swap. 2003-08-15 12:04:02 +00:00
nfsserver Change idle state sleep identifier to "-" for nfsd. 2003-07-02 08:08:32 +00:00
opencrypto consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
pc98 As warned: Initiate deorbit burn for the pcaudio driver. 2003-08-15 14:56:05 +00:00
pccard Add comment point o2micro people to NEWCARD 2003-08-01 16:10:48 +00:00
pci Argh. Last commit only had the __FBSDID() fix. Really add the device ID 2003-08-15 22:47:55 +00:00
posix4 Use __FBSDID(). 2003-06-11 06:34:30 +00:00
powerpc Update powerpc to use the (old thread,new thread) calling convention 2003-08-14 03:56:24 +00:00
rpc
security Attempt to simplify #ifdef logic for MAC_ALWAYS_LABEL_MBUF. 2003-08-01 15:45:14 +00:00
sparc64 Expand inline the relevant parts of src/COPYRIGHT for Matt Dillon's 2003-08-12 23:24:05 +00:00
sys Add or finish support for machine dependent ptrace requests. When we 2003-08-15 05:25:06 +00:00
tools Don't check the state of the vnode interlock if the specification says 2003-06-22 21:20:06 +00:00
ufs Eliminate the i_devvp field from the incore UFS inodes, we can 2003-08-15 20:03:19 +00:00
vm Eliminate unnecessary udev_t variable: we can derive it from the dev_t 2003-08-15 13:14:25 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00