Commit Graph

21492 Commits

Author SHA1 Message Date
jkh
1f3e340e00 Eliminate a small redundancy with ALL_DISTS
Submitted by:	John-Mark Gurney <jmg@hydrogen.nike.efn.org>
1997-04-25 09:11:50 +00:00
hanai
e2637abc5c Catch up with the original. 1997-04-25 07:24:02 +00:00
peter
74f136022f copyin the export network mask to the correct variable.
Submitted by: Mike Hibler <mike@marker.cs.utah.edu>, PR#3380
1997-04-25 06:47:12 +00:00
peter
93c713af2b correct vfork()/exit() to vfork()/_exit(). This is far more important
now that vfork() actually works in FreeBSD for the first time.

Spotted by: se
1997-04-25 06:42:57 +00:00
jmz
d4f450005c Add a -I switch to CFLAGS to use the f2c.h header file in the usr.bin/f2c
directory.
Reviewed by:	bde
1997-04-24 17:10:56 +00:00
jmz
88cf518a58 Install f2c.h
Reviewed by:	bde
1997-04-24 17:04:04 +00:00
jmz
48749204e4 This file is a duplicate of src/usr.bin/f2c/f2c.h
Reviewed by:	bde
1997-04-24 17:03:41 +00:00
gibbs
3ca5733308 The following scenario would result in a bogus residual being reported
if SCB Paging was enabled:

    disconnect with more data to transfer
    disconnected SCB gets paged out
    target reconnects so we page SCB back in
    target completes transfer so residual is 0
    target disconnects
    SCB gets reused but not paged out since the residual is 0 (optimization)
    target reconnects so we page the SCB back in
    we report a residual because of stale residual information.

The fix for this is to set a flag that forces the SCB to be paged back
up to the host if we page in an SCB with a residual

Pointed out by: Doug Ledford <dledford@dialnet.net>
1997-04-24 16:52:18 +00:00
se
96ee89db8a Add definition of PCI_SUBID_REG2, the subvendor/device ID for
a header type 2 device.
1997-04-24 08:03:31 +00:00
ache
9829398fac Change vfork to fork, too many memory-clobbering actions present in child 1997-04-23 23:04:58 +00:00
ache
a5e825e238 Even better fix: use close(fileno(mfp)); to close unneded descriptor
and not clobber memory by fclose().
1997-04-23 22:40:19 +00:00
ache
2d3f3d2ffc Better fix: return vfork() again, but remove clobbering fclose()
and use _exit() instead of exit()
1997-04-23 22:36:51 +00:00
ache
bb67f32a94 Replace vfork() by fork(), vfork() usage is totally bogus in this context.
This program don't bother to do even minimal vfork() support as per vfork(2)
manpage required.
1997-04-23 22:25:20 +00:00
ache
e027b68ed8 Restore memory space separation (RFMEM) for vfork() after
shell imgact memory clobbering fixed
1997-04-23 22:13:18 +00:00
ache
2f86c7eb15 Don't clobber user space argv0 memory on shell exec, mainly for vfork()
Fix another bug: if argv[0] is NULL, garbadge args might be added for
shell script
Submitted by: Tor Egge <Tor.Egge@idi.ntnu.no> (with yet one fault detect from me)
1997-04-23 22:07:05 +00:00
ache
4edae968dd Add argv0 field for imgact structure - for replacing argv0 in shell
image activator
Submitted by:  Tor Egge <Tor.Egge@idi.ntnu.no>
1997-04-23 22:02:37 +00:00
se
0ea0f813c5 Add preliminary support for PCI config header type 2:
Fetch subvendor/device ID from config space register 0x40.
1997-04-23 19:43:20 +00:00
bde
2fefab8f6a Fixed longstanding profiling bug. The frame pointer wasn't set up
for syscalls, so one frame was lost in backtraces from syscalls.
This is handled better in the kernel by using a different mcount
entry point for profiling before the frame pointer is set up.

Expand RCSID().

Use .p2align instead of the ambiguous .align.

Added idempotency ifdef.

Removed unused macros ALTENTRY(), ALTASENTRY(), ASENTRY(), _MID_ENTRY.

Cleaned up formatting.

Reviewed by:	jdp reviewed an old version
Obtained from:	parts from NetBSD
1997-04-23 19:26:04 +00:00
bde
e95e039f7f Pass everything in ${LDADD} directly to the linker for `make depend'
to prevent complaints from the compiler about nonexistent libraries.
1997-04-23 18:47:42 +00:00
jkh
e981db0f57 Add Christoph Kukulies to donor's gallery. 1997-04-23 18:36:37 +00:00
msmith
2190adec41 Don't call getnetbyname() on a netmask. On a system with a slow net
connection, a large set of network exports could take many minutes to
time out, giving the appearance of a total hang during boot.
1997-04-23 11:03:10 +00:00
bde
cfbf7a3374 Generate .S files for syscalls. This has many advantages:
- dependencies actually work (I need this to propagate some fixes
  in <machine/asm.h>)
- the cpp pipeline goes away, so errors can't leak out of it and
  an ANSI cpp is automatically used.
- it's simpler - standard rules get used instead of repetitive
  special rules.  (This showed bugs in the strip steps in the
  standard rules.  The wrong strip flag was also used for *.po
  here.)

Removed some ${ECHO}s and `@'s.  Normal make echoing of what is
being done is now not much more verbose than the echo messages
were, and is more useful.
1997-04-23 10:49:54 +00:00
bde
d164e41abb Fixed missing strip step in .S.o and .S.po rules.
Fixed back to front -X and -x strip flags in .m.o and .m.po rules.
Fixed disordered .m.o and .m.po rules.  What is .m?

