Commit Graph

10519 Commits

Author SHA1 Message Date
cgd
aa151f86b3 change some strategic casts to (*long) from (*int). 1994-10-29 07:35:04 +00:00
cgd
58604c58ca fix a couple of obvious, painful endianness bugs introduced in last commit. 1994-10-29 06:38:11 +00:00
christos
f46f498d53 Changed code to KNF, removed global variable per cgd's request. 1994-10-29 00:43:14 +00:00
mycroft
9769a6a6f7 Various:
* Forget all cached info when opening a new disc.
* If the disc is removed, flush the buffer queue rather than stalling it.
* Set the default label after getting the disc size, and fill in the info
for RAW_PART also.
* Change another use of the unit number to a softc pointer.
* Use a dkdevice to hold the label and open partition masks.
* Force the partition offset to 0 for RAW_PART, regardless of the label.
* Nuke MCDPHYS() and MCDREADRAW; they had a silly bug that caused the code
to not work, and they aren't useful anyway.
Some other minor cleanup.
1994-10-28 23:39:59 +00:00
cgd
63da4ca156 kill space 1994-10-28 23:18:04 +00:00
cgd
64d07daf4f kill space. 1994-10-28 23:17:22 +00:00
cgd
cf92049b53 minor cleanup; get output format right. 1994-10-28 23:14:46 +00:00
cgd
17e2c106af oopps! how did an Id sneak in... 1994-10-28 23:06:09 +00:00
deraadt
ce0ad41a78 man page from Jason Thorpe 1994-10-28 23:03:02 +00:00
mycroft
429c7771d3 Correct padding in 3.3 boot sector structure, per Mike Hartman. 1994-10-28 22:40:46 +00:00
mycroft
ed0f09279e Reran makesyscalls.sh, to update SYS_* constants and fix truncated line. 1994-10-28 20:46:17 +00:00
mycroft
4c7eedf0b8 This is not my day. 1994-10-28 20:20:18 +00:00
mycroft
c0fd0f67f1 Fix typo. 1994-10-28 20:16:10 +00:00
mycroft
0badb64371 For now, limit the maxfilesize to 2^31*bsize-1 in core. This is temporary. 1994-10-28 20:15:09 +00:00
mycroft
f62b376067 Fix a couple of types in the compatibility code. 1994-10-28 19:59:21 +00:00
briggs
c184327c57 Make this work. Kludge from grantham. 1994-10-28 19:55:37 +00:00
mycroft
f5720d1edd Don't allow truncating past maxfilesize. 1994-10-28 19:31:07 +00:00
mycroft
0aeeefdc23 Fix typo in previous. 1994-10-28 17:59:47 +00:00
mycroft
6f553ba1a3 Properly document what iruserok(3) does. 1994-10-28 17:56:40 +00:00
cgd
b7d1866d65 fix bug 535, reported by Brian Moore. 1994-10-28 17:30:22 +00:00
mycroft
46ba25f017 Add vnode_if.[ch] to the clean target. 1994-10-28 17:05:29 +00:00
mycroft
54477c5285 Use the S_IS*() macros, and make this compile again after Chris's changes to ufs. 1994-10-28 16:55:05 +00:00
mycroft
bedf1adf67 Get the byte order right when creating .' and ..' entries. 1994-10-28 16:54:05 +00:00
mycroft
195d1d6f4e On a recursive call to fsck_readdir() through getpathname(), don't attempt to
fix a problem that's already being fixed.
1994-10-28 16:53:13 +00:00
deraadt
58f5cef745 repair a type 1994-10-28 16:50:59 +00:00
deraadt
17595b3407 man page from Jason Thorpe 1994-10-28 16:46:57 +00:00
cgd
022ee8f7fe new RCS ID format. 1994-10-27 04:14:23 +00:00
andrew
5a13863a4b Default to decent performance. 1994-10-27 02:04:18 +00:00
andrew
fc67924047 Merge changes from Wolfgang Stanglmeier's 941012 release. 1994-10-27 02:02:00 +00:00
cgd
a63beafc2b new RCS ID format. 1994-10-26 21:08:38 +00:00
phil
d0459024e5 correct some information about etc.tar.gz 1994-10-26 20:44:43 +00:00
mycroft
18ff56020d Avoid extra stat()s if a link count of 1 is returned for directories but the
d_type field is filled in.
1994-10-26 20:25:50 +00:00
mycroft
15cea8b764 Don't close the hints file while it's mapped, but unmap and close it after
loading.
1994-10-26 20:21:42 +00:00
mycroft
e23e2b1219 Remove two unused functions. 1994-10-26 20:03:31 +00:00
mycroft
2db41a19e7 Use trap gate to enter kernel. 1994-10-26 19:49:42 +00:00
mycroft
c1a45e7763 Clean this up a bit, and use the trap gate to enter the kernel. 1994-10-26 19:41:13 +00:00
gwr
87ce99227c Move sun3_round_up_seg() here from param.h as a temporary measure.
Eventually, it should be eliminated from these two files as well.
1994-10-26 19:04:36 +00:00
gwr
6bc6879e46 Remove some unnecessary junk. 1994-10-26 18:56:02 +00:00
mycroft
7269ce27cc We don't need to clear the nested trap bit. 1994-10-26 18:45:40 +00:00
mycroft
e75cb9b517 Oops; need spltty() around call to print(). 1994-10-26 18:13:24 +00:00
mycroft
556a119342 Implement *cnpollc(). 1994-10-26 18:06:30 +00:00
briggs
a43a6e9bdf Use u_int32_t and friends. Comment a tiny bit... 1994-10-26 18:05:48 +00:00
mycroft
6371cf2364 Add pccnpollc() and comcnpollc(). 1994-10-26 18:00:13 +00:00
mycroft
f77d6c1435 Remove bogus definition of cnpollc(). 1994-10-26 17:57:50 +00:00
mycroft
511d2732a3 Implement cnpollc(). 1994-10-26 17:56:53 +00:00
mycroft
fa0bf2b51a Add a comment. 1994-10-26 17:52:22 +00:00
mycroft
e65f99d726 Use pcb_onfault only in the specific cases of protection, alignment, and
page faults.  For all other kernel-mode faults and traps, ignore it.  For
user-mode faults and traps, always ignore it.
Some other minor cleanup.
1994-10-26 17:38:44 +00:00
mycroft
4e9c2720e2 Clean up deleted files. 1994-10-26 11:58:32 +00:00
christos
afffe1aaf8 Fixed Charles suggestions:
1. always do the stackgap_init()/CHECKALT first in syscalls that need it.
2. svr4_emul_find() uses malloc for the buf, does not use copyoutstr, but
   copyout().

Removed makesyscalls.sh; it was really old and we don't need a separate copy.
1994-10-26 11:58:24 +00:00
cgd
20af809ca2 new RCS ID format. 1994-10-26 09:07:55 +00:00