Commit Graph

17774 Commits

Author SHA1 Message Date
briggs
f18f32d2e1 PR#2048. Prototype st_erase(). 1996-02-09 14:51:34 +00:00
mycroft
53fccab940 Fix vop_link, vop_symlink, and vop_remove semantics in several ways:
* Change the argument names to vop_link so they actually make sense.
* Implement vop_link and vop_symlink for all file systems, so they do proper
  cleanup.
* Require the file system to decide whether or not linking and unlinking of
  directories is allowed, and disable it for all current file systems.
1996-02-09 14:45:36 +00:00
fvdl
d6b5a89f90 Use a default, 'safe' address to map the loader to in case the an emulation-
specific probe function did not specify it. It picks the same address
as mmap() does for a non-fixed map at address 0. See also the comment
around a similar line of code in vm/vm_mmap.c.
1996-02-09 13:25:54 +00:00
mycroft
a5097509ef Increase SOMAXCONN. 1996-02-09 06:32:22 +00:00
christos
a8a54fa636 fix bug where
child% suspend
parent% bg
parent% fg
Fg would not work anymore, it would say Suspended (tty input).
1996-02-09 02:28:29 +00:00
mycroft
db070d4271 Enforce the hierarchy: imp > tty > net > bio, to cater to lame PC devices. 1996-02-09 02:26:00 +00:00
mycroft
753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
mycroft
bf6bf23e7b If parent is in ppwait, wake it up early to prevent deadlock. 1996-02-09 01:19:21 +00:00
mycroft
b4a40b06a9 Make ww_index and related variables explicitly unsigned. 1996-02-08 21:48:51 +00:00
mycroft
c5f36c1ce7 Compress struct ww somewhat. 1996-02-08 21:07:57 +00:00
mycroft
486a2f1ade Minor cleanup for 8-bit cleanliness. From der Mouse, PR 1322.
Eliminate the use of char variables for holding booleans.
1996-02-08 20:44:57 +00:00
gwr
7ce27395a6 Need vprintf() for things like panic(). 1996-02-08 20:19:36 +00:00
mycroft
3544b72f01 Update to match mount(2) prototype. 1996-02-08 18:33:58 +00:00
mycroft
1f30ef161a mount(2) takes a const char *. Pointed out by der Mouse. 1996-02-08 18:30:10 +00:00
mycroft
1a97a35609 Fix off-by-one error in checking field numbers. From der Mouse, PR 1356. 1996-02-08 18:24:16 +00:00
mycroft
fa9dad8bfa If pedantic, whine about long long length modifiers. Suggested by der Mouse. 1996-02-08 08:57:22 +00:00
mycroft
62b296d0eb Make this work on machines that do not support unaligned memory access.
From der Mouse, PR 1116.
1996-02-08 08:06:05 +00:00
mycroft
c16462643c Make sure that the user name cannot ever be interpreted as an option to
login(8).  Note: This does *not* fix any security holes.
1996-02-08 06:19:14 +00:00
mycroft
90f0c26840 Make sure that the user name cannot ever be interpreted as an option to
login(8).  Note: This does *not* fix any security holes.
1996-02-08 06:05:31 +00:00
chuck
718ac5d246 [import changes from sparc port]
- moved disk_busy() call from xdstrategy() to xdc_startbuf()
        [prevents disk_unbusy panic when disk is loaded (if no
        free IOPBs, xdstrategy() would queue the buffer for pickup
        by xdcintr() but xdcintr() would never call disk_busy().
        xdc_startbuf() is a better place since all bufs are routed
        through here]   problem detected by girish@dworkin.wustl.edu,
        diagnosed and corrected by me.
- move disk_unbusy() call in xdc_remove_iorq() before the call to
        XDC_FREE() [don't want to access a data structure that was just put
        on a free list]
1996-02-08 04:42:57 +00:00
chuck
2accbfeefb - moved disk_busy() call from xdstrategy() to xdc_startbuf()
[prevents disk_unbusy panic when disk is loaded (if no
	free IOPBs, xdstrategy() would queue the buffer for pickup
	by xdcintr() but xdcintr() would never call disk_busy().
	xdc_startbuf() is a better place since all bufs are routed
	through here]   problem detected by girish@dworkin.wustl.edu,
	diagnosed and corrected by me.
- move disk_unbusy() call in xdc_remove_iorq() before the call to
	XDC_FREE() [don't want to access a data structure that was just put
	on a free list]
1996-02-08 04:40:33 +00:00
mycroft
7920800310 Invoke GCC as /usr/bin/cc. 1996-02-08 03:51:02 +00:00
mycroft
51cb4d7716 Remove -lstdc++ until it exists. 1996-02-08 03:46:10 +00:00
mycroft
c4bba69708 Adjust for new G++ name mangling convention.
From Niklas Hallquist, PR 1557.
1996-02-08 03:43:31 +00:00
mycroft
47246947c7 Adjust the low and high watermarks. Based on a suggestion from Lennart
Augustsson.
1996-02-08 03:05:34 +00:00
mycroft
7366dec9ec No need for LOCKPARENT in sys_lstat(), and eliminate dead variables. 1996-02-08 02:54:20 +00:00
jonathan
b5c68cb4cd Add serial-console support that works with `new-style' (config.new) autconf
code.  Substantially the same code tested on a 5k/240. Should work on a
5k/1xx.  Not tested on a  MAXINE, where the single unit may break the
PROM-channel-number to driver-channel-number mapping.
1996-02-08 02:26:34 +00:00
thorpej
fb02474c1f In ParseDoInclude(), make a temporary copy of the current file name
while searching for ""-type include files, since the current file name
might not be a writeable string.
1996-02-07 23:04:04 +00:00
mark
b92a2f676a patch from rob black to fix support for 1bpp Xservers. 1996-02-07 19:11:02 +00:00
jtc
b73662fea2 Revert to sane symlink semantics. This is something we should have done
long ago.  Fixes many PRs.
1996-02-07 17:01:25 +00:00
jtc
d9d402d0fb Revert to sane symlink semantics. This something we should have done
long ago.  Fixes many PRs.
1996-02-07 16:55:56 +00:00
scottr
3c8605f0f7 Add sbc driver. 1996-02-07 16:34:28 +00:00
pk
c633b5aae2 wrt. previous change: can't compute `ilen' that early; just do computation
separately when logging.
Notes: consider using mbuf pkthdr length field in PPP code.
       condider doing packet log after de-compression.
1996-02-07 12:43:41 +00:00
pk
b77eaf2c1c Init variable before use (PRs 1646 & 2042). 1996-02-07 10:25:58 +00:00
christos
2b16de0596 Fix tablet.h, forgot to commit this when I fixed tty_tb.c 1996-02-07 04:03:13 +00:00
thorpej
fa30609066 Protect clearing the Intersil chip's interrupt with splhigh(). If this
gets interrupted (by the higher priority zs hardware, for example),
the clock can come to a dead stop!
1996-02-06 22:59:03 +00:00
jtc
5224609738 Removed "extern int errno"; Added #include <errno.h> if not already present. 1996-02-06 22:47:06 +00:00
christos
b07937f401 Make it really work like strncasecmp, instead of 0/1 return codes. 1996-02-06 21:35:31 +00:00
christos
70552d3392 Add strncasecmp.c; extracted from ADOSFS adlookup.c. 1996-02-06 21:22:00 +00:00
scottr
c88084b900 Grammar police, noted by Peter Seebach <seebs@solon.com>; closes PR #1704. 1996-02-06 20:34:28 +00:00
jtc
b4c556ca62 Added explicit dependencies on yacc generated files. From Luke Mewburn
<lukem@supp.cpr.itg.telecom.com.au>.  Fixes PR #2032.
1996-02-06 18:30:58 +00:00
thorpej
b686e830b8 Fix typo, from Thorsten Frueauf <frueauf@ira.uka.de>. 1996-02-06 18:15:19 +00:00
pk
d0abefaa36 beq -> be; some assemblers don't know about this alias. 1996-02-06 12:11:15 +00:00
jtc
e114a31b12 Note that fsdb arrived with NetBSD 1.1 1996-02-06 02:25:04 +00:00
jonathan
4ab4b73b40 Support kernels configured without an ASC (e.g, 3100-only configs) or
without an SII (e.g., TURBOChannel-only configs).  Only the same old,
static, set of old-config devices and old pmax rz/tz drivers is
supported.
1996-02-06 02:13:18 +00:00
pk
52c068d6e6 Be sure to reset the chip when relection fails to prevent corrupting data. 1996-02-06 02:03:46 +00:00
jonathan
f239350d79 Fix braino in (partial) 5100 support: the 5100 is a DS_MIPSMATE, not a
DS_MIPSFAIR.
1996-02-06 01:59:46 +00:00
jonathan
bf52fa8269 The prototyping `fixes' broke vmapbuf() and vunmapbuf(), due to a "sz"
parameter parameters shadowing locals.  Replace vmapbuf() and vunmapbuf()
with the Alpha-port versions, which are cleaner (use round_page(),
trunc_page(), etc.)
1996-02-06 00:31:51 +00:00
jonathan
cb7e6f2e0f Change last argument of ktrsysret() call: pass rval[0], not rval, as
ktrsysret() expects.   Tracing of  rval[1] remains an open problem.
1996-02-06 00:13:04 +00:00
mrg
aa6f27003a support $TAPE. 1996-02-06 00:00:22 +00:00