]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoSomebody forgot to turn out the lights.
peter [Wed, 11 Sep 2002 20:20:38 +0000 (20:20 +0000)]
Somebody forgot to turn out the lights.
(ie: These files are long since obsolete)

22 years agoCosmetic cleanup to a message.
jhb [Wed, 11 Sep 2002 19:49:43 +0000 (19:49 +0000)]
Cosmetic cleanup to a message.

22 years agoSometime after binutils-2.9 (ie: ages ago), the handling of __start_set_*
peter [Wed, 11 Sep 2002 19:08:09 +0000 (19:08 +0000)]
Sometime after binutils-2.9 (ie: ages ago), the handling of __start_set_*
and __stop_set_* became friendlier.  This trick to force the export
of the section delimiter symbols is no longer necessary.  We needed to
force this so that we could look up the symbols via a symbol table search
when the module was loaded at run time.  ld used to eliminate them if
they were not referenced at compile/link time.

22 years agoCommit "unrelated style fixes" part of Bruce's patch (regarding
peter [Wed, 11 Sep 2002 18:16:40 +0000 (18:16 +0000)]
Commit "unrelated style fixes" part of Bruce's patch (regarding
bcopy/memcpy) seperately.

Submitted by:  bde

22 years agoIndentation does not make a block.. need curly braces too.
julian [Wed, 11 Sep 2002 18:15:26 +0000 (18:15 +0000)]
Indentation does not make a block.. need curly braces too.
Submitted by: Eagle-eyes evans <bde@freebsd.org>

22 years agoModify previous commit to solve the real problem that made gcc think
peter [Wed, 11 Sep 2002 18:12:29 +0000 (18:12 +0000)]
Modify previous commit to solve the real problem that made gcc think
the timestamp was aligned.  ie: Use a void * instead of struct timeval *
which gcc assumes will be aligned.  Go back to memcpy().

Submitted by: bde

22 years agoI completely fubared this. An empty EXPORT_SYMS= is not valid. I know I
peter [Wed, 11 Sep 2002 18:03:03 +0000 (18:03 +0000)]
I completely fubared this.  An empty EXPORT_SYMS= is not valid.  I know I
build this several times, and even tested loaded the module.  I must have
changed something right before commit.

Pointed out by: bde

22 years agoWhitespace consistency fix from addition of IAHD_REG_PRETTY_PRINT: use
rwatson [Wed, 11 Sep 2002 16:51:48 +0000 (16:51 +0000)]
Whitespace consistency fix from addition of IAHD_REG_PRETTY_PRINT: use
tabs not spaces.

