Commit Graph

13119 Commits

Author SHA1 Message Date
pst
a084148f20 This commit was generated by cvs2svn to compensate for changes in r14640,
which included commits to RCS files with non-trunk default branches.
1996-03-16 22:06:26 +00:00
pst
9bb1b6140b Bring in support code to make QuickCam driver a LKM.
Stolen from: jmz
1996-03-16 22:06:26 +00:00
wpaul
d51d5c3ca5 gethostbynis.c:
- Fix problem described in PR #1079: _gethostbynisaddr() doesn't
  work. Make it accept the same arguments as all the other
  gethostby*addr() functions and properly convert the supplied IP
  address into a text string so that yp_match() can find it in the
  hosts.byaddr map.

- Also fix potential memory leak: copy the results of yp_match() to
  a static buffer and free the result (yp_match() returns dynamically
  allocated memory).

ether_addr.c:

- Since I was in the neighborhood, fix ether_ntohost() and
  ether_hostton() so that they don't bogusly for a free(result)
  when yp_match() fails.
1996-03-16 21:25:59 +00:00
dg
47ab1071a2 Force device mappings to always be shared. It doesn't make sense for them
to ever be COW and we need the mappings to be shared for backward
compatibilty.

Reviewed by:	dyson
1996-03-16 15:00:05 +00:00
jmz
6d4bf6f5df Add joy to the SUBDIR list. 1996-03-16 01:43:26 +00:00
jmz
7547786cc6 Build LKM for joystick driver. 1996-03-16 01:35:48 +00:00
jmz
30f513a82b Fix the isa_device table (lkm): id_irq and id_maddr must be 0.
Pointed out by: bde
1996-03-16 01:08:04 +00:00
jmz
38b27e1399 Add code to make it a loadable kernel module 1996-03-15 20:35:06 +00:00
fenner
7eae8f5c38 Allow SIOCGIFBRDADDR and SIOCGIFNETMASK to return information about
aliases, if the alias address was passed in the struct ifreq.
Default to first address on the list, for backwards compatibility.
1996-03-15 17:08:07 +00:00
olah
4bc23fada7 Allow the user to disable the use of T/TCP by setting the -T option.
This option becomes useless when all TCP stacks are fixed out there.
1996-03-15 16:41:49 +00:00
peter
a219c408e3 Actually implement SA_RESETHAND - some of the sigaction code recognised it
but didn't actually do anything with it (*blush*).

This should fix bde's test case where the test program set SA_RESETHAND
and when reading it back, it was gone.

Tweak/optimize SA_NODEFER so that the implementation is a little simpler
and does not incur (slight) overhead for every signal at delivery time.
1996-03-15 08:01:33 +00:00
peter
63fbb40ba8 Correct spelling of gerg@stallion.oz.au's email address 1996-03-15 07:52:28 +00:00
peter
7ed1cd1f36 Delete recognition for COMPAT_LINUX - it's *gone* now.. :-) 1996-03-15 07:49:47 +00:00
peter
79a476bfe7 Add "linux_assym.h" as a dependency for linux_locore.o when compiling
the kernel with the linux emulator statically configured (options LINUX)

Problem noticed by: Brian Litzinger
1996-03-15 07:49:02 +00:00
asami
f177e4de95 Change the messages slightly when there is no "mount_type" executable
found when the user specifies "mount -t type".  Instead of printing
out one message for each path element (/sbin, /usr/sbin), it prints
out:

mount: exec mount_type not found in /sbin, /usr/sbin: No such file or directory

The code is quite long for such a stupid little piece of aesthesism
but it is very straghtforward so I guess it's ok.  Besides, I don't
want to do a "char foo[100];" and have malloc break down when someone
decides to add a few more paths to a variable that's far apart from
this code. :)

By the way, there is no malloc() off-by-one error for the '\0' at the
end of the string although I don't explicitly add 1 to the length.
The code allocates strlen(path element)+2 bytes for each path element,
and doesn't use the last two bytes (for the delimiting ", ").

Reviewed by:	the list (I hope)
1996-03-15 00:14:09 +00:00
joerg
25dec96ec5 Provide a better handling of partially corrupted directory entries.
Submitted by:	bde
1996-03-14 21:44:32 +00:00
nate
36dc90ccd8 Renamed the relevant PC-Card support files to reflect the newest release. 1996-03-14 18:24:07 +00:00
fenner
fac8f2c922 IGMPv2 routines rewritten, to be more compact and to fully comply
with the IGMPv2 Internet Draft (including Router Alert IP option)
1996-03-14 16:59:20 +00:00
adam
7638fb4412 strip -d kernel 1996-03-14 02:52:06 +00:00
wosch
f828ac7180 add missing include files 1996-03-13 23:38:21 +00:00
peter
749c34926c Add Robert Sanders <rsanders@mindspring.com> for his Linux emulator
termio/termios/etc fixes..
1996-03-13 19:17:33 +00:00
peter
b3540a7299 Fold in 8.7.5 change onto mainline (all one line). 1996-03-13 16:56:55 +00:00
peter
d6f2ef9638 This commit was generated by cvs2svn to compensate for changes in r14615,
which included commits to RCS files with non-trunk default branches.
1996-03-13 16:51:01 +00:00
peter
1b87c718ff Import sendmail-8.7.5 onto the vendor branch. 1996-03-13 16:51:01 +00:00
ache
f5a60d6db1 Better fix for terminal mode 1996-03-13 12:02:16 +00:00
pst
725860a887 Bring in LBL traceroute, which has the '-g' option. This is a bugfixed and
modified version of Leres' latest work.  No FreeBSD changes have been
spammed.
1996-03-13 08:04:29 +00:00
pst
8c5e343745 Fix ip option processing for raw IP sockets. This whole thing is a compromise
between ignoring options specified in the setsockopt call if IP_HDRINCL is set
(the UCB choice when VJ's code was brought in) vs allowing them (what everyone
else did, and what is assumed by programs everywhere...sigh).

