Commit Graph

145356 Commits

Author SHA1 Message Date
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
cube 473e9e89bf Add the netbsd32 MD bits for sparc64 and amd64 to support SA.
Many thanks to all who helped for that little project, notably Martin
Husemann for teaching me a bit about the very special sparc64 world.
2006-03-29 23:07:49 +00:00
cube 69a77971a8 Regen (_lwp*, sa_*). 2006-03-29 23:04:48 +00:00
cube 99a30ba980 Implement the _lwp* and sa_* families of syscalls, using the newly
introduced hooks in the native code.
2006-03-29 23:04:12 +00:00
cube 699fe710fb Rework the _lwp* and sa_* families of syscalls so some details can be
handled differently depending on the emulation.  This paves the way for
COMPAT_NETBSD32 support of our pthread system.
2006-03-29 23:02:31 +00:00
cube 562d0d89a2 Instead of using hard-coded values for various registers, get them from the
current context.  Valid values can change depending on how the kernel is
setup.  i386 and amd64 happen to be setup differently.
2006-03-29 22:55:15 +00:00
kleink b02d297c2d Make more (and better) use of feature test macros; suggested by Matthias
Drochner.
2006-03-29 21:57:07 +00:00
uwe 3f6e548563 Don't add CPUFLAGS to CFLAGS twice. 2006-03-29 21:35:32 +00:00
dyoung 505b26e976 Add predicate IN6_IS_SCOPE_EMBEDDABLE(__a), which is true if and
only if the address __a is the type in which the IPv6 stack embeds
scope information.
2006-03-29 21:29:59 +00:00
dyoung 4db39a7dbf When reflecting an ICMP Echo, do not scribble over read-only/shared
mbuf storage.
2006-03-29 21:13:55 +00:00