22 years agoIn kvm_openfiles/kvm_open, mark the file descriptors as close-on-exec.
nectar [Wed, 11 Sep 2002 16:41:39 +0000 (16:41 +0000)]
In kvm_openfiles/kvm_open, mark the file descriptors as close-on-exec.
Applications can not do this themselves, as the descriptors are hidden
behind the opaque `kvm_t' type.

22 years agoCorrect a usage of fnctl that could not be right and results in a
nectar [Wed, 11 Sep 2002 16:38:33 +0000 (16:38 +0000)]
Correct a usage of fnctl that could not be right and results in a
no-op.  I assume it was meant that the close-on-exec flag be set here.

22 years agoIt's bad enough people can't figure out to use the same code, or in
phk [Wed, 11 Sep 2002 12:44:58 +0000 (12:44 +0000)]
It's bad enough people can't figure out to use the same code, or in
this case, ugly macros, but the data tables can be reused:

Put one copy of the software HDLC tables in its own file.

22 years agoFix spelling of Bismarck's name and remove duplicate
tg [Wed, 11 Sep 2002 11:21:36 +0000 (11:21 +0000)]
Fix spelling of Bismarck's name and remove duplicate
Bertrand Russell quotations.

22 years agocorrect another spammage.. sorry bruce.. not exactly sure how my patch
julian [Wed, 11 Sep 2002 09:08:53 +0000 (09:08 +0000)]
correct another spammage.. sorry bruce.. not exactly sure how my patch
reverted out your change but hopefully that's it..

22 years agorevert a line that was not part of my change..
julian [Wed, 11 Sep 2002 09:04:02 +0000 (09:04 +0000)]
revert a line that was not part of my change..
I think it was a part of someone else's commit that
somehow got reverted by my patch.

22 years agoAdd an implementation of wcsftime() (wide character version of strftime()).
tjr [Wed, 11 Sep 2002 08:57:11 +0000 (08:57 +0000)]
Add an implementation of wcsftime() (wide character version of strftime()).

22 years agoComment and whitespace changes.
julian [Wed, 11 Sep 2002 08:25:35 +0000 (08:25 +0000)]
Comment and whitespace changes.

22 years agoCompletely redo thread states.
julian [Wed, 11 Sep 2002 08:13:56 +0000 (08:13 +0000)]
Completely redo thread states.

Reviewed by: davidxu@freebsd.org

22 years agoInclude <vm/uma.h> instead of depending on namespace pollution in
bde [Wed, 11 Sep 2002 07:13:28 +0000 (07:13 +0000)]
Include <vm/uma.h> instead of depending on namespace pollution in
<sys/malloc.h>.

Sorted includes as much as possible.  Removed banal comment(s) attached to
includes.

22 years agoFix LINT build on alpha by completing move of cy and apm_saver to
njl [Wed, 11 Sep 2002 05:33:15 +0000 (05:33 +0000)]
Fix LINT build on alpha by completing move of cy and apm_saver to
i386/conf/NOTES rather than the global conf/NOTES.

Suggested by: bde

22 years agoAdd `restrict' type-qualifier.
mike [Wed, 11 Sep 2002 05:05:48 +0000 (05:05 +0000)]
Add `restrict' type-qualifier.

22 years agoConditionalize some objects to match the functions that they are used
mike [Wed, 11 Sep 2002 05:04:06 +0000 (05:04 +0000)]
Conditionalize some objects to match the functions that they are used
with.  Enable `restrict' type-qualifier.

22 years agoAdd support for the AMD x86-64 Hammer platform.
obrien [Wed, 11 Sep 2002 04:57:09 +0000 (04:57 +0000)]
Add support for the AMD x86-64 Hammer platform.

22 years agoSome uses of the variable n needed to be int, others needed to be
mike [Wed, 11 Sep 2002 04:26:09 +0000 (04:26 +0000)]
Some uses of the variable n needed to be int, others needed to be
size_t.  Add a new variable to cope.

22 years agoClarify the return value from child_present.
imp [Wed, 11 Sep 2002 04:22:10 +0000 (04:22 +0000)]
Clarify the return value from child_present.

22 years ago- Lock down the accounting code globals with a subsystem mutex.
arr [Wed, 11 Sep 2002 04:10:41 +0000 (04:10 +0000)]
- Lock down the accounting code globals with a subsystem mutex.

Reviewed by: jhb, mdodd

22 years agoQuiet warnings about non-existent scripts. My own fault for not testing my
gordon [Wed, 11 Sep 2002 01:00:57 +0000 (01:00 +0000)]
Quiet warnings about non-existent scripts. My own fault for not testing my
own patches as well as I should.

22 years agoUnbreak world by fixing 4 syntax errors and 1 wrong variable type.
mike [Wed, 11 Sep 2002 01:00:56 +0000 (01:00 +0000)]
Unbreak world by fixing 4 syntax errors and 1 wrong variable type.

22 years agoRemember who asked for a connect or accept operation so we can actually tell
benno [Wed, 11 Sep 2002 00:52:50 +0000 (00:52 +0000)]
Remember who asked for a connect or accept operation so we can actually tell
them when it's done.

Reviewed by: archie

22 years agoFix style bugs in macros.
fanf [Tue, 10 Sep 2002 21:14:14 +0000 (21:14 +0000)]
Fix style bugs in macros.

22 years agoTidy up the base64 code and relax the error handling.
fanf [Tue, 10 Sep 2002 21:10:33 +0000 (21:10 +0000)]
Tidy up the base64 code and relax the error handling.

