Commit Graph

145492 Commits

Author SHA1 Message Date
perseant 51afd83ada Make sure we unlock to zero when avoiding 3-way deadlock; otherwise we
simply have a different form of deadlock.
2006-04-01 00:13:01 +00:00
agc cf0dd67053 Provide a bit more information in the error and warning routines - needed
since variadic macros were removed.
2006-03-31 23:22:24 +00:00
christos e052a053e4 Add some coverity allocation comments, and change the way the allocator
functions work. When they allocate storage that needs to be freed, instead
of setting a boolean, set the pointer to be freed. Plug some more memory
leaks found by inspection.
2006-03-31 21:58:08 +00:00
uwe 3d342ea626 Lines with tabs only -> empty lines. 2006-03-31 21:43:42 +00:00
he 588e007881 If we're building for mipsel, we need to build the INSTALL_OMSAL400 kernel
so that the build of the install image works.
2006-03-31 21:25:59 +00:00
dsl 33369a0245 There is no need to count jobs and job tokens.
If we don't create the job pipe, use the '-j n' option to limit the number
of tokens we will remove from the pipe.
2006-03-31 21:05:34 +00:00
christos ec5cc02622 Coverity CID 544: Fix memory leak. 2006-03-31 20:30:46 +00:00
riz 9f6ad5fff1 Swap the order of the tf_gen and tf_id members of struct tmpfs_fid,
since tf_id needs 8-byte alignment on some architectures (like amd64).
struct tmpfs_fid now fits in 16 bytes on amd64 again.
OK matt@
2006-03-31 20:27:49 +00:00
dsl ec40cf92c2 Rewrite parallel() so that it uses fgetln() instead of fgets() so that
horrid nasty things don't happen when the input lines are the same size
as the buffer.
Simplify by using an array of 'FILE *' instead of a linked list so that
is possible to appease coverty (SID:1598) by freeing the memory.
Also fclose() the input lines when they are consumed.
Code still modifies optarg strings....
2006-03-31 18:59:52 +00:00
christos 46940789af Bye bye cdk. Moved via repository copy to othersrc/dist/cdk 2006-03-31 17:40:18 +00:00
thorpej c8dd740fd0 Use ANSI function decls, apply static. 2006-03-31 17:39:33 +00:00
christos c7ffec83be Only do the software reset if we are dying, like we do in ohci and ehci.
Pointed out by SAITOH Masanobu
2006-03-31 17:31:13 +00:00
christos 995a3df3f0 PR/33174: Wolfgang Stukenbrock: dhcpd fails to deliver hostnames for dynamic
ranges because it is using the wrong universe in the host lookup.
2006-03-31 17:28:50 +00:00
dsl 0720992d8c KNF prior to fixing all the buffer overruns....
Coverty highlighted something else that doesn't matter!
2006-03-31 17:20:07 +00:00
drochner 75d99205fc we don't have FE_TOWARDZERO (yet), refer to FP_RZ instead 2006-03-31 12:17:41 +00:00
drochner 273bf6508d correct multiplicand in pseudorandom generation 2006-03-31 11:43:54 +00:00
drochner 04293de9bb switch byteorder of seed to match previous (and documented) behaviour 2006-03-31 11:42:31 +00:00
rpaulo e288e9d823 Show ECN ECE and CWR flags too. 2006-03-31 10:20:21 +00:00
rpaulo 17b738113a regen 2006-03-31 09:40:58 +00:00
rpaulo e04240018f regen 2006-03-31 08:43:07 +00:00
rpaulo b4142a7b0e PR 33173: Add Dell TrueMobile 350 Bluetooth USB Adapter. From Jason White. 2006-03-31 08:41:56 +00:00
he 4fd5d495b6 Correct typo. 2006-03-31 07:34:31 +00:00
gdamore 2418262c03 Fix incorrect panic when no RTC present. 2006-03-31 06:45:46 +00:00
erh 76d8aa2c53 Fix call to simple_lock_assert_held() so builds with -DDEBUG work. 2006-03-31 06:01:07 +00:00
rittera a21b75e520 Removed the #include of ndis_driver_data.h, and replaced it with NDIS_DRV_DATA,
so that the location of the ndis_driver_data.h file which is built from
the Windows driver's .inf and .sys files using the ndiscvt utility can be
specified from the kernel configuration file.
2006-03-31 03:20:20 +00:00
rittera 6df1940b32 Removed typedef for device_t, which is apparently no longer
needed.  Apparently this was added to sys/sys/device.h after SoC 2005.
2006-03-31 03:09:36 +00:00
rittera a71d97c1d4 Added 3 files which were not part of the original FreeBSD code:
1. sys/compat/ndis/files.ndis
	-needed to compile sys/compat/ndis into the kernel