Stripping probably should be removed.  It makes problems in library
functions hard to debug...
1997-04-23 10:26:18 +00:00
bde
3f969c2fa3 Removed inconsistent declaration of malloc(). `make world' with DESTDIR
set to something other than "/" now actually works.
1997-04-23 10:16:58 +00:00
davidn
a3b6ff7143 Add basic login.conf (sans authentication) support. 1997-04-23 04:56:39 +00:00
danny
24026ebd29 Spelling police. 1997-04-23 04:46:38 +00:00
davidn
9467d57b92 Added login.conf support. 1997-04-23 03:06:47 +00:00
jkh
f2c9e5e66b Remove sef's email address. 1997-04-23 02:54:28 +00:00
dyson
5b65518b88 Give up on the fast vfork() for a while. 1997-04-23 01:59:14 +00:00
dg
f096e34225 Check that the received packet length indicated by the card is at least
large enough to contain the ethernet header. There appears to be a
condition where the card can return "0" in some failure cases, and this
causes bad things to happen (a panic).
1997-04-23 01:44:30 +00:00
jkh
1be756644f Update to version 1.9.
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-04-22 18:02:52 +00:00
bde
3af0aa982f Removed wrong declarations of malloc() and realloc(). They were unused,
and they broke when yacc started generating `#include <stdlib.h>', but
the breakage was hidden by compatibility cruft in gcc unless DESTDIR
was unusual.
1997-04-22 17:44:34 +00:00
dfr
5a956ea098 Fix broken usage of nm_readdirsize and increase the socket buffers for UDP
to prevent possible socket overflows.

2.2 candidate.

PR:		kern/3304
Reviewed by:	Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
1997-04-22 17:38:01 +00:00
kato
7f07863164 Synchronize with sys/i386/conf/Makefile.i386, sys/i386/i386/machdep.c
and sys/i386/isa/npx.c revisions 1.94, 1.238 and 1.41, respectively.
1997-04-22 12:20:50 +00:00
dfr
a6bde6da85 Add a -2 flag to mountd to allow an admin to disable NFSv3 services.
This is handy for testing and possibly to work around busted v3 clients.
1997-04-22 10:37:27 +00:00
dfr
e52cdb3cdf Update the host filesystem so that it works with NFSv3 1997-04-22 10:24:29 +00:00
bde
5e1197d908 FIxed the cleanup. I forgot to leave stdin alone in the usual (!twoway)
case.
1997-04-22 09:44:06 +00:00
jdp
ae3a563c6e Make the necessary changes so that an ELF kernel can be built. I
have successfully built, booted, and run a number of different ELF
kernel configurations, including GENERIC.  LINT also builds and
links cleanly, though I have not tried to boot it.

The impact on developers is virtually nil, except for two things.
All linker sets that might possibly be present in the kernel must be
listed in "sys/i386/i386/setdefs.h".  And all C symbols that are
also referenced from assembly language code must be listed in
"sys/i386/include/asnames.h".  It so happens that failure to do
these things will have no impact on the a.out kernel.  But it will
break the build of the ELF kernel.

The ELF bootloader works, but it is not ready to commit quite yet.
1997-04-22 06:55:47 +00:00
jmg
23b3d82663 fix a bugon of last commit 1997-04-22 05:52:54 +00:00
yokota
a2809a2bed Fixed typo in the set_keyboard_param().
Spotted by: Philippe Charnier@xp11.frmug.org
1997-04-22 02:04:15 +00:00
phk
e29e11a01b In these XXX MHz days, waiting 500ms for a process to do something is
really far too long.  Let us try 100ms instead, if you have a PP200,
maybe that's even too long.  This should speed up make -j# builds.
I wonder why SIGCHLD isn't used...
1997-04-21 20:32:11 +00:00
kato
e696227ac2 Dirty change in union_lock(). Sometimes upper vnode is locked without
UN_ULOCK flag.  This shows a locking violation but I couldn't find the
reason UN_ULOCK is not set or upper vnode is not unlocked.  I added
the code that detect this case and adjust un_flags.  DIAGNOSTIC kernel
doesn't adjust un_flags, but just panic here to help debug by kernel
hackers.
1997-04-21 15:32:24 +00:00
ache
271384e50b Long usernames fixes 1997-04-21 13:53:47 +00:00
ache
8d94879c4e Use UT_NAMESIZE instead of hardcoded user names length 1997-04-21 13:52:29 +00:00
nate
3cb2cde67d - Added Samuel Lam <skl@ScalableNetwork.com> for his 3c589D patch. 1997-04-21 13:44:07 +00:00
peter
4997aa77f1 Send this to the Attic so there's no mixups over which kern_lock.c is in
use in -current.
1997-04-21 13:39:56 +00:00
nate
01b6917a11 - Better fix for 3C589D support. Revert previous changes and add a
delay after we reset the card to allow the card to come back to life.
  It appears the newer card takes longer to reset.

Submitted by:	Samuel Lam <skl@ScalableNetwork.com>
1997-04-21 13:38:32 +00:00
kato
e2eb0e3743 Replace VOP_LOCK with vn_lock. 1997-04-21 12:40:42 +00:00
kato
591065bf82 Synchronize with sys/i386/isa/lpt.c revision 1.60. 1997-04-21 12:33:26 +00:00
kato
c21bde24da Synchronize with sys/i386/isa/syscons.c.revision 1.210. 1997-04-21 12:31:31 +00:00