22 years agoAdjust to reflect reality, which is that sigaltstack() takes stack_t *'s.
archie [Tue, 10 Sep 2002 21:06:51 +0000 (21:06 +0000)]
Adjust to reflect reality, which is that sigaltstack() takes stack_t *'s.

MFC after: 3 days

22 years agoStyle: Don't treat pointers as booleans.
fanf [Tue, 10 Sep 2002 20:53:46 +0000 (20:53 +0000)]
Style: Don't treat pointers as booleans.

22 years agoFix tilde-expansion of the filename obtained from the "begin" line in -s
fanf [Tue, 10 Sep 2002 20:48:44 +0000 (20:48 +0000)]
Fix tilde-expansion of the filename obtained from the "begin" line in -s
mode, and be more accurate about identifying begin lines so that spurious
ones don't have to be manually edited out, and be more forgiving about
errors so that -c mode is more useful.

22 years agoReplace a goto with continue.
fanf [Tue, 10 Sep 2002 20:33:39 +0000 (20:33 +0000)]
Replace a goto with continue.

22 years agoRemove register keyword.
fanf [Tue, 10 Sep 2002 19:23:44 +0000 (19:23 +0000)]
Remove register keyword.

22 years agoStyle: space after return.
fanf [Tue, 10 Sep 2002 18:52:03 +0000 (18:52 +0000)]
Style: space after return.

22 years agoFix some style bugs:
mike [Tue, 10 Sep 2002 18:41:45 +0000 (18:41 +0000)]
Fix some style bugs:
o Space used instead of a tab after `#define' and `typedef'.
o Sentences not ended with a period.
o Unaligned function names and other spacing issues.

22 years agoMake the handling of -i neater.
fanf [Tue, 10 Sep 2002 18:34:07 +0000 (18:34 +0000)]
Make the handling of -i neater.

22 years agoOnly try to chmod the output if it's a regular file, rather than
fanf [Tue, 10 Sep 2002 18:28:19 +0000 (18:28 +0000)]
Only try to chmod the output if it's a regular file, rather than
hard-coding /dev/stdout as a special case.

Suggested by: jmallett

22 years agoNew release notes: gre(4), kern.cam.scsi_delay tunable.
bmah [Tue, 10 Sep 2002 18:22:40 +0000 (18:22 +0000)]
New release notes:  gre(4), kern.cam.scsi_delay tunable.

22 years agoFix namespace issues by using the relatively new visibility
mike [Tue, 10 Sep 2002 18:12:16 +0000 (18:12 +0000)]
Fix namespace issues by using the relatively new visibility
primitives.

22 years ago- Forgot to remove `cardattached` declaration in revision 1.22.
arr [Tue, 10 Sep 2002 16:50:06 +0000 (16:50 +0000)]
- Forgot to remove `cardattached` declaration in revision 1.22.

22 years agoAdd missing calls to mtx_init().
phk [Tue, 10 Sep 2002 16:41:08 +0000 (16:41 +0000)]
Add missing calls to mtx_init().

It seems counter-intuitive that all drivers have to do this.

Pointed in right direction by: gj

22 years agoAdd a paragraph which should clarify the separation of asterisks
robert [Tue, 10 Sep 2002 14:48:38 +0000 (14:48 +0000)]
Add a paragraph which should clarify the separation of asterisks
and adjacent tokens in declarations.
The added text was originally a single sentence I wrote and which
was heavily modified and extended by Bruce Evans.

This clarification attempt originates from differing usage of the
'restrict' type-qualifier.
Although various documents documents dicussing the C Programming
Language put a space between an asterisk and the 'restrict' keyword,
including the C99 standard (at least the n869.txt draft) and other
ISO/IEC JTC1/SC22/WG14 documents, the IEEE Std 1003.1-2001 document
does not separate them.

Discussed with: bde
Requested by: tjr
Separation using a single space also liked by: mike

22 years agoPrevent the wrapper from looping on itself forever, when there
thomas [Tue, 10 Sep 2002 13:56:30 +0000 (13:56 +0000)]
Prevent the wrapper from looping on itself forever, when there
is a symbolic link in the PATH pointing back to /usr/bin/perl.