2. sys/compat/ndis/nbcompat.h
	-Various macros, typedefs, etc. needed for NetBSD
3. sys/compat/ndis/nbcompat.c
	-A few function definitions needed for NetBSD.  Mainly functions
	 available in the FreeBSD kernel, but not in NetBSD.
2006-03-31 02:43:18 +00:00
perseant 418bf18f53 Handle the "filesystem is clean" flag correctly when upgrading from
read-only to read-write mount.  This makes "root on lfs" work for me,
although it looks like a different traceback from PR#32667.
2006-03-31 02:31:37 +00:00
rittera ace2baad8b Updated to the latest NDIS code. I added commented out lines in the files
arch/i386/conf/GENERIC, arch/i386/conf/files.i386 and dev/pci/files.pci which
can simply be uncommented to compile NDIS into the kernel.  I'll write some
documentation on this soon.

Note that NDIS is still somewhat experimental.  It is currently tested and
functions relatively well on on two cards:
1. Dell (Broadcom) TrueMobile 1400 Dual Band WLAN Mini-PCI
2. Intel EtherExpress Pro/100
2006-03-31 00:03:57 +00:00
rittera 6f0360f3e9 applied zul's ndiscvt patch 2006-03-30 23:21:06 +00:00
rittera 5197fd087b applied iMil's patch 2006-03-30 23:07:37 +00:00
rittera e584f1ac27 Applied iMil's patch 2006-03-30 23:06:56 +00:00
rittera 9f9573165d added the original files from FreeBSD in usr.sbin/ndiscvt/ 2006-03-30 23:00:02 +00:00
rittera 35ff82777b Added the original FreeBSD_54 files from sys/dev/if_ndis. 2006-03-30 22:57:56 +00:00
rittera 3d0ceda304 Added the original FreeBSD RELENG_54 files in sys/compat/ndis. 2006-03-30 22:56:50 +00:00
dsl 58cc83950f Remove a splurious check for a NULL pointer (always passed as &struct->member).
Stops Coverty SID:2362 complaint
2006-03-30 21:05:07 +00:00
christos 7c73c7d9b9 remove bogus _LIBC defines. broke lint. 2006-03-30 20:37:51 +00:00
dsl 3db763ccc3 MCDelSet() contains an infinite loop!
I suspect it has never, ever, ever been asked to delete anything that exists.
Also neither it, nor MCDelMsg() below free() the set and msg structures.
Found by Coverty SID:54
2006-03-30 20:32:10 +00:00
dsl e4573e12e3 Simplify the way the end of a singly linked list is followed (for adding
items) so it is more obvious that we aren't going to indirect through
a null pointer.
Fixes coverty SID:101
2006-03-30 19:53:58 +00:00
christos 45cfed2d83 make symlink types consistent. 2006-03-30 19:49:02 +00:00
dsl 4c18b91e3e If fgetln() returns a buffer that isn't terminated by \n, free the temporary
buffer inside the loop.  Fixes coverty CID:1674.
(This should only happen at EOF, so the loop SHOULD terminate.)
While here always output a newline at the end of the input data even when
the last (unterminated) line doesn't contain a separator.
2006-03-30 19:17:44 +00:00
perseant 9c75397609 A new version of the cleaner. In general, works about as well as the old
cleaner, but with more legible code.

Includes code for reading and writing to the raw disk device (so that an
unmounted fs could be cleaned), for the use of a single daemon to clean
multiple filesystems to save on resources, and for recording the old
contents of cleaned segments to offline storage for regression testing of
the LFS system as a whole; though these new features are not properly
tested at this point.
2006-03-30 19:10:13 +00:00
christos 162bcf9406 If dying, return after doing the software part [as noted in the comment
but not done]. Pointed out by Greg Troxel.
2006-03-30 19:08:31 +00:00
christos 3c9502f95a Unbreak fts13 after yesterdays header changes [yes I keep old binaries around
just to test this]
2006-03-30 18:24:49 +00:00
thorpej 516792c317 Use device_private() more. 2006-03-30 18:16:20 +00:00
thorpej 6ecb4ef75f Liberally apply static. 2006-03-30 18:14:37 +00:00
elad f77bbf7c65 set all fields to -1 after allocation, this makes it easier to write
policies.
2006-03-30 18:11:17 +00:00
wiz 73803b1c31 file-4.17 is out. 2006-03-30 17:41:14 +00:00
elad 42eb9126e2 Remove useless whitepsace.
This commit is dedicated to Dan Langille.
2006-03-30 17:40:58 +00:00
rpaulo 65b8ebcd6a RFC is already in acronyms. 2006-03-30 17:38:01 +00:00