Also perform some checking of the passed down packet to avoid running off
the end of a mbuf chain.

Reviewed by:	fenner
1996-03-13 08:02:45 +00:00
dyson
bb7008423c This commit is as a result of a comment by Alan Cox (alc@cs.rice.edu)
regarding the "real" problem with maps that we have been having
over the last few weeks.  He noted that the first_free pointer was
left dangling in certain circumstances -- and he was right!!!   This
should fix the map problems that we were having, and also give us the
advantage of being able to simplify maps more aggressively.
1996-03-13 01:18:14 +00:00
nate
2be838b1dc Add the '-s' flag to apm which returns the status of the APM support
(enable/disabled) now that the APM_GETINFO ioctl returns the necessary
information.  Also, print out the status along with the other
information as the default behavior.
1996-03-13 00:48:06 +00:00
nate
986c9f5c3a Return the status of the APM support (enabled/disabled) with the
APM_GETINFO ioctl.
1996-03-13 00:42:56 +00:00
dyson
665e2fe6cf Make sure that we pmap_update AFTER modifying the page table entries.
The P6 can do a serious job of reordering code, and our stuff could
execute incorrectly.
1996-03-13 00:39:45 +00:00
ache
788abb3288 Properly distinguish 3 different cases:
No redial command. Empty redial command. Non-empty redial command.
Pointed-by: bde
1996-03-12 23:14:45 +00:00
wosch
523d221c7f delete /usr/local/bin from PATH
Submitted by:	nate
1996-03-12 23:09:04 +00:00
nate
069131e0ec Removed more APM_SLOWSTART code and re-enabled some functions which
didn't require APM_SLOWSTART to be defined.
1996-03-12 21:51:58 +00:00
wosch
98925de78d delete /usr/ucb from PATH 1996-03-12 21:46:08 +00:00
wosch
2c4c35f314 delete /usr/ucb from PATH, move /usr/local/bin after /usr/bin 1996-03-12 21:42:40 +00:00
wosch
ea189287d5 remove /usr/ucb from path
cleanup Makefile
1996-03-12 21:37:05 +00:00
nate
1357ea6673 Fix some minor typo's in the comments. 1996-03-12 21:23:56 +00:00
nate
38eb2b3686 PC-CARD hooks. Someday it will actually enable working code. :)
Reviewed by:	phk
Submitted by:	Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp> & BSD Nomads

I re-wrote alot of this, but the ideas are based on the code from the
most recent pccard-snapshot.
1996-03-12 15:39:26 +00:00
dg
4673b20df9 Killed some historical #define cruft that we've never used in FreeBSD:
UDOT_SZ
SYSPTSIZE
USRPTSIZE
MSGBUFPTECNT
DMMIN
DMMAX
DMTEXT
USRIOSIZE
VM_PHYS_SIZE
1996-03-12 15:37:58 +00:00
phk
34430e67f4 Move "dialer" to gid == 68. 1996-03-12 15:19:31 +00:00
phk
c94797cc8d Move user & group "xten" from [ug]id == 100 to 67.
This is less likely to collide with site policies.
1996-03-12 15:17:29 +00:00
phk
78667a4c7d Remove ingres user. 1996-03-12 15:11:47 +00:00
dyson
27f39393b2 Fix the map corruption problem that appears as a u_map allocation
error.
1996-03-12 13:46:13 +00:00
ache
c018beaf94 Re-open line after hangup in any case 1996-03-12 12:56:27 +00:00
ache
ee6c90f5c0 Increment network byte order properly
Reviewed by: wollman
1996-03-12 10:23:30 +00:00
peter
ba0b5e96d0 Remove references to MAP_FILE.. That is now "default" and is only
a "#define MAP_FILE 0" that is still there for net-2 source compatability.
1996-03-12 06:20:19 +00:00
peter
a693ae062d The same data segment length rounding problem that was in the elf
loader is also present in the coff loader.  It was possible to get one
more page allocated than needed, which would cause brk()/malloc()/etc
to fail with ENOMEM when it tried to re-allocate the space.

Also, change a bcopy() from kernel to user space to a copyout().
1996-03-12 06:13:08 +00:00
jkh
48236277c1 Fix a couple of miscellaneous bugs and make pkg_add also support reading
from stdin.
1996-03-12 06:12:43 +00:00
nate
0ac561df48 Always initialize master_softc. This avoids panics in the idle loop due
to unitialized data if the APM support is compiled in and the probe
fails.
1996-03-12 06:09:34 +00:00