Change WARNS from 6 to 5 to account for the fact that sys/time.h,
included from sys/stat.h, produces a warning when compiled with
-pedantic.

PR: bin/42418
Reviewed by: roberto

22 years agoFixed namespace pollution in uma changes:
bde [Tue, 10 Sep 2002 13:48:21 +0000 (13:48 +0000)]
Fixed namespace pollution in uma changes:
- use `struct uma_zone *' instead of uma_zone_t, so that <sys/uma.h> isn't
  a prerequisite.
- don't include <sys/uma.h>.
Namespace pollution makes "opaque" types like uma_zone_t perfectly
non-opaque.  Such types should never be used (see style(9)).

"Fixed" subsequently grown dependencies of this header on its own
pollution by polluting explicitly:
- include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of
  depending on namespace pollution 2 layers deep in <sys/uma.h>.

22 years agoThe boot floppy requires the lnc driver.
nyan [Tue, 10 Sep 2002 13:11:03 +0000 (13:11 +0000)]
The boot floppy requires the lnc driver.

22 years agoRemove unused code.
nyan [Tue, 10 Sep 2002 13:08:23 +0000 (13:08 +0000)]
Remove unused code.

22 years agoUse ${TARGET}/dokern.sh instead of ${TARGET_ARCH}/dokern.sh.
nyan [Tue, 10 Sep 2002 13:06:53 +0000 (13:06 +0000)]
Use ${TARGET}/dokern.sh instead of ${TARGET_ARCH}/dokern.sh.
(pc98/dokern.sh is (repository) copied from i386/dokern.sh.)

22 years agoInclude <sys/malloc.h> instead of depending on namespace pollution 2
bde [Tue, 10 Sep 2002 12:45:02 +0000 (12:45 +0000)]
Include <sys/malloc.h> instead of depending on namespace pollution 2
layers deep in <sys/proc.h> or <sys/vnode.h>.

22 years agoFixed namespace pollution in uma changes:
bde [Tue, 10 Sep 2002 12:19:16 +0000 (12:19 +0000)]
Fixed namespace pollution in uma changes:
- use `struct uma_zone *' instead of uma_zone_t, so that <sys/uma.h> isn't
  a prerequisite.
- don't include <sys/uma.h>.
Namespace pollution makes "opaque" types like uma_zone_t perfectly
non-opaque.  Such types should never be used (see style(9)).

22 years agoInclude <sys/malloc.h> instead of depending on namespace pollution 2
bde [Tue, 10 Sep 2002 11:57:02 +0000 (11:57 +0000)]
Include <sys/malloc.h> instead of depending on namespace pollution 2
layers deep in <sys/proc.h> or <sys/vnode.h>.

Removed unused includes.  Sorted includes.

22 years agovfs_syscalls.c:
bde [Tue, 10 Sep 2002 11:09:13 +0000 (11:09 +0000)]
vfs_syscalls.c:
Changed rename(2) to follow the letter of the POSIX spec.  POSIX
requires rename() to have no effect if its args "resolve to the same
existing file".  I think "file" can only reasonably be read as referring
to the inode, although the rationale and "resolve" seem to say that
sameness is at the level of (resolved) directory entries.

ext2fs_vnops.c, ufs_vnops.c:
Replaced code that gave the historical BSD behaviour of removing one
link name by checks that this code is now unreachable.  This fixes
some races.  All vnodes needed to be unlocked for the removal, and
locking at another level using something like IN_RENAME was not even
attempted, so it was possible for rename(x, y) to return with both x
and y removed even without any unlink(2) syscalls (one process can
remove x using rename(x, y) and another process can remove y using
rename(y, x)).

Prodded by: alfred
MFC after: 8 weeks
PR: 42617

22 years agoRemove a sentence about wrapping macro definitions in bare braces,
fanf [Tue, 10 Sep 2002 10:54:39 +0000 (10:54 +0000)]
Remove a sentence about wrapping macro definitions in bare braces,
which became wrong after using do { } while (0) became recommended.
Move the definition of what braces are to their new first occurrence.

Reviewed by: bde

