Commit Graph

145465 Commits

Author SHA1 Message Date
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
thorpej
07c30f824f Use device_private(). 2006-03-30 16:09:28 +00:00
shige
a6d74476ad Added evbmips instkernel and sysinst. 2006-03-30 15:45:42 +00:00
shige
f9aeb216b8 Added INSTALL_OMSAL400: Install kernel for OMS-AL400. 2006-03-30 15:30:59 +00:00
cube
59e53df5fa Silence device creation and destruction. That means there won't be
spurious messages when doing "vnconfig -l", but it also means there won't
be a message when an actual device is created.  Oh, well.

PR#33116 by Izumi Tsutsui.
2006-03-30 15:19:45 +00:00
tsutsui
b3e724899c Remove unused file. Pointed out by uwe. 2006-03-30 13:44:51 +00:00
martin
ea7fb95927 We have both kinds of music here - bump /usr/lib/libc.so.12.* too. 2006-03-30 12:53:20 +00:00
yamt
c5fcdd1719 some cleanups after the introduction of GOP_SIZE_MEM flag.
- remove GOP_SIZE_READ/GOP_SIZE_WRITE flags.
  they have not been used since the change.
- ufs_balloc_range: remove code which has been no-op since the change.
  thanks Konrad Schroder for explaining the original intention of the code.
- ffs_gop_size: don't extend past eof, in the case of GOP_SIZE_MEM.
  otherwise genfs_getpages end up to allocate pages past eof unnecessarily.
2006-03-30 12:40:06 +00:00
rpaulo
dbf1ff6457 Fix more proc/lwp conversions. From Gregory McGarry in private email. 2006-03-30 11:16:00 +00:00
martin
972ca1ead8 Remove an unused, obsolete copy (pointed out by Valeriy E. Ushakov). 2006-03-30 08:07:47 +00:00
jnemeth
7b95c00460 Coverity CID 2784: Add more checks for value==NULL. 2006-03-30 08:02:40 +00:00
pavel
705abf8c8b Following the example of sys/sys/proc.h rev. 1.164, pad the LWP flags to 8
chars. It is nicer and makes the comparison of proc and lwp flags much
easier.
2006-03-30 07:08:40 +00:00
gdamore
689f73d8a7 Don't pmap_remove_pv mappings for unmanaged pages.
Closes PR mips/33166.  Reviewed by chuq@
2006-03-30 05:57:01 +00:00
jnemeth
e61c7de467 Coverity CID 2452: possible negative array index; CID 1518 and CID 1517: possible overrun of static array 2006-03-30 05:04:22 +00:00
jnemeth
1c3223f073 Coverity CID 1288: possible negative array index 2006-03-30 04:41:15 +00:00
jnemeth
67f465476e Coverity CID 993: dereference of NULL pointer 2006-03-30 04:27:24 +00:00
jnemeth
cc2349eefc Coverity CID 1293: not checking for an error return 2006-03-30 04:19:38 +00:00
jnemeth
fa4599a211 Coverity CID 1287: not checking for error return 2006-03-30 04:10:04 +00:00
chs
788c9819d4 vmapbuf() does not tolerate failure to get virtual space, use UVM_KMF_WAITVA. 2006-03-30 04:07:13 +00:00
chs
60b21d1590 use uvm_km_alloc() instead of uvm_map(). 2006-03-30 04:05:05 +00:00
uwe
4dff387338 G/c this stale copy of SYS.h. It has not been updated since 1999. It
has not been used since an unused copy of setjmp.S has been removed
from here in 2002 (i386 removed its own in 1999).
2006-03-30 02:13:10 +00:00
jnemeth
995d4b331f Coverity CID 1327: check for error return 2006-03-30 01:32:27 +00:00
jnemeth
a3fb5aa745 Bah! Compare, don't assign! 2006-03-30 01:31:13 +00:00
jnemeth
dce307414d Coverity CID 1328: check for error return 2006-03-30 01:28:46 +00:00
christos
500bc95c18 bump libc 2006-03-30 01:25:56 +00:00
jnemeth
f413c2ba58 Coverity CID 1326: check for error return 2006-03-30 01:25:52 +00:00
christos
8d5214b18a PR/33163: Auster Vl.: fts: cant allocate memory | filename too long
Change the ftp_pathlen and fts_namelen to u_int from u_short so that
pathnames > 32K work.
2006-03-30 01:23:50 +00:00
rtr
a559f08510 do not build or install libcdk as a part of base anymore
cdk source still lives in dist however

approved by core@
2006-03-30 00:00:23 +00:00