Commit Graph

16918 Commits

Author SHA1 Message Date
thorpej
862bb3adc1 Pass the correct number of arguments to readdisklabel(). 1995-12-09 07:31:03 +00:00
mycroft
498f9ca1e7 Include /dev/io as one of the `kmem' devices. 1995-12-09 05:53:00 +00:00
cgd
6652367efa (1) undef various EXEC_ cpp symbols before defining them, in case
they're already defined for some reason (this can happen
        on the alpha, for example, which needs to define EXEC_ECOFF
        in the std.alpha config file).
(2) minor spacing consistency.
1995-12-09 05:34:47 +00:00
cgd
0289832ea9 add missing . to libexec/cpp symlink, as pointed out by John Birrell 1995-12-09 05:27:22 +00:00
mycroft
76813521bb Return 0 in the child, not the parent pid. 1995-12-09 05:00:27 +00:00
mycroft
292120bf63 Define __FORK_BRAINDAMAGE. 1995-12-09 04:41:41 +00:00
mycroft
0e0ac5ed68 cpu_fork() now returns void. 1995-12-09 04:37:23 +00:00
mycroft
fee1a345eb Only expect vm_fork() to return if __FORK_BRAINDAMAGE is defined.
Eliminate unused third arg to vm_fork().
1995-12-09 04:28:16 +00:00
mycroft
af942a9add Only expect vm_fork() to return if __FORK_BRAINDAMAGE is defined.
Use splstatclock() rather than splhigh() in one place.
Eliminate unused third arg to vm_fork().
1995-12-09 04:23:07 +00:00
mycroft
bcd91943f8 Remove unused third arg to shmfork(). 1995-12-09 04:12:56 +00:00
mycroft
feb42498e3 If we abort, make sure to free ep_emul_arg. 1995-12-09 04:11:00 +00:00
mycroft
00be80b604 Add a limfree(), and use it. 1995-12-09 04:09:32 +00:00
mycroft
27b9d9f436 Eliminate an extra variable. 1995-12-09 04:07:41 +00:00
mycroft
018fa71167 Eliminate bogus casts. 1995-12-09 04:05:52 +00:00
mycroft
812fdf80d2 Reran makesyscalls.sh. 1995-12-09 04:04:45 +00:00
mycroft
9df1f90849 We don't need a private version of fork() here any more. 1995-12-09 04:01:42 +00:00
thorpej
7268bf552d When unconfiguring a ccd, only free as many interleave indices as
were allocated, which may not be the same as the number of components
in the ccd.  From Don Lewis <gdonl@gv.ssi1.com>.  Fixes PR #1820.
1995-12-08 19:13:26 +00:00
thorpej
d7cef923ac Centralize the HP-UX file flags translation stuff. 1995-12-08 07:54:43 +00:00
thorpej
b0ca4831ea Check in two changes I apparently overlooked the last time. "oops" 1995-12-08 07:45:31 +00:00
mycroft
82b57c7135 Collapse some cases together. 1995-12-08 06:55:38 +00:00
mycroft
cc119bf4a3 Allow more than one wt, and fix up permissions. Unclutter st. 1995-12-08 06:44:07 +00:00
gwr
63a836a44a Check return value from sendrecv so that ARP timeout does not cause
garbage to be entered into the ARP table.  Also fix ARP_DEBUG code.
1995-12-08 04:12:53 +00:00
gwr
63e145ebd7 Correct error which caused truncation of port number on i386 (PR#1823) 1995-12-08 04:10:28 +00:00
pk
5c482e804d Don't forget to flush the cache in vunmapbuf(). 1995-12-07 22:18:54 +00:00
thorpej
1cd2ca323b Remove a couple of now unneeded assignments. 1995-12-07 21:54:24 +00:00
thorpej
b6c6d46a82 In sdminphys(), add a comment about the semantics of the "length" field
in a 6-byte read/write cdb (namely, length == 0 really means 256), and
that we handle this conservatively by limiting the transfer to 255 blocks.
*sigh* One just never knows how a pre-scsi-1 device is going to behave.
1995-12-07 19:46:00 +00:00
thorpej
c9895db015 In both cd.c and sd.c:
If the read or write request can fit into a 6-byte cdb, then
	use a 6-byte cdb, otherwise use the 10-byte as before.

In sd.c:
	In sdattach(), make a note if the device is "ancient" (i.e.
	inqbuf.version & SID_ANSII == 0).

	Implement sdminphys(): if the device is "ancient", shorten the
	transfer so it will fit into a 6-byte cdb.

These changes have eliminated the rejected read/write requests on my
Sun 3/60 with 2 ESDI disks behind an Emulex MD21.
1995-12-07 19:11:32 +00:00
neil
4dd7bb95f9 Removed entry for localhost. Having localhost in hosts.equiv
is not very prudent.
1995-12-07 15:25:54 +00:00
jtc
eeba73b02d Add no rewind device nodes for the wt driver 1995-12-07 11:04:37 +00:00
jtc
f9db0b0e81 Added spanish language libc message catalog 1995-12-07 10:24:00 +00:00
phil
c13dbbd1b4 Update the To.Do list. 1995-12-07 07:55:11 +00:00
phil
b2b08219f3 Vax now uses src/gnu/usr.bin/gcc. 1995-12-07 07:26:32 +00:00
mycroft
65806fd730 When converting from termios to sgtty, if RAW is set, use the previous\
settings of LITOUT and PASS8, since these cannot be determined from the\
termios modes.
1995-12-07 00:53:29 +00:00
pk
480398f38e dvma_malloc => malloc/dvma_mapin. (not the most elegant solution, but it'll
have to do for now).
1995-12-06 22:40:22 +00:00
pk
f6a3272e25 DVMA space is described by the variables dvma_start' and dvma_end'.
Prototype dvma_map*() routines.
1995-12-06 22:35:54 +00:00
pk
7299c7a6c0 Have v[un]mapbuf() allocate from plain kernel map instead of dvma space.
Remove dvma_malloc/dvma_free; drivers should allocate kernel memory and
use dvma_mapin/dvma_mapout to double map it in DVMA space.

Make the resource map `dvmamap' responsible for all DVMA allocation.
The VM map `physmap' only serves the role of placeholder in the VM system.
1995-12-06 22:33:49 +00:00
thorpej
87206673fb Keymap for the Swedish HIL keyboard, from Tomas Tengling <ltt@cd.chalmers.se>. 1995-12-06 22:13:23 +00:00
pk
785c98a0cc Oops. 1995-12-06 00:38:11 +00:00
pk
210b4d80ec Make pmap_prefer() also return a preferred virtual address when there's no
associated physical page.
1995-12-05 23:01:39 +00:00
pk
801712f01a Extend use of vm_object_prefer() to vm_allocate_with_pager().
Make vm_object_prefer() call MD aligner for "pageless" objects too,
so we can have more control over the virtual address to be used.

Implementation could be simpler if we by-pass the object to mapped, but
we'd loose the ability to adapt alignment to objects that were previously
mmap'ed with MAP_FIXED on.
1995-12-05 22:54:36 +00:00
thorpej
9c784e07c1 Fix the integer overflow problem in pmap_init() when the user PT map is
allocated, as noticed by Chuck Cranor.  In addition to re-arranging
the assignment as suggested by Niklas Hallqvist, check to see if maxproc
is higher than the number of available user PTs.  If it is, lower maxproc
to that value, the rationale being that it's much more desirable to have
fork() return EAGAIN than to have your system wedge.

XXX note that root can still raise maxproc with sysctl(2) later.  It's
probably worth having further discussion about this issue, but until
everyone has time to think about it, this seems like an acceptable solution
for the time being.
1995-12-05 20:01:54 +00:00
jtc
c94210debc sync with termcap 9.11.5 1995-12-05 04:03:29 +00:00
jtc
0076a482bb fix typo 1995-12-05 03:33:39 +00:00
christos
e159767fed Repeating my mistakes twice... I used sc-> in the pci probe routine
again, and it turned NetBSD in ostype[] to N^CtBSD... Thanks Charles (again)
Also call epstop() in the attach routine to make sure that the pci card
gets reset properly.
1995-12-05 03:30:15 +00:00
jtc
955f6c4af4 Changed to unconditionally include <sys/types.h> as required by X/Open XPG4.2. 1995-12-05 03:09:19 +00:00
jtc
7439a63b22 Rename uuencode.format(5) to uuencode(5) as recommended by PR #1786 1995-12-05 03:02:31 +00:00
jtc
aa84d55d99 environmental -> environment 1995-12-05 02:55:55 +00:00
jtc
9a3ca97f12 ENVIRONMENTAL -> ENVIRONMENT 1995-12-05 02:41:35 +00:00
ragge
31f199d4e6 Added earlier forgotten MACHINE_ARCH, pointed out by Arne Henrik Juul.
Cleaned up a bit.
1995-12-04 22:32:53 +00:00
ragge
c6813ecb89 Didn't take care of errors when return parameter was long long.
Bug pointed out by Arne Henrik Juul.
1995-12-04 21:52:44 +00:00