22 years agoCosmetics: #define NETATALK --> #define NETATALK 1, so that it is in line with
sobomax [Tue, 10 Sep 2002 10:19:03 +0000 (10:19 +0000)]
Cosmetics: #define NETATALK --> #define NETATALK 1, so that it is in line with
other #define FOO.

22 years agoReplace FILE with struct __sFILE in the prototypes for the wide character
tjr [Tue, 10 Sep 2002 09:43:28 +0000 (09:43 +0000)]
Replace FILE with struct __sFILE in the prototypes for the wide character
I/O functions to avoid having to bring in pollution from <stdio.h>.

Suggested by: bde

22 years agoRemove superfluous break.
sobomax [Tue, 10 Sep 2002 09:18:33 +0000 (09:18 +0000)]
Remove superfluous break.

22 years agoRemove extraneous extern from function prototype introduced in rev.1.14.
sobomax [Tue, 10 Sep 2002 08:20:30 +0000 (08:20 +0000)]
Remove extraneous extern from function prototype introduced in rev.1.14.

22 years agoreprobe not needed here either
imp [Tue, 10 Sep 2002 06:37:56 +0000 (06:37 +0000)]
reprobe not needed here either

22 years agoRemove more bogus reprobe code. I don't think it is needed here either.
imp [Tue, 10 Sep 2002 06:37:02 +0000 (06:37 +0000)]
Remove more bogus reprobe code.  I don't think it is needed here either.

22 years agoo Dike out the bogus reprobe stuff. It was getting in the way of newbus' own
imp [Tue, 10 Sep 2002 06:32:18 +0000 (06:32 +0000)]
o Dike out the bogus reprobe stuff.  It was getting in the way of newbus' own
  reprobe code working.  This bogusness was thrust upon me.
o Don't delete the device if no drivers attach.  I had thrust this bogusness
  upon others.

These two changes make kldload of a pccard driver work again.

22 years agoregen for 1.34
imp [Tue, 10 Sep 2002 06:29:50 +0000 (06:29 +0000)]
regen for 1.34

22 years agoAdd ARGOSY SP320
imp [Tue, 10 Sep 2002 06:29:09 +0000 (06:29 +0000)]
Add ARGOSY SP320

cis submitted by: phk

22 years agomove some printfs under bootverbose
sam [Tue, 10 Sep 2002 05:06:48 +0000 (05:06 +0000)]
move some printfs under bootverbose

Reviewed by: phk

22 years ago- Spell "these" properly.
arr [Tue, 10 Sep 2002 03:58:44 +0000 (03:58 +0000)]
- Spell "these" properly.

22 years agoUpdate to use *.tbz suffix, also update example URL.
bmah [Tue, 10 Sep 2002 02:42:59 +0000 (02:42 +0000)]
Update to use *.tbz suffix, also update example URL.

While I'm here, fix a gramm-o.

PR: 42576
Submitted by: Jeff Ito <jeffi@rcn.com>
MFC after: 1 day

22 years agoImplement C99's _Exit() interface.
wollman [Tue, 10 Sep 2002 02:04:49 +0000 (02:04 +0000)]
Implement C99's _Exit() interface.
Implement a version of qsort that provides a thunk to the comparison function.

Update manual pages.

22 years agoWithout fixing the namespace issues, add prototypes for the new _Exit()
wollman [Tue, 10 Sep 2002 02:02:49 +0000 (02:02 +0000)]
Without fixing the namespace issues, add prototypes for the new _Exit()
and qsort_r() functions.  Fix one other missorted declaration.

22 years agoAdd the 1109 incident.
grog [Tue, 10 Sep 2002 00:07:19 +0000 (00:07 +0000)]
Add the 1109 incident.

22 years agoSigh, finally activate pkgwrap.c.
sobomax [Mon, 9 Sep 2002 22:59:06 +0000 (22:59 +0000)]
Sigh, finally activate pkgwrap.c.

Big pointy hat to: sobomax (who apparently needs some sleep)
Submitted by: walt <wa1ter@hotmail.com>

22 years agoFix syscons so it actually does start.
gordon [Mon, 9 Sep 2002 22:40:34 +0000 (22:40 +0000)]
Fix syscons so it actually does start.

Reported by: keramida, ume
Submitted by: keramida

22 years agoNew Translation
gioria [Mon, 9 Sep 2002 22:26:07 +0000 (22:26 +0000)]
New Translation

22 years agoAdding infrastructure for harware notes
gioria [Mon, 9 Sep 2002 22:09:48 +0000 (22:09 +0000)]
Adding infrastructure for harware notes

22 years agoContinuing translation
gioria [Mon, 9 Sep 2002 21:21:48 +0000 (21:21 +0000)]
Continuing translation

22 years agoFix minor off-by-one error.
bmah [Mon, 9 Sep 2002 21:21:34 +0000 (21:21 +0000)]
Fix minor off-by-one error.

Submitted by: jhb

22 years agoMake pkg_install go to the right place for 4.6-RELEASE and 4.6.2-RELEASE
bmah [Mon, 9 Sep 2002 19:44:17 +0000 (19:44 +0000)]
Make pkg_install go to the right place for 4.6-RELEASE and 4.6.2-RELEASE
packages.

Pointed out by: obrien
Reviewed by: jhb

22 years agoIntroduce notion of the package tools revision and allow to wrap all tools
sobomax [Mon, 9 Sep 2002 19:43:30 +0000 (19:43 +0000)]
Introduce notion of the package tools revision and allow to wrap all tools
included into pkg_install according to the content of /var/db/pkg_install.conf
file, which specifies version and alternative location of the tools. Format
of the said file is very simple: one line which specifies revision of the
alternative version of the tools and their location separated by space,
i.e.:

20030102 /usr/local/sbin

This would allow bsd.port.mk to install and use up to date version of tools
on older system from ports.

Also add new `-P' flag to pkg_info, which causes it to report currently
installed version of package tools.

Discussed with: will

22 years agoIn reference to previous commit: use err(3).
nectar [Mon, 9 Sep 2002 18:51:59 +0000 (18:51 +0000)]
In reference to previous commit: use err(3).

Noticed by: bde

22 years agoMake sure a $PIR table header has a valid length before accepting the table
jhb [Mon, 9 Sep 2002 18:24:35 +0000 (18:24 +0000)]
Make sure a $PIR table header has a valid length before accepting the table
as valid.

Submitted by: Michal Mertl <mime@traveller.cz>

22 years agoContinuing translation
gioria [Mon, 9 Sep 2002 17:59:39 +0000 (17:59 +0000)]
Continuing translation

22 years agoAdd tcl81 that was missing.
knu [Mon, 9 Sep 2002 17:53:41 +0000 (17:53 +0000)]
Add tcl81 that was missing.

22 years agoQuiet another annoying warning.
wollman [Mon, 9 Sep 2002 17:44:08 +0000 (17:44 +0000)]
Quiet another annoying warning.

22 years agoadd missing \n to printf
ticso [Mon, 9 Sep 2002 17:39:48 +0000 (17:39 +0000)]
add missing \n to printf

Approved by: gallatin (mentor)

22 years agoAdd security.mac.mmap_revocation, a flag indicating whether we
rwatson [Mon, 9 Sep 2002 17:12:24 +0000 (17:12 +0000)]
Add security.mac.mmap_revocation, a flag indicating whether we
should revoke access to memory maps on a process label change.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoMinor code sync to MAC tree: push Giant locking up from
rwatson [Mon, 9 Sep 2002 17:10:16 +0000 (17:10 +0000)]
Minor code sync to MAC tree: push Giant locking up from
mac_cred_mmapped_drop_perms() to the caller.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agosshd didn't handle actual size of struct sockaddr correctly,
ume [Mon, 9 Sep 2002 16:49:11 +0000 (16:49 +0000)]
sshd didn't handle actual size of struct sockaddr correctly,
and did copy it as long as just size of struct sockaddr.  So,
If connection is via IPv6, sshd didn't log hostname into utmp
correctly.
This problem occured only under FreeBSD because of our hack.
However, this is potential problem of OpenSSH-portable, and
they agreed to fix this.
Though, there is no fixed version of OpenSSH-portable available
yet, since this problem is serious for IPv6 users, I commit the
fix.

Reported by: many people
Reviewed by: current@ and stable@ (no objection)
MFC after: 3 days

22 years agoBack out previous commit. I was a bit overzealous: the fd_set size is
nectar [Mon, 9 Sep 2002 16:43:18 +0000 (16:43 +0000)]
Back out previous commit.  I was a bit overzealous: the fd_set size is
calculated dynamically here.

22 years agoCheck for FD_SET overrun.
nectar [Mon, 9 Sep 2002 16:21:10 +0000 (16:21 +0000)]
Check for FD_SET overrun.

22 years agoCheck for FD_SET overrun.
nectar [Mon, 9 Sep 2002 16:14:03 +0000 (16:14 +0000)]
Check for FD_SET overrun.

22 years agoCheck for FD_SET overrun.
nectar [Mon, 9 Sep 2002 16:06:41 +0000 (16:06 +0000)]
Check for FD_SET overrun.

22 years agoCheck for FD_SET overrun.
nectar [Mon, 9 Sep 2002 15:58:08 +0000 (15:58 +0000)]
Check for FD_SET overrun.

22 years ago - Fix iBCS2 emulation of COFF files that have multiple libraries
robert [Mon, 9 Sep 2002 15:51:10 +0000 (15:51 +0000)]
 - Fix iBCS2 emulation of COFF files that have multiple libraries
   in their library (STYP_LIB) section.
 - Attempt to make the code which calculates the next entry and
   string offsets look clearer.

PR: kern/42580
Tested by: Olaf Klein <ok@adimus.de> (on 4.7-PRERELEASE)

22 years agoCheck for FD_SET overruns.
nectar [Mon, 9 Sep 2002 15:45:28 +0000 (15:45 +0000)]
Check for FD_SET overruns.

Obtained from: NetBSD

22 years agoKill debugging line occasionally slipped into rev.1.3.
sobomax [Mon, 9 Sep 2002 11:13:00 +0000 (11:13 +0000)]
Kill debugging line occasionally slipped into rev.1.3.

Submitted by: reg

22 years agoRemove the second lnc line. Move CD9660 to the third floppy to make
jhay [Mon, 9 Sep 2002 11:01:32 +0000 (11:01 +0000)]
Remove the second lnc line. Move CD9660 to the third floppy to make
mfsroot.flp fit again.

22 years agoSince from now on encap_input() also catches IPPROTO_MOBILE and IPPROTO_GRE
sobomax [Mon, 9 Sep 2002 09:36:47 +0000 (09:36 +0000)]
Since from now on encap_input() also catches IPPROTO_MOBILE and IPPROTO_GRE
packets in addition to IPPROTO_IPV4 and IPPROTO_IPV6, explicitly specify
IPPROTO_IPV4 or IPPROTO_IPV6 instead of -1 when calling encap_attach().

MFC after: 28 days
(along with other if_gre changes)

22 years ago- Do not swap out a process if it is in creation. The process may have no
tanimura [Mon, 9 Sep 2002 09:05:06 +0000 (09:05 +0000)]
- Do not swap out a process if it is in creation.  The process may have no
  address space yet.

- Check whether a process is a system process prior to dereferencing
  its p_vmspace.  Aio assumes that only the curthread switches the address
  space of a system process.

22 years ago#include "opt_bla.h" goes first says Bruce.
phk [Mon, 9 Sep 2002 08:44:52 +0000 (08:44 +0000)]
#include "opt_bla.h" goes first says Bruce.

22 years agoAdd `device gre'.
sobomax [Mon, 9 Sep 2002 08:31:04 +0000 (08:31 +0000)]
Add `device gre'.

Reminded by:    bde
MFC after:      28 days
(along with other if_gre stuff)

22 years agoPrevent namespace pollution in use-land by putting everything used only in
sobomax [Mon, 9 Sep 2002 08:25:00 +0000 (08:25 +0000)]
Prevent namespace pollution in use-land by putting everything used only in
kernel (softc and such) under #ifdef _KERNEL.

Submitted